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.956 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 858 | src/NHibernate.Test/HQL/Ast/BulkManipulation.cs |
2 | 1 | 878 | src/NHibernate.Test/HQL/Ast/BulkManipulation.cs |
3 | 1 | 900 | src/NHibernate.Test/HQL/Ast/BulkManipulation.cs |
4 | 1 | 921 | src/NHibernate.Test/HQL/Ast/BulkManipulation.cs |
| ||||
int count = s.CreateQuery("delete Joiner where joinedName = :joinedName").SetString("joinedName", "joined-name").ExecuteUpdate(); |
| ||||
int count = s.CreateQuery("delete Vehicle where Owner = :owner").SetString("owner", "Steve").ExecuteUpdate(); |
| ||||
int count = s.CreateQuery("delete Truck where Owner = :owner").SetString("owner", "Steve").ExecuteUpdate(); |
| ||||
int count = s.CreateQuery("delete Car where Owner = :owner").SetString("owner", "Kirsten").ExecuteUpdate(); |
| |||
int count = s.CreateQuery( [[#variable5115de60]]).SetString( [[#variable5115df40]], [[#variable5115dea0]]).ExecuteUpdate(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5115de60]] | "delete Joiner where joinedName = :joinedName" |
1 | 2 | [[#5115de60]] | "delete Vehicle where Owner = :owner" |
1 | 3 | [[#5115de60]] | "delete Truck where Owner = :owner" |
1 | 4 | [[#5115de60]] | "delete Car where Owner = :owner" |
2 | 1 | [[#5115df40]] | "joinedName" |
2 | 2 | [[#5115df40]] | "owner" |
2 | 3 | [[#5115df40]] | "owner" |
2 | 4 | [[#5115df40]] | "owner" |
3 | 1 | [[#5115dea0]] | "joined-name" |
3 | 2 | [[#5115dea0]] | "Steve" |
3 | 3 | [[#5115dea0]] | "Steve" |
3 | 4 | [[#5115dea0]] | "Kirsten" |