Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 4 | 0.962 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 38 | src/NHibernate/Hql/Ast/ANTLR/Tree/BinaryLogicOperatorNode.cs |
2 | 10 | 26 | src/NHibernate/Hql/Ast/ANTLR/Tree/InLogicOperatorNode.cs |
| ||||
IASTNode lhs = LeftHandOperand; if ( lhs == null) { throw new SemanticException( "left-hand operand of a binary operator was null"); } IASTNode rhs = RightHandOperand; if ( rhs == null) { throw new SemanticException( "right-hand operand of a binary operator was null"); } |
| ||||
IASTNode lhs = LeftHandOperand; if (lhs == null) { throw new SemanticException("left-hand operand of in operator was null"); } IASTNode inList = InList; if (inList == null) { throw new SemanticException("right-hand operand of in operator was null"); } |
| |||
IASTNode lhs = LeftHandOperand; if (lhs == null) { throw new SemanticException( [[#variable2d684920]]); } IASTNode [[#variable2d685320]]= [[#variable2d685140]]; if ( [[#variable2d685320]]== null) { throw new SemanticException( [[#variable2d685100]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d684920]] | "left-hand operand of in operator was null" |
1 | 2 | [[#2d684920]] | "left-hand operand of a binary operator was null" |
2 | 1 | [[#2d685320]] | inList |
2 | 2 | [[#2d685320]] | rhs |
3 | 1 | [[#2d685140]] | InList |
3 | 2 | [[#2d685140]] | RightHandOperand |
4 | 1 | [[#2d685100]] | "right-hand operand of in operator was null" |
4 | 2 | [[#2d685100]] | "right-hand operand of a binary operator was null" |