Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 2 | 3 | 0.987 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 9 | src/NHibernate.Test/EngineTest/NativeSQLQueryNonScalarReturnTest.cs |
2 | 14 | 25 | src/NHibernate.Test/EngineTest/NativeSQLQueryNonScalarReturnTest.cs |
| ||||
[Test] public void NativeSQLQueryCollectionReturnEqualsByAlias() { var sr1 = new NativeSQLQueryCollectionReturn("myAlias", "owner", "ownerProp", null, LockMode.None); var sr2 = new NativeSQLQueryCollectionReturn("myAlias", "owner", "ownerProp", null, LockMode.None); Assert.AreEqual(sr1, sr2); } [Test] public void NativeSQLQueryCollectionReturnHashCodeByAlias() { var sr1 = new NativeSQLQueryCollectionReturn("myAlias", "owner", "ownerProp", null, LockMode.None); var sr2 = new NativeSQLQueryCollectionReturn("myAlias", "owner", "ownerProp", null, LockMode.None); Assert.AreEqual(sr1.GetHashCode(), sr2.GetHashCode()); } |
| ||||
[Test] public void NativeSQLQueryJoinReturnEqualsByAlias() { var sr1 = new NativeSQLQueryJoinReturn("myAlias", "owner", "ownerProp", null, LockMode.None); var sr2 = new NativeSQLQueryJoinReturn("myAlias", "owner", "ownerProp", null, LockMode.None); Assert.AreEqual(sr1, sr2); } [Test] public void NativeSQLQueryJoinReturnHashCodeByAlias() { var sr1 = new NativeSQLQueryJoinReturn("myAlias", "owner", "ownerProp", null, LockMode.None); var sr2 = new NativeSQLQueryJoinReturn("myAlias", "owner", "ownerProp", null, LockMode.None); Assert.AreEqual(sr1.GetHashCode(), sr2.GetHashCode()); } |
| |||
[Test] public void [[#variable6fda34a0]]() { var sr1 = new [[#variable6875b440]]("myAlias", "owner", "ownerProp", null, LockMode.None); var sr2 = new [[#variable6875b440]]("myAlias", "owner", "ownerProp", null, LockMode.None); Assert.AreEqual(sr1, sr2); } [Test] public void [[#variable6c52e6a0]]() { var sr1 = new [[#variable6875b440]]("myAlias", "owner", "ownerProp", null, LockMode.None); var sr2 = new [[#variable6875b440]]("myAlias", "owner", "ownerProp", null, LockMode.None); Assert.AreEqual(sr1.GetHashCode(), sr2.GetHashCode()); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6fda34a0]] | NativeSQLQueryJoinReturnEqualsByAlias |
1 | 2 | [[#6fda34a0]] | NativeSQLQueryCollectionReturnEqualsByAlias |
2 | 1 | [[#6875b440]] | NativeSQLQueryJoinReturn |
2 | 2 | [[#6875b440]] | NativeSQLQueryCollectionReturn |
3 | 1 | [[#6c52e6a0]] | NativeSQLQueryJoinReturnHashCodeByAlias |
3 | 2 | [[#6c52e6a0]] | NativeSQLQueryCollectionReturnHashCodeByAlias |