| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 6 | 0.950 | primary_no_array_creation_expression |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 36 | src/NHibernate.Test/SqlCommandTest/SqlSelectBuilderFixture.cs |
| 2 | 8 | 41 | src/NHibernate.Test/SqlCommandTest/SqlSimpleSelectBuilderFixture.cs |
| ||||
new StringBuilder().Append("SELECT ").
Append ("column1, column2 ").
Append ("FROM select_test select_test_alias ").
Append ("LEFT OUTER JOIN before ON select_test_alias.column1 = before.column1 ").
Append ("WHERE ").
Append ("after.some_field = after.another_field").
Append (" AND ").
Append
|
| ||||
new StringBuilder().Append("SELECT ").
Append ("column_no_alias, ").
Append ("aliased_column AS aliased_column_alias, ").
Append ("column1_no_alias, ").
Append ("column2_no_alias, ").
Append ("column1_with_alias AS c1_alias, ").
Append ("column2_with_alias AS c2_alias ").
Append
|
| |||
new StringBuilder().Append("SELECT ").Append( [[#variable29c54ce0]]).Append( [[#variable29c54c60]]).Append( [[#variable29c54be0]]).Append( [[#variable29c54b80]]).Append( [[#variable29c54ae0]]).Append( [[#variable29c54a60]]).Append
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#29c54ce0]] | "column_no_alias, " |
| 1 | 2 | [[#29c54ce0]] | "column1, column2 " |
| 2 | 1 | [[#29c54c60]] | "aliased_column AS aliased_column_alias, " |
| 2 | 2 | [[#29c54c60]] | "FROM select_test select_test_alias " |
| 3 | 1 | [[#29c54be0]] | "column1_no_alias, " |
| 3 | 2 | [[#29c54be0]] | "LEFT OUTER JOIN before ON select_test_alias.column1 = before.column1 " |
| 4 | 1 | [[#29c54b80]] | "column2_no_alias, " |
| 4 | 2 | [[#29c54b80]] | "WHERE " |
| 5 | 1 | [[#29c54ae0]] | "column1_with_alias AS c1_alias, " |
| 5 | 2 | [[#29c54ae0]] | "after.some_field = after.another_field" |
| 6 | 1 | [[#29c54a60]] | "column2_with_alias AS c2_alias " |
| 6 | 2 | [[#29c54a60]] | " AND " |