Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 3 | 0.950 | class_member_declarations |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 56 | src/NHibernate/Engine/IdentifierValue.cs |
2 | 9 | 75 | src/NHibernate/Engine/IdentifierValue.cs |
3 | 8 | 112 | src/NHibernate/Engine/IdentifierValue.cs |
| ||||
public override bool ? IsUnsaved(object id) { log.Debug("unsaved-value strategy ANY"); return true; } public override object GetDefaultValue(object currentValue) { return currentValue; } |
| ||||
public override bool ? IsUnsaved(object id) { log.Debug("unsaved-value strategy NONE"); return false; } public override object GetDefaultValue(object currentValue) { return currentValue; } |
| ||||
public override bool ? IsUnsaved(object id) { log.Debug("id unsaved-value strategy UNDEFINED"); return null; } public override object GetDefaultValue(object currentValue) { return null; } |
| |||
public override bool ? IsUnsaved(object id) { log.Debug( [[#variable2d1d9480]]); return [[#variable2d1d9400]]; } public override object GetDefaultValue(object currentValue) { return [[#variable2d1d9380]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d1d9480]] | "unsaved-value strategy ANY" |
1 | 2 | [[#2d1d9480]] | "unsaved-value strategy NONE" |
1 | 3 | [[#2d1d9480]] | "id unsaved-value strategy UNDEFINED" |
2 | 1 | [[#2d1d9400]] | true |
2 | 2 | [[#2d1d9400]] | false |
2 | 3 | [[#2d1d9400]] | null |
3 | 1 | [[#2d1d9380]] | currentValue |
3 | 2 | [[#2d1d9380]] | currentValue |
3 | 3 | [[#2d1d9380]] | null |