Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 3 | 0.970 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 645 | src/NHibernate/Persister/Entity/SingleTableEntityPersister.cs |
2 | 6 | 654 | src/NHibernate/Persister/Entity/SingleTableEntityPersister.cs |
| ||||
//figure out which columns are needed List<int> columnNumbers = new List<int> (); int[] columnTableNumbers = SubclassColumnTableNumberClosure; for (int i = 0; i < SubclassColumnClosure.Length; i++) { if (tableNumbers.Contains(columnTableNumbers[i])) columnNumbers.Add(i); } |
| ||||
//figure out which formulas are needed List<int> formulaNumbers = new List<int> (); int[] formulaTableNumbers = SubclassColumnTableNumberClosure; for (int i = 0; i < SubclassFormulaTemplateClosure.Length; i++) { if (tableNumbers.Contains(formulaTableNumbers[i])) formulaNumbers.Add(i); } |
| |||
//figure out which columns are needed //figure out which formulas are needed List<int> [[#variable49b651a0]]= new List<int> (); int[] [[#variable26e560e0]]= SubclassColumnTableNumberClosure; for (int i = 0; i < [[#variable26e560a0]].Length; i++) { if (tableNumbers.Contains( [[#variable26e560e0]][i])) [[#variable49b651a0]].Add(i); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#49b651a0]] | columnNumbers |
1 | 2 | [[#49b651a0]] | formulaNumbers |
2 | 1 | [[#26e560e0]] | columnTableNumbers |
2 | 2 | [[#26e560e0]] | formulaTableNumbers |
3 | 1 | [[#26e560a0]] | SubclassColumnClosure |
3 | 2 | [[#26e560a0]] | SubclassFormulaTemplateClosure |