CloneSet1393


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2230.961statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1278
src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs
2281
src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs
Clone Instance
1
Line Count
2
Source Line
78
Source File
src/NHibernate.Test/SqlCommandTest/SqlStringFixture.cs

                        replacedSql = sql.Replace("not found", "not in here");
                        Assert.AreEqual(sql.ToString().Replace("not found", "not in here"), replacedSql.ToString(), "replace no found string");


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

                        replacedSql = sql.Replace("le", "LE");
                        Assert.AreEqual(sql.ToString().Replace("le", "LE"), replacedSql.ToString(), "multi-match replace");


Clone AbstractionParameter Count: 3Parameter Bindings

replacedSql = sql.Replace( [[#variable45ef7860]], [[#variable45ef78e0]]);
Assert.AreEqual(sql.ToString().Replace( [[#variable45ef7860]], [[#variable45ef78e0]]), replacedSql.ToString(), [[#variable45ef78c0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#45ef7860]]
"le" 
12[[#45ef7860]]
"not found" 
21[[#45ef78e0]]
"LE" 
22[[#45ef78e0]]
"not in here" 
31[[#45ef78c0]]
"multi-match replace" 
32[[#45ef78c0]]
"replace no found string"