CloneSet353


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
24330.983block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12428
src/NHibernate/Impl/MessageHelper.cs
22462
src/NHibernate/Impl/MessageHelper.cs
324163
src/NHibernate/Impl/MessageHelper.cs
Clone Instance
1
Line Count
24
Source Line
28
Source File
src/NHibernate/Impl/MessageHelper.cs

                {
                        StringBuilder s = new StringBuilder();
                        s.Append('[');
                        if (clazz == null)
                        {
                                s.Append("<null Class>");
                        }
                        else
                        {
                                s.Append(clazz.Name);
                        }
                        s.Append('#');

                        if (id == null)
                        {
                                s.Append("<null>");
                        }
                        else
                        {
                                s.Append(id);
                        }
                        s.Append(']');

                        return s.ToString();
                }


Clone Instance
2
Line Count
24
Source Line
62
Source File
src/NHibernate/Impl/MessageHelper.cs

                {
                        StringBuilder s = new StringBuilder();
                        s.Append('[');
                        if (persister == null)
                        {
                                s.Append("<null Class>");
                        }
                        else
                        {
                                s.Append(persister.EntityName);
                        }
                        s.Append('#');

                        if (id == null)
                        {
                                s.Append("<null>");
                        }
                        else
                        {
                                s.Append(id);
                        }
                        s.Append(']');

                        return s.ToString();
                }


Clone Instance
3
Line Count
24
Source Line
163
Source File
src/NHibernate/Impl/MessageHelper.cs

                {
                        StringBuilder s = new StringBuilder();
                        s.Append('[');
                        if (persister == null)
                        {
                                s.Append("<null ClassPersister>");
                        }
                        else
                        {
                                s.Append(persister.EntityName);
                        }
                        s.Append('#');

                        if (id == null)
                        {
                                s.Append("<null>");
                        }
                        else
                        {
                                s.Append(id);
                        }

                        s.Append(']');
                        return s.ToString();
                }


Clone AbstractionParameter Count: 3Parameter Bindings

{
   StringBuilder s = new StringBuilder();
   s.Append('[');
   if ( [[#variable70ac6ce0]]== null)
   {
      s.Append( [[#variable70ac6c80]]);
   }
   else
   {
      s.Append( [[#variable70ac6ce0]]. [[#variable70ac6c20]]);
   }
   s.Append('#');
   if (id == null)
   {
      s.Append("<null>");
   }
   else
   {
      s.Append(id);
   }
   s.Append(']');
   return s.ToString();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#70ac6ce0]]
clazz 
12[[#70ac6ce0]]
persister 
13[[#70ac6ce0]]
persister 
21[[#70ac6c80]]
"<null Class>" 
22[[#70ac6c80]]
"<null Class>" 
23[[#70ac6c80]]
"<null ClassPersister>" 
31[[#70ac6c20]]
Name 
32[[#70ac6c20]]
EntityName 
33[[#70ac6c20]]
EntityName