Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 4 | 2 | 0.977 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 393 | src/NHibernate/Event/Default/AbstractSaveEventListener.cs |
2 | 7 | 402 | src/NHibernate/Event/Default/AbstractSaveEventListener.cs |
3 | 6 | 417 | src/NHibernate/Event/Default/AbstractSaveEventListener.cs |
4 | 6 | 425 | 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; } |
| ||||
{ //ie. e.status==DELETED if (log.IsDebugEnabled) { log.Debug("deleted instance of: " + GetLoggableName(entityName, entity)); } return EntityState.Deleted; } |
| ||||
{ if (log.IsDebugEnabled) { log.Debug("transient instance of: " + GetLoggableName(entityName, entity)); } return EntityState.Transient; } |
| ||||
{ if (log.IsDebugEnabled) { log.Debug("detached instance of: " + GetLoggableName(entityName, entity)); } return EntityState.Detached; } |
| |||
{ //ie. e.status==DELETED // do nothing for persistent instances if (log.IsDebugEnabled) { log.Debug( [[#variable550bfda0]]+ GetLoggableName(entityName, entity)); } return EntityState. [[#variable550bfd80]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#550bfda0]] | "detached instance of: " |
1 | 2 | [[#550bfda0]] | "transient instance of: " |
1 | 3 | [[#550bfda0]] | "deleted instance of: " |
1 | 4 | [[#550bfda0]] | "persistent instance of: " |
2 | 1 | [[#550bfd80]] | Detached |
2 | 2 | [[#550bfd80]] | Transient |
2 | 3 | [[#550bfd80]] | Deleted |
2 | 4 | [[#550bfd80]] | Persistent |