CloneSet676


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7430.972class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1714
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs
2723
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs
37105
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs
47114
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs
Clone Instance
1
Line Count
7
Source Line
14
Source File
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs

                [Test]
                public void GetClassnameFromFQType()
                {
                        const string typeName = "ns1.ns2.classname, as1.as2., pk, lang";
                        const string expected = "classname";

                        Assert.AreEqual(expected, StringHelper.GetClassname(typeName));
                }



Clone Instance
2
Line Count
7
Source Line
23
Source File
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs

                [Test]
                public void GetClassnameFromFQClass()
                {
                        const string typeName = "ns1.ns2.classname";
                        const string expected = "classname";

                        Assert.AreEqual(expected, StringHelper.GetClassname(typeName));
                }



Clone Instance
3
Line Count
7
Source Line
105
Source File
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs

                [Test]
                public void GetClassnameFromGenericType()
                {
                        const string typeName = "classname`1[innerns1.innerClass]";
                        const string expected = "classname`1[[innerns1.innerClass]]";

                        Assert.AreEqual(expected, StringHelper.GetClassname(typeName));
                }



Clone Instance
4
Line Count
7
Source Line
114
Source File
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs

                [Test]
                public void GetClassnameFromGenericFQClass()
                {
                        const string typeName = "ns1.ns2.classname`1[innerns1.innerClass]";
                        const string expected = "classname`1[[innerns1.innerClass]]";

                        Assert.AreEqual(expected, StringHelper.GetClassname(typeName));
                }



Clone AbstractionParameter Count: 3Parameter Bindings

[Test]
public void [[#variable6fce13c0]]()
{
   const string typeName = [[#variable6fce1340]];
   const string expected = [[#variable6fce1280]];
   Assert.AreEqual(expected, StringHelper.GetClassname(typeName));
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6fce13c0]]
GetClassnameFromFQType 
12[[#6fce13c0]]
GetClassnameFromFQClass 
13[[#6fce13c0]]
GetClassnameFromGenericType 
14[[#6fce13c0]]
GetClassnameFromGenericFQClass 
21[[#6fce1340]]
"ns1.ns2.classname, as1.as2., pk, lang" 
22[[#6fce1340]]
"ns1.ns2.classname" 
23[[#6fce1340]]
"classname`1[innerns1.innerClass]" 
24[[#6fce1340]]
"ns1.ns2.classname`1[innerns1.innerClass]" 
31[[#6fce1280]]
"classname" 
32[[#6fce1280]]
"classname" 
33[[#6fce1280]]
"classname`1[[innerns1.innerClass]]" 
34[[#6fce1280]]
"classname`1[[innerns1.innerClass]]"