Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 2 | 2 | 0.963 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 656 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/java/builder/JavaEcoreBuilder.java |
2 | 2 | 491 | E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/importer/ModelImporterApplication.java |
| |||||
// Load the model and if it's not one already considered, e.g., a local version in the workspace, process its GenPackages. // Resource resource = resourceSet.getResource(uri, true); GenModel genModel = (GenModel) resource.getContents().get(0); |
| |||||
Resource resource = resourceSet.getResource(genModelURI, true); GenModel referencedGenModel = (GenModel) resource.getContents().get(0); |
| |||
// Load the model and if it's not one already considered, e.g., a local version in the workspace, process its GenPackages. // Resource resource = resourceSet.getResource( [[#variable17528cc0]], true); GenModel [[#variable17529bc0]]= (GenModel) resource.getContents().get(0); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#17528cc0]] | uri |
1 | 2 | [[#17528cc0]] | genModelURI |
2 | 1 | [[#17529bc0]] | genModel |
2 | 2 | [[#17529bc0]] | referencedGenModel |