Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.972 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 93 | src/NHibernate.Test/DialectTest/DialectFixture.cs |
2 | 10 | 105 | src/NHibernate.Test/DialectTest/DialectFixture.cs |
| ||||
/// <summary> /// Test that it does not matter if the name passed in has been quoted or not /// already. The UnQuote should take care of it and return the same result. /// </summary> [Test] public void UnQuoteAlreadyQuoted() { Assert.AreEqual( tableAlreadyQuoted[AfterUnquoteIndex], d.UnQuote(tableAlreadyQuoted[BeforeQuoteIndex])); Assert.AreEqual( tableAlreadyQuoted[AfterUnquoteIndex], d.UnQuote(tableAlreadyQuoted[AfterQuoteIndex])); } |
| ||||
[Test] public void UnQuoteNeedingQuote() { Assert.AreEqual( tableThatNeedsToBeQuoted[AfterUnquoteIndex], d.UnQuote(tableThatNeedsToBeQuoted[BeforeQuoteIndex])); Assert.AreEqual( tableThatNeedsToBeQuoted[AfterUnquoteIndex], d.UnQuote(tableThatNeedsToBeQuoted[AfterQuoteIndex])); } |
| |||
/// <summary> /// Test that it does not matter if the name passed in has been quoted or not /// already. The UnQuote should take care of it and return the same result. /// </summary> [Test] public void [[#variable70c19900]]() { Assert.AreEqual( [[#variable70e55a00]][AfterUnquoteIndex], d.UnQuote( [[#variable70e55a00]][BeforeQuoteIndex])); Assert.AreEqual( [[#variable70e55a00]][AfterUnquoteIndex], d.UnQuote( [[#variable70e55a00]][AfterQuoteIndex])); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70c19900]] | UnQuoteAlreadyQuoted |
1 | 2 | [[#70c19900]] | UnQuoteNeedingQuote |
2 | 1 | [[#70e55a00]] | tableAlreadyQuoted |
2 | 2 | [[#70e55a00]] | tableThatNeedsToBeQuoted |