Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
19 | 2 | 4 | 0.953 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 93 | src/NHibernate/Engine/IdentifierValue.cs |
2 | 19 | 57 | src/NHibernate/Engine/VersionValue.cs |
| ||||
private class SaveNullClass : IdentifierValue { public override bool ? IsUnsaved(object id) { log.Debug("unsaved-value strategy NULL"); return id == null; } public override object GetDefaultValue(object currentValue) { return null; } } |
| ||||
private class VersionSaveNullClass : VersionValue { public override bool ? IsUnsaved(object version) { log.Debug("version unsaved-value strategy NULL"); return version == null; } public override object GetDefaultValue(object currentValue) { return null; } } |
| |||
private class [[#variable259a0300]]: [[#variable259a02a0]] { public override bool ? IsUnsaved(object [[#variable259a01e0]]) { log.Debug( [[#variable259a0140]]); return [[#variable259a01e0]]== null; } public override object GetDefaultValue(object currentValue) { return null; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#259a0300]] | VersionSaveNullClass |
1 | 2 | [[#259a0300]] | SaveNullClass |
2 | 1 | [[#259a02a0]] | VersionValue |
2 | 2 | [[#259a02a0]] | IdentifierValue |
3 | 1 | [[#259a01e0]] | version |
3 | 2 | [[#259a01e0]] | id |
4 | 1 | [[#259a0140]] | "version unsaved-value strategy NULL" |
4 | 2 | [[#259a0140]] | "unsaved-value strategy NULL" |