Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.994 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 96 | src/NHibernate/Hql/Ast/ANTLR/Tree/AbstractNullnessCheckNode.cs |
2 | 15 | 238 | src/NHibernate/Hql/Ast/ANTLR/Tree/BinaryLogicOperatorNode.cs |
| ||||
private static IType ExtractDataType(IASTNode operand) { IType type = null; if ( operand is SqlNode) { type = ( ( SqlNode) operand). DataType; } if ( type == null && operand is IExpectedTypeAwareNode) { type = ( ( IExpectedTypeAwareNode) operand). ExpectedType; } return type; } |
| ||||
protected static IType ExtractDataType(IASTNode operand) { IType type = null; if ( operand is SqlNode) { type = ( ( SqlNode) operand). DataType; } if ( type == null && operand is IExpectedTypeAwareNode) { type = ( ( IExpectedTypeAwareNode) operand). ExpectedType; } return type; } |
| |||
[[#variable53cebf60]]static IType ExtractDataType(IASTNode operand) { IType type = null; if (operand is SqlNode) { type = ((SqlNode)operand).DataType; } if (type == null && operand is IExpectedTypeAwareNode) { type = ((IExpectedTypeAwareNode)operand).ExpectedType; } return type; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53cebf60]] | private |
1 | 2 | [[#53cebf60]] | protected |