Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 7 | 4 | 0.964 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 98 | src/NHibernate.Test/Classic/LifecycleFixture.cs |
2 | 2 | 1642 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
3 | 2 | 1653 | src/NHibernate.Test/Criteria/CriteriaQueryTest.cs |
4 | 2 | 64 | src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs |
5 | 2 | 77 | src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs |
6 | 2 | 100 | src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs |
7 | 2 | 115 | src/NHibernate.Test/SecondLevelCacheTest/QueryCacheFixture.cs |
| ||||
Assert.That(sessions.Statistics.EntityInsertCount, Is.EqualTo(0)); Assert.That(sessions.Statistics.EntityUpdateCount, Is.EqualTo(0)); |
| ||||
Assert.That(sessions.Statistics.QueryCacheMissCount, Is.EqualTo(0)); Assert.That(sessions.Statistics.QueryCacheHitCount, Is.EqualTo(0)); |
| ||||
Assert.That(sessions.Statistics.QueryCacheMissCount, Is.EqualTo(1)); Assert.That(sessions.Statistics.QueryCacheHitCount, Is.EqualTo(1)); |
| ||||
Assert.That(sessions.Statistics.QueryExecutionCount, Is.EqualTo(1)); Assert.That(sessions.Statistics.QueryCachePutCount, Is.EqualTo(1)); |
| ||||
Assert.That(sessions.Statistics.QueryExecutionCount, Is.EqualTo(0)); Assert.That(sessions.Statistics.QueryCacheHitCount, Is.EqualTo(1)); |
| ||||
Assert.That(sessions.Statistics.QueryExecutionCount, Is.EqualTo(1)); Assert.That(sessions.Statistics.QueryCachePutCount, Is.EqualTo(1)); |
| ||||
Assert.That(sessions.Statistics.QueryExecutionCount, Is.EqualTo(0)); Assert.That(sessions.Statistics.QueryCacheHitCount, Is.EqualTo(1)); |
| |||
Assert.That(sessions.Statistics. [[#variable6f4aa280]], Is.EqualTo( [[#variable6f4aa180]])); Assert.That(sessions.Statistics. [[#variable54b06920]], Is.EqualTo( [[#variable6f4aa160]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f4aa280]] | QueryExecutionCount |
1 | 2 | [[#6f4aa280]] | QueryExecutionCount |
1 | 3 | [[#6f4aa280]] | QueryCacheMissCount |
1 | 4 | [[#6f4aa280]] | QueryCacheMissCount |
1 | 5 | [[#6f4aa280]] | EntityInsertCount |
1 | 6 | [[#6f4aa280]] | QueryExecutionCount |
1 | 7 | [[#6f4aa280]] | QueryExecutionCount |
2 | 1 | [[#6f4aa180]] | 1 |
2 | 2 | [[#6f4aa180]] | 0 |
2 | 3 | [[#6f4aa180]] | 0 |
2 | 4 | [[#6f4aa180]] | 1 |
2 | 5 | [[#6f4aa180]] | 0 |
2 | 6 | [[#6f4aa180]] | 0 |
2 | 7 | [[#6f4aa180]] | 1 |
3 | 1 | [[#54b06920]] | QueryCachePutCount |
3 | 2 | [[#54b06920]] | QueryCacheHitCount |
3 | 3 | [[#54b06920]] | QueryCacheHitCount |
3 | 4 | [[#54b06920]] | QueryCacheHitCount |
3 | 5 | [[#54b06920]] | EntityUpdateCount |
3 | 6 | [[#54b06920]] | QueryCacheHitCount |
3 | 7 | [[#54b06920]] | QueryCachePutCount |
4 | 1 | [[#6f4aa160]] | 1 |
4 | 2 | [[#6f4aa160]] | 1 |
4 | 3 | [[#6f4aa160]] | 0 |
4 | 4 | [[#6f4aa160]] | 1 |
4 | 5 | [[#6f4aa160]] | 0 |
4 | 6 | [[#6f4aa160]] | 1 |
4 | 7 | [[#6f4aa160]] | 1 |