Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.969 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 156 | src/NHibernate/Action/CollectionAction.cs |
2 | 6 | 120 | src/NHibernate/Action/EntityAction.cs |
| ||||
if (roleComparison != 0) { return roleComparison; } //then by fk return persister.KeyType.Compare(key, other.key, session.EntityMode); |
| ||||
if (roleComparison != 0) { return roleComparison; } //then by id return persister.IdentifierType.Compare(id, other.id, session.EntityMode); |
| |||
if (roleComparison != 0) { return roleComparison; } //then by id //then by fk return persister. [[#variable5eb5e260]].Compare( [[#variable51e64a20]], other. [[#variable51e64a20]], session.EntityMode); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5eb5e260]] | IdentifierType |
1 | 2 | [[#5eb5e260]] | KeyType |
2 | 1 | [[#51e64a20]] | id |
2 | 2 | [[#51e64a20]] | key |