CloneSet918


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6420.977block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17393
src/NHibernate/Event/Default/AbstractSaveEventListener.cs
27402
src/NHibernate/Event/Default/AbstractSaveEventListener.cs
36417
src/NHibernate/Event/Default/AbstractSaveEventListener.cs
46425
src/NHibernate/Event/Default/AbstractSaveEventListener.cs
Clone Instance
1
Line Count
7
Source Line
393
Source File
src/NHibernate/Event/Default/AbstractSaveEventListener.cs

                                {
                                        // do nothing for persistent instances
                                        if (log.IsDebugEnabled)
                                        {
                                                log.Debug("persistent instance of: " + GetLoggableName(entityName, entity));
                                        }
                                        return EntityState.Persistent;
                                }


Clone Instance
2
Line Count
7
Source Line
402
Source File
src/NHibernate/Event/Default/AbstractSaveEventListener.cs

                                {
                                        //ie. e.status==DELETED
                                        if (log.IsDebugEnabled)
                                        {
                                                log.Debug("deleted instance of: " + GetLoggableName(entityName, entity));
                                        }
                                        return EntityState.Deleted;
                                }


Clone Instance
3
Line Count
6
Source Line
417
Source File
src/NHibernate/Event/Default/AbstractSaveEventListener.cs

                                {
                                        if (log.IsDebugEnabled)
                                        {
                                                log.Debug("transient instance of: " + GetLoggableName(entityName, entity));
                                        }
                                        return EntityState.Transient;
                                }


Clone Instance
4
Line Count
6
Source Line
425
Source File
src/NHibernate/Event/Default/AbstractSaveEventListener.cs

                                {
                                        if (log.IsDebugEnabled)
                                        {
                                                log.Debug("detached instance of: " + GetLoggableName(entityName, entity));
                                        }
                                        return EntityState.Detached;
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   //ie. e.status==DELETED
   // do nothing for persistent instances
   if (log.IsDebugEnabled)
   {
      log.Debug( [[#variable550bfda0]]+ GetLoggableName(entityName, entity));
   }
   return EntityState. [[#variable550bfd80]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#550bfda0]]
"detached instance of: " 
12[[#550bfda0]]
"transient instance of: " 
13[[#550bfda0]]
"deleted instance of: " 
14[[#550bfda0]]
"persistent instance of: " 
21[[#550bfd80]]
Detached 
22[[#550bfd80]]
Transient 
23[[#550bfd80]]
Deleted 
24[[#550bfd80]]
Persistent