Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 4 | 4 | 0.965 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 33 | src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs |
2 | 5 | 40 | src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs |
3 | 5 | 47 | src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs |
4 | 5 | 54 | src/NHibernate.Test/EntityModeTest/Xml/Accessors/XmlAccessorFixture.cs |
| ||||
private static Property GenerateAccountIdProperty() { var value = new SimpleValue { TypeName = "long" } ; return new Property { Name = "number", NodeName = "account/@num", Value = value } ; } |
| ||||
private static Property GenerateTextProperty() { var value = new SimpleValue { TypeName = "string" } ; return new Property { Name = "text", NodeName = ".", Value = value } ; } |
| ||||
private static Property GenerateNameProperty() { var value = new SimpleValue { TypeName = "string" } ; return new Property { Name = "name", NodeName = "name", Value = value } ; } |
| ||||
private static Property GenerateIdProperty() { var value = new SimpleValue { TypeName = "long" } ; return new Property { Name = "id", NodeName = "@id", Value = value } ; } |
| |||
private static Property [[#variable27826b80]]() { var value = new SimpleValue { TypeName = [[#variable6ffa87c0]] } ; return new Property { Name = [[#variable27826ac0]], NodeName = [[#variable6ffa8760]], Value = value } ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27826b80]] | GenerateAccountIdProperty |
1 | 2 | [[#27826b80]] | GenerateTextProperty |
1 | 3 | [[#27826b80]] | GenerateNameProperty |
1 | 4 | [[#27826b80]] | GenerateIdProperty |
2 | 1 | [[#6ffa87c0]] | "long" |
2 | 2 | [[#6ffa87c0]] | "string" |
2 | 3 | [[#6ffa87c0]] | "string" |
2 | 4 | [[#6ffa87c0]] | "long" |
3 | 1 | [[#27826ac0]] | "number" |
3 | 2 | [[#27826ac0]] | "text" |
3 | 3 | [[#27826ac0]] | "name" |
3 | 4 | [[#27826ac0]] | "id" |
4 | 1 | [[#6ffa8760]] | "account/@num" |
4 | 2 | [[#6ffa8760]] | "." |
4 | 3 | [[#6ffa8760]] | "name" |
4 | 4 | [[#6ffa8760]] | "@id" |