Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.953 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 1471 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
2 | 5 | 280 | src/NHibernate/Persister/Entity/UnionSubclassEntityPersister.cs |
| ||||
if (Factory.Settings.IsCommentsEnabled) { builder.SetComment("get version " + EntityName); } return builder.AddWhereFragment(rootTableKeyColumnNames, IdentifierType, " = ").ToSqlString(); |
| ||||
if (Factory.Settings.IsCommentsEnabled) { select.SetComment("load " + EntityName); } return select.AddWhereFragment(IdentifierColumnNames, IdentifierType, "=").ToSqlString(); |
| |||
if (Factory.Settings.IsCommentsEnabled) { [[#variable270b8a20]].SetComment( [[#variable270b8c20]]+ EntityName); } return [[#variable270b8a20]].AddWhereFragment( [[#variable270b8c00]], IdentifierType, [[#variable270b8a60]]).ToSqlString(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#270b8a20]] | select |
1 | 2 | [[#270b8a20]] | builder |
2 | 1 | [[#270b8c20]] | "load " |
2 | 2 | [[#270b8c20]] | "get version " |
3 | 1 | [[#270b8c00]] | IdentifierColumnNames |
3 | 2 | [[#270b8c00]] | rootTableKeyColumnNames |
4 | 1 | [[#270b8a60]] | "=" |
4 | 2 | [[#270b8a60]] | " = " |