Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
18 | 2 | 6 | 0.973 | statement_list[16] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 18 | 33 | src/NHibernate.Test/JoinedSubclass/JoinedSubclassFixture.cs |
2 | 18 | 27 | src/NHibernate.Test/Unionsubclass2/UnionSubclassFixture.cs |
| ||||
Employee mark = new Employee(); mark.Name = "Mark"; mark.Title = "internal sales"; mark.Sex = 'M'; mark.Address.Street = "buckhead"; mark.Address.Zip = "30305"; mark.Address.Country = "USA"; Customer joe = new Customer(); joe.Name = "Joe"; joe.Address.Street = "San Francisco"; joe.Address.Zip = "54353"; joe.Address.Country = "USA"; joe.Comments = "very demanding"; joe.Sex = 'M'; joe.Salesperson = mark; Person mom = new Person(); |
| ||||
Employee mark = new Employee(); mark.Name = "Mark"; mark.Title = "internal sales"; mark.Sex = 'M'; mark.Address.address = "buckhead"; mark.Address.zip = "30305"; mark.Address.country = "USA"; Customer joe = new Customer(); joe.Name = "Joe"; joe.Address.address = "San Francisco"; joe.Address.zip = "XXXXX"; joe.Address.country = "USA"; joe.Comments = "Very demanding"; joe.Sex = 'M'; joe.Salesperson = mark; Person yomomma = new Person(); |
| |||
Employee mark = new Employee(); mark.Name = "Mark"; mark.Title = "internal sales"; mark.Sex = 'M'; mark.Address. [[#variable5541c940]]= "buckhead"; mark.Address. [[#variable5541c860]]= "30305"; mark.Address. [[#variable6e09bde0]]= "USA"; Customer joe = new Customer(); joe.Name = "Joe"; joe.Address. [[#variable5541c940]]= "San Francisco"; joe.Address. [[#variable5541c860]]= [[#variable6e09bdc0]]; joe.Address. [[#variable6e09bde0]]= "USA"; joe.Comments = [[#variable5541c640]]; joe.Sex = 'M'; joe.Salesperson = mark; Person [[#variable5541c340]]= new Person(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5541c940]] | address |
1 | 2 | [[#5541c940]] | Street |
2 | 1 | [[#5541c860]] | zip |
2 | 2 | [[#5541c860]] | Zip |
3 | 1 | [[#6e09bde0]] | country |
3 | 2 | [[#6e09bde0]] | Country |
4 | 1 | [[#6e09bdc0]] | "XXXXX" |
4 | 2 | [[#6e09bdc0]] | "54353" |
5 | 1 | [[#5541c640]] | "Very demanding" |
5 | 2 | [[#5541c640]] | "very demanding" |
6 | 1 | [[#5541c340]] | yomomma |
6 | 2 | [[#5541c340]] | mom |