CloneSet2021


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.968null_coalescing_expression
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1542
src/NHibernate.Test/UtilityTest/ThreadSafeDictionaryFixture.cs
2548
src/NHibernate.Test/UtilityTest/ThreadSafeDictionaryFixture.cs
Clone Instance
1
Line Count
5
Source Line
42
Source File
src/NHibernate.Test/UtilityTest/ThreadSafeDictionaryFixture.cs

                                                delegate (IDictionary<int, int> d)
                                                        {
                                                                log.DebugFormat("T{0} ContainsKey", Thread.CurrentThread.Name);
                                                        read++;
                                                        d.ContainsKey(rnd.Next());
                                                        }


Clone Instance
2
Line Count
5
Source Line
48
Source File
src/NHibernate.Test/UtilityTest/ThreadSafeDictionaryFixture.cs

                                                delegate (IDictionary<int, int> d)
                                        {
                                                                log.DebugFormat("T{0} Remove", Thread.CurrentThread.Name);
                                                write++;
                                                d.Remove(rnd.Next());
                                        }


Clone AbstractionParameter Count: 3Parameter Bindings

delegate (IDictionary<int, int> d) {
                                      log.DebugFormat( [[#variable5f0181e0]], Thread.CurrentThread.Name);
                                       [[#variable5f018260]]++;
                                      d. [[#variable5f018240]](rnd.Next());
                                   }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5f0181e0]]
"T{0} ContainsKey" 
12[[#5f0181e0]]
"T{0} Remove" 
21[[#5f018260]]
read 
22[[#5f018260]]
write 
31[[#5f018240]]
ContainsKey 
32[[#5f018240]]
Remove