Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.980 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 213 | src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs |
2 | 5 | 316 | src/NHibernate/Hql/Ast/ANTLR/HqlSqlWalker.cs |
| ||||
{ versionIncrementNode = ASTFactory.CreateNode(PARAM, "?"); IParameterSpecification paramSpec = new VersionTypeSeedParameterSpecification(versionType); ((ParameterNode)versionIncrementNode).HqlParameterSpecification = paramSpec; Parameters.Insert(0, paramSpec); } |
| ||||
{ versionValueNode = ASTFactory.CreateNode(PARAM, "?"); IParameterSpecification paramSpec = new VersionTypeSeedParameterSpecification(versionType); ((ParameterNode)versionValueNode).HqlParameterSpecification = paramSpec; _parameters.Insert(0, paramSpec); } |
| |||
{ [[#variable50f36a20]]= ASTFactory.CreateNode(PARAM, "?"); IParameterSpecification paramSpec = new VersionTypeSeedParameterSpecification(versionType); ((ParameterNode) [[#variable50f36a20]]).HqlParameterSpecification = paramSpec; [[#variable517c7320]].Insert(0, paramSpec); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50f36a20]] | versionIncrementNode |
1 | 2 | [[#50f36a20]] | versionValueNode |
2 | 1 | [[#517c7320]] | Parameters |
2 | 2 | [[#517c7320]] | _parameters |