Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
24 | 3 | 3 | 0.983 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 24 | 28 | src/NHibernate/Impl/MessageHelper.cs |
2 | 24 | 62 | src/NHibernate/Impl/MessageHelper.cs |
3 | 24 | 163 | 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(); } |
| ||||
{ 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(); } |
| ||||
{ 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(); } |
| |||
{ 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#70ac6ce0]] | clazz |
1 | 2 | [[#70ac6ce0]] | persister |
1 | 3 | [[#70ac6ce0]] | persister |
2 | 1 | [[#70ac6c80]] | "<null Class>" |
2 | 2 | [[#70ac6c80]] | "<null Class>" |
2 | 3 | [[#70ac6c80]] | "<null ClassPersister>" |
3 | 1 | [[#70ac6c20]] | Name |
3 | 2 | [[#70ac6c20]] | EntityName |
3 | 3 | [[#70ac6c20]] | EntityName |