CloneSet1510


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.975statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1447
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs
2453
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs
Clone Instance
1
Line Count
4
Source Line
47
Source File
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs

                        // Base case, no values
                        Assert.AreEqual(0, StringHelper.CountUnquoted("abcd eftf", '?'));

                        // Simple case 
                        Assert.AreEqual(1, StringHelper.CountUnquoted("abcd ? eftf", '?'));


Clone Instance
2
Line Count
4
Source Line
53
Source File
src/NHibernate.Test/UtilityTest/StringHelperFixture.cs

                        // Multiple values
                        Assert.AreEqual(2, StringHelper.CountUnquoted("abcd ? ef ? tf", '?'));

                        // Quoted values
                        Assert.AreEqual(1, StringHelper.CountUnquoted("abcd ? ef '?' tf", '?'));


Clone AbstractionParameter Count: 3Parameter Bindings

// Base case, no values
// Multiple values
Assert.AreEqual( [[#variable297e38c0]], StringHelper.CountUnquoted( [[#variable297e2d40]], '?'));
// Simple case 
// Quoted values
Assert.AreEqual(1, StringHelper.CountUnquoted( [[#variable2980c320]], '?'));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#297e38c0]]
0 
12[[#297e38c0]]
2 
21[[#297e2d40]]
"abcd eftf" 
22[[#297e2d40]]
"abcd ? ef ? tf" 
31[[#2980c320]]
"abcd ? eftf" 
32[[#2980c320]]
"abcd ? ef '?' tf"