Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.976 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 121 | src/NHibernate/Hql/Ast/ANTLR/Tree/FromElement.cs |
2 | 13 | 324 | src/NHibernate/Hql/Ast/ANTLR/Tree/FromElement.cs |
| ||||
{ if (value == null) { if (_elementType.IndexCollectionSelectorParamSpec != null) { _embeddedParameters.Remove(_elementType.IndexCollectionSelectorParamSpec); _elementType.IndexCollectionSelectorParamSpec = null; } } else { _elementType.IndexCollectionSelectorParamSpec = value; AddEmbeddedParameter(value); } } |
| ||||
{ if (indexCollectionSelectorParamSpec == null) { if (_elementType.IndexCollectionSelectorParamSpec != null) { _embeddedParameters.Remove(_elementType.IndexCollectionSelectorParamSpec); _elementType.IndexCollectionSelectorParamSpec = null; } } else { _elementType.IndexCollectionSelectorParamSpec = indexCollectionSelectorParamSpec; AddEmbeddedParameter(indexCollectionSelectorParamSpec); } } |
| |||
{ if ( [[#variable287d5160]]== null) { if (_elementType.IndexCollectionSelectorParamSpec != null) { _embeddedParameters.Remove(_elementType.IndexCollectionSelectorParamSpec); _elementType.IndexCollectionSelectorParamSpec = null; } } else { _elementType.IndexCollectionSelectorParamSpec = [[#variable287d5160]]; AddEmbeddedParameter( [[#variable287d5160]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#287d5160]] | value |
1 | 2 | [[#287d5160]] | indexCollectionSelectorParamSpec |