CloneSet1379


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10240.962statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1938
src/NHibernate/Hql/Ast/ANTLR/Tree/BinaryLogicOperatorNode.cs
21026
src/NHibernate/Hql/Ast/ANTLR/Tree/InLogicOperatorNode.cs
Clone Instance
1
Line Count
9
Source Line
38
Source File
src/NHibernate/Hql/Ast/ANTLR/Tree/BinaryLogicOperatorNode.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");
                        }


Clone Instance
2
Line Count
10
Source Line
26
Source File
src/NHibernate/Hql/Ast/ANTLR/Tree/InLogicOperatorNode.cs

                        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");
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

IASTNode lhs = LeftHandOperand;
if (lhs == null)
{
   throw new SemanticException( [[#variable2d684920]]);
}
IASTNode [[#variable2d685320]]= [[#variable2d685140]];
if ( [[#variable2d685320]]== null)
{
   throw new SemanticException( [[#variable2d685100]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2d684920]]
"left-hand operand of in operator was null" 
12[[#2d684920]]
"left-hand operand of a binary operator was null" 
21[[#2d685320]]
inList 
22[[#2d685320]]
rhs 
31[[#2d685140]]
InList 
32[[#2d685140]]
RightHandOperand 
41[[#2d685100]]
"right-hand operand of in operator was null" 
42[[#2d685100]]
"right-hand operand of a binary operator was null"