Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 3 | 0.975 | class_member_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 18 | src/NHibernate.Tool.HbmXsd/ImproveEnumFieldsCommand.cs |
2 | 15 | 15 | src/NHibernate.Tool.HbmXsd/ImproveTypeNamesCommand.cs |
| ||||
private readonly CodeNamespace code; public ImproveEnumFieldsCommand(CodeNamespace code) { if (code == null) throw new ArgumentNullException("code"); this.code = code; } /// <summary>Changes enum field names to use camel casing.</summary> public void Execute() { ChangeDeclaredEnumFields(); UpdateReferences(); } |
| ||||
private readonly CodeNamespace code; public ImproveTypeNamesCommand(CodeNamespace code) { if (code == null) throw new ArgumentNullException("code"); this.code = code; } /// <summary>Changes type names to use camel casing.</summary> public void Execute() { ChangeDeclaredTypeNames(); UpdateTypeReferences(); } |
| |||
private readonly CodeNamespace code; public [[#variable2a576b40]](CodeNamespace code) { if (code == null) throw new ArgumentNullException("code"); this.code = code; } /// <summary>Changes enum field names to use camel casing.</summary> /// <summary>Changes type names to use camel casing.</summary> public void Execute() { [[#variable2a576a40]](); [[#variable2a577d00]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2a576b40]] | ImproveEnumFieldsCommand |
1 | 2 | [[#2a576b40]] | ImproveTypeNamesCommand |
2 | 1 | [[#2a576a40]] | ChangeDeclaredEnumFields |
2 | 2 | [[#2a576a40]] | ChangeDeclaredTypeNames |
3 | 1 | [[#2a577d00]] | UpdateReferences |
3 | 2 | [[#2a577d00]] | UpdateTypeReferences |