CloneSet1080


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.968class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1645
src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs
2685
src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs
Clone Instance
1
Line Count
6
Source Line
45
Source File
src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs

                [Test]
                public void EndsWith()
                {
                        SqlString sql = new SqlString(new string[] { "select", " from table"
                                                                   } );
                        Assert.IsTrue(sql.EndsWith("ble"));
                        Assert.IsFalse(sql.EndsWith("'"));
                }



Clone Instance
2
Line Count
6
Source Line
85
Source File
src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs

                [Test]
                public void StartsWith()
                {
                        SqlString sql = new SqlString(new string[] { "select", " from table"
                                                                   } );
                        Assert.IsTrue(sql.StartsWithCaseInsensitive("s"));
                        Assert.IsFalse(sql.StartsWithCaseInsensitive(","));
                }



Clone AbstractionParameter Count: 4Parameter Bindings

[Test]
public void [[#variable296ece40]]()
{
   SqlString sql = new SqlString(new string[]
                                 {
                                    "select", " from table"
                                 } );
   Assert.IsTrue(sql. [[#variable296ecdc0]]( [[#variable296ecd40]]));
   Assert.IsFalse(sql. [[#variable296ecdc0]]( [[#variable296eccc0]]));
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#296ece40]]
StartsWith 
12[[#296ece40]]
EndsWith 
21[[#296ecdc0]]
StartsWithCaseInsensitive 
22[[#296ecdc0]]
EndsWith 
31[[#296ecd40]]
"s" 
32[[#296ecd40]]
"ble" 
41[[#296eccc0]]
"," 
42[[#296eccc0]]
"'"