CloneSet259


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16230.971statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116199
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckin.java
211159
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamList.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
199
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckin.java

if (null != getRootLocalFolder()) {
  starteamFolder.setAlternatePathFragment(targetFolder.getAbsolutePath());
}
Folder[] foldersList = starteamFolder.getSubFolders();
Item[] stFiles = starteamFolder.getItems(getTypeNames().FILE);
// note, it's important to scan the items BEFORE we make the
// UnmatchedFileMap because that creates a bunch of NEW
// folders and files (unattached to repository) and we
// don't want to include those in our traversal.
UnmatchedFileMap ufm = new CheckinMap().init(targetFolder.getAbsoluteFile(), starteamFolder);


First
Previous
Clone Instance
2
Line Count
11
Source Line
159
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamList.java

if (null != getRootLocalFolder()) {
  starteamFolder.setAlternatePathFragment(targetFolder.getAbsolutePath());
}
Folder[] subFolders = starteamFolder.getSubFolders();
Item[] files = starteamFolder.getItems(getTypeNames().FILE);
UnmatchedFileMap ufm = new UnmatchedListingMap().init(targetFolder.getAbsoluteFile(), starteamFolder);


Clone AbstractionParameter Count: 3Parameter Bindings

if (null != getRootLocalFolder()) {
  starteamFolder.setAlternatePathFragment(targetFolder.getAbsolutePath());
}
Folder[]  [[#variable10121920]]= starteamFolder.getSubFolders();
Item[]  [[#variable1011e8e0]]= starteamFolder.getItems(getTypeNames().FILE);
// note, it's important to scan the items BEFORE we make the
// UnmatchedFileMap because that creates a bunch of NEW
// folders and files (unattached to repository) and we
// don't want to include those in our traversal.
UnmatchedFileMap ufm = new [[#variable1011e7c0]]().init(targetFolder.getAbsoluteFile(), starteamFolder);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#10121920]]
foldersList 
12[[#10121920]]
subFolders 
21[[#1011e8e0]]
stFiles 
22[[#1011e8e0]]
files 
31[[#1011e7c0]]
CheckinMap 
32[[#1011e7c0]]
UnmatchedListingMap