Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 3 | 0.971 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 199 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/starteam/StarTeamCheckin.java |
2 | 11 | 159 | 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[] 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); |
| |||||
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); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#10121920]] | foldersList |
1 | 2 | [[#10121920]] | subFolders |
2 | 1 | [[#1011e8e0]] | stFiles |
2 | 2 | [[#1011e8e0]] | files |
3 | 1 | [[#1011e7c0]] | CheckinMap |
3 | 2 | [[#1011e7c0]] | UnmatchedListingMap |