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.993 | statement_list[10] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 138 | src/NHibernate.Test/QueryTest/MultiCriteriaFixture.cs |
2 | 13 | 71 | 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] = 2; |
| ||||
//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; |
| |||
//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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#532022e0]] | 2 |
1 | 2 | [[#532022e0]] | 2L |