Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.957 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 269 | src/NHibernate.Test/Join/JoinTest.cs |
2 | 4 | 278 | src/NHibernate.Test/Join/JoinTest.cs |
| ||||
cmd.CommandText = string.Format( "select count(stuff_id) from inversed_stuff where stuff_id = {0}", personId ); cmd.CommandType = CommandType.Text; |
| ||||
cmd2.CommandText = string.Format( "select StuffName from inversed_stuff where stuff_id = {0}", personId ); cmd2.CommandType = CommandType.Text; |
| |||
[[#variable54dd56c0]].CommandText = string.Format( [[#variable54dd55e0]], personId); [[#variable54dd56c0]].CommandType = CommandType.Text; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54dd56c0]] | cmd |
1 | 2 | [[#54dd56c0]] | cmd2 |
2 | 1 | [[#54dd55e0]] | "select count(stuff_id) from inversed_stuff where stuff_id = {0}" |
2 | 2 | [[#54dd55e0]] | "select StuffName from inversed_stuff where stuff_id = {0}" |