CloneSet484


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.993statement_list[10]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113138
src/NHibernate.Test/QueryTest/MultiCriteriaFixture.cs
21371
src/NHibernate.Test/QueryTest/MultipleQueriesFixture.cs
Clone Instance
1
Line Count
13
Source Line
138
Source File
src/NHibernate.Test/QueryTest/MultiCriteriaFixture.cs

                        //set the query in the cache
                        DoMutiQueryAndAssert();

                        Hashtable cacheHashtable = GetHashTableUsedAsQueryCache();
                        IList cachedListEntry = (IList)new ArrayList(cacheHashtable.Values)[0];
                        IList cachedQuery = (IList)cachedListEntry[1];

                        IList firstQueryResults = (IList)cachedQuery[0];
                        firstQueryResults.Clear();
                        firstQueryResults.Add(3);
                        firstQueryResults.Add(4);

                        IList secondQueryResults = (IList)cachedQuery[1];
                        secondQueryResults[0] = 2;


Clone Instance
2
Line Count
13
Source Line
71
Source File
src/NHibernate.Test/QueryTest/MultipleQueriesFixture.cs

                        //set the query in the cache
                        DoMutiQueryAndAssert();

                        Hashtable cacheHashtable = GetHashTableUsedAsQueryCache();
                        IList cachedListEntry = (IList)new ArrayList(cacheHashtable.Values)[0];
                        IList cachedQuery = (IList)cachedListEntry[1];

                        IList firstQueryResults = (IList)cachedQuery[0];
                        firstQueryResults.Clear();
                        firstQueryResults.Add(3);
                        firstQueryResults.Add(4);

                        IList secondQueryResults = (IList)cachedQuery[1];
                        secondQueryResults[0] = 2L;


Clone AbstractionParameter Count: 1Parameter Bindings

//set the query in the cache
DoMutiQueryAndAssert();
Hashtable cacheHashtable = GetHashTableUsedAsQueryCache();
IList cachedListEntry = (IList)new ArrayList(cacheHashtable.Values)[0];
IList cachedQuery = (IList)cachedListEntry[1];
IList firstQueryResults = (IList)cachedQuery[0];
firstQueryResults.Clear();
firstQueryResults.Add(3);
firstQueryResults.Add(4);
IList secondQueryResults = (IList)cachedQuery[1];
secondQueryResults[0] = [[#variable532022e0]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#532022e0]]
2 
12[[#532022e0]]
2L