CloneSet1224


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3430.958non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14586
src/NHibernate/Hql/Classic/PathExpressionParser.cs
23497
src/NHibernate/Hql/Classic/QueryTranslator.cs
33506
src/NHibernate/Hql/Classic/QueryTranslator.cs
43530
src/NHibernate/Hql/Classic/WhereParser.cs
Clone Instance
1
Line Count
4
Source Line
586
Source File
src/NHibernate/Hql/Classic/PathExpressionParser.cs

                        if (collectionElementType == null)
                        {
                                throw new QueryException(
                                        string.Format("must specify 'elements' for collection valued property in from clause: {0}", path));
                        }


Clone Instance
2
Line Count
3
Source Line
497
Source File
src/NHibernate/Hql/Classic/QueryTranslator.cs

                                if (role == null)
                                {
                                        throw new QueryException(string.Format("alias not found: {0}", name));
                                }


Clone Instance
3
Line Count
3
Source Line
506
Source File
src/NHibernate/Hql/Classic/QueryTranslator.cs

                                if (persister == null)
                                {
                                        throw new QueryException(string.Format("Persistent class not found for entity named: {0}", type));
                                }


Clone Instance
4
Line Count
3
Source Line
530
Source File
src/NHibernate/Hql/Classic/WhereParser.cs

                                                if (type == null)
                                                {
                                                        throw new QueryException(string.Format("Could not determin the type of: {0}", token));
                                                }


Clone AbstractionParameter Count: 3Parameter Bindings

if ( [[#variable2c3ef5c0]]== null)
{
   throw new QueryException(string.Format( [[#variable2c3ef540]], [[#variable2c3ef4e0]]));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2c3ef5c0]]
type 
12[[#2c3ef5c0]]
role 
13[[#2c3ef5c0]]
persister 
14[[#2c3ef5c0]]
collectionElementType 
21[[#2c3ef540]]
"Could not determin the type of: {0}" 
22[[#2c3ef540]]
"alias not found: {0}" 
23[[#2c3ef540]]
"Persistent class not found for entity named: {0}" 
24[[#2c3ef540]]
"must specify 'elements' for collection valued property in from clause: {0}" 
31[[#2c3ef4e0]]
token 
32[[#2c3ef4e0]]
name 
33[[#2c3ef4e0]]
type 
34[[#2c3ef4e0]]
path