Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 4 | 3 | 0.968 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 121 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
2 | 2 | 137 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
3 | 2 | 153 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
4 | 3 | 231 | src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs |
| ||||
SqlString str = new SqlString(new object[] { "select ", Parameter.Placeholder, " from table where x = ", Parameter.Placeholder } ); |
| ||||
SqlString str = new SqlString(new object[] { "select ", Parameter.Placeholder, " from table where x = ", Parameter.Placeholder } ); |
| ||||
SqlString str = new SqlString(new object[] { "select ", Parameter.Placeholder, " from table where x = ", Parameter.Placeholder } ); |
| ||||
SqlString sql = new SqlString( new object[] { "select x from y where z = ", Parameter.Placeholder, " order by ", Parameter.Placeholder } ); |
| |||
SqlString [[#variable2722c980]]= new SqlString(new object[] { [[#variable5f4ea180]], Parameter.Placeholder, [[#variable5f4ea160]], Parameter.Placeholder } ); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2722c980]] | str |
1 | 2 | [[#2722c980]] | sql |
1 | 3 | [[#2722c980]] | str |
1 | 4 | [[#2722c980]] | str |
2 | 1 | [[#5f4ea180]] | "select " |
2 | 2 | [[#5f4ea180]] | "select x from y where z = " |
2 | 3 | [[#5f4ea180]] | "select " |
2 | 4 | [[#5f4ea180]] | "select " |
3 | 1 | [[#5f4ea160]] | " from table where x = " |
3 | 2 | [[#5f4ea160]] | " order by " |
3 | 3 | [[#5f4ea160]] | " from table where x = " |
3 | 4 | [[#5f4ea160]] | " from table where x = " |