Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 3 | 0.963 | statement_list[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 96 | src/NHibernate.Test/UtilityTest/TypeNameParserFixture.cs |
2 | 4 | 105 | src/NHibernate.Test/UtilityTest/TypeNameParserFixture.cs |
3 | 4 | 116 | src/NHibernate.Test/UtilityTest/TypeNameParserFixture.cs |
| ||||
const string defaultNamespace = "DefaultNamespace"; AssemblyQualifiedTypeName tn = TypeNameParser.Parse("SomeType", defaultNamespace, defaultAssembly); Assert.AreEqual("DefaultNamespace.SomeType", tn.Type); |
| ||||
const string defaultNamespace = "DefaultNamespace"; AssemblyQualifiedTypeName tn = TypeNameParser.Parse("SomeType", defaultNamespace, null); Assert.AreEqual("DefaultNamespace.SomeType", tn.Type); |
| ||||
const string defaultNamespace = "DefaultNamespace"; AssemblyQualifiedTypeName tn = TypeNameParser.Parse("SomeNamespace.SomeType", defaultNamespace, defaultAssembly); Assert.AreEqual("SomeNamespace.SomeType", tn.Type); |
| |||
const string defaultNamespace = "DefaultNamespace"; AssemblyQualifiedTypeName tn = TypeNameParser.Parse( [[#variable46dda900]], defaultNamespace, [[#variable46dda980]]); Assert.AreEqual( [[#variable46dda9a0]], tn.Type); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46dda900]] | "SomeNamespace.SomeType" |
1 | 2 | [[#46dda900]] | "SomeType" |
1 | 3 | [[#46dda900]] | "SomeType" |
2 | 1 | [[#46dda980]] | defaultAssembly |
2 | 2 | [[#46dda980]] | null |
2 | 3 | [[#46dda980]] | defaultAssembly |
3 | 1 | [[#46dda9a0]] | "SomeNamespace.SomeType" |
3 | 2 | [[#46dda9a0]] | "DefaultNamespace.SomeType" |
3 | 3 | [[#46dda9a0]] | "DefaultNamespace.SomeType" |