CloneSet498


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15220.971statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115334
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java
21582
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java
Next
Last
Clone Instance
1
Line Count
15
Source Line
334
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java

/**  A server name is required to continue */
if (server == null) {
  throw new BuildException("No Server Specified");
}
/**  A userid and password must appear together
 *   if they appear.  They are not required.
 */
if (userid == null && password != null) {
  throw new BuildException("No Userid Specified");
}
if (password == null && userid != null) {
  throw new BuildException("No Password Specified");
}
/**  Create the telnet client object */
AntRExecClient rexec = null;


First
Previous
Clone Instance
2
Line Count
15
Source Line
82
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java

/**  A server name is required to continue */
if (server == null) {
  throw new BuildException("No Server Specified");
}
/**  A userid and password must appear together
 *   if they appear.  They are not required.
 */
if (userid == null && password != null) {
  throw new BuildException("No Userid Specified");
}
if (password == null && userid != null) {
  throw new BuildException("No Password Specified");
}
/**  Create the telnet client object */
AntTelnetClient telnet = null;


Clone AbstractionParameter Count: 2Parameter Bindings

/**  A server name is required to continue */
if (server == null) {
  throw new BuildException("No Server Specified");
}
/**  A userid and password must appear together
         *   if they appear.  They are not required.
         */
/**  A userid and password must appear together
        *   if they appear.  They are not required.
        */
if (userid == null && password != null) {
  throw new BuildException("No Userid Specified");
}
if (password == null && userid != null) {
  throw new BuildException("No Password Specified");
}
 [[#variable1315fd60]]  [[#variable1315fbe0]]= null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1315fd60]]
/**  Create the telnet client object */
AntRExecClient 
12[[#1315fd60]]
/**  Create the telnet client object */
AntTelnetClient 
21[[#1315fbe0]]
rexec 
22[[#1315fbe0]]
telnet