Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.986 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 56 | src/NHibernate.Tool.HbmXsd/ImproveEnumFieldsCommand.cs |
2 | 10 | 61 | src/NHibernate.Tool.HbmXsd/ImproveTypeNamesCommand.cs |
| ||||
foreach (CodeTypeMember member in type.Members) { CodeMemberField field = member as CodeMemberField; CodeConstructor constructor = member as CodeConstructor; if (field != null) UpdateFieldEnumValueReferences(field); else if (constructor != null) UpdateMethodEnumValueReferences(constructor); } |
| ||||
foreach (CodeTypeMember member in type.Members) { CodeMemberField field = member as CodeMemberField; CodeConstructor constructor = member as CodeConstructor; if (field != null) UpdateFieldTypeReferences(field); else if (constructor != null) UpdateMethodTypeReferences(constructor); } |
| |||
foreach (CodeTypeMember member in type.Members) { CodeMemberField field = member as CodeMemberField; CodeConstructor constructor = member as CodeConstructor; if (field != null) [[#variable578bb940]](field); else if (constructor != null) [[#variable578bb6e0]](constructor); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#578bb940]] | UpdateFieldTypeReferences |
1 | 2 | [[#578bb940]] | UpdateFieldEnumValueReferences |
2 | 1 | [[#578bb6e0]] | UpdateMethodTypeReferences |
2 | 2 | [[#578bb6e0]] | UpdateMethodEnumValueReferences |