CloneSet933


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.968class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1774
src/NHibernate.Test/UtilityTest/TypeNameParserFixture.cs
2783
src/NHibernate.Test/UtilityTest/TypeNameParserFixture.cs
Clone Instance
1
Line Count
7
Source Line
74
Source File
src/NHibernate.Test/UtilityTest/TypeNameParserFixture.cs

                [Test]
                public void ParseWithDefaultAssemblyUnused()
                {
                        const string defaultAssembly = "DefaultAssembly";
                        AssemblyQualifiedTypeName tn = TypeNameParser.Parse("SomeType, AnotherAssembly", null, defaultAssembly);
                        Assert.AreEqual("SomeType", tn.Type);
                        Assert.AreEqual("AnotherAssembly", tn.Assembly);
                }



Clone Instance
2
Line Count
7
Source Line
83
Source File
src/NHibernate.Test/UtilityTest/TypeNameParserFixture.cs

                [Test]
                public void ParseWithDefaultAssembly()
                {
                        const string defaultAssembly = "SomeAssembly";
                        AssemblyQualifiedTypeName tn = TypeNameParser.Parse("SomeType", null, defaultAssembly);
                        Assert.AreEqual("SomeType", tn.Type);
                        Assert.AreEqual(defaultAssembly, tn.Assembly);
                }



Clone AbstractionParameter Count: 4Parameter Bindings

[Test]
public void [[#variable4eb04d40]]()
{
   const string defaultAssembly = [[#variable4eb04ca0]];
   AssemblyQualifiedTypeName tn = TypeNameParser.Parse( [[#variable4eb04bc0]], null, defaultAssembly);
   Assert.AreEqual("SomeType", tn.Type);
   Assert.AreEqual( [[#variable4eb04b20]], tn.Assembly);
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4eb04d40]]
ParseWithDefaultAssemblyUnused 
12[[#4eb04d40]]
ParseWithDefaultAssembly 
21[[#4eb04ca0]]
"DefaultAssembly" 
22[[#4eb04ca0]]
"SomeAssembly" 
31[[#4eb04bc0]]
"SomeType, AnotherAssembly" 
32[[#4eb04bc0]]
"SomeType" 
41[[#4eb04b20]]
"AnotherAssembly" 
42[[#4eb04b20]]
defaultAssembly