Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 1 | 0.986 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 20 | src/NHibernate.Test/Classic/EntityWithLifecycle.cs |
2 | 3 | 25 | src/NHibernate.Test/Classic/EntityWithLifecycle.cs |
3 | 3 | 30 | src/NHibernate.Test/Classic/EntityWithLifecycle.cs |
| ||||
public virtual LifecycleVeto OnSave(ISession s) { return IsValid() ? LifecycleVeto.NoVeto: LifecycleVeto.Veto; } |
| ||||
public virtual LifecycleVeto OnUpdate(ISession s) { return IsValid() ? LifecycleVeto.NoVeto: LifecycleVeto.Veto; } |
| ||||
public virtual LifecycleVeto OnDelete(ISession s) { return IsValid() ? LifecycleVeto.NoVeto: LifecycleVeto.Veto; } |
| |||
public virtual LifecycleVeto [[#variable259828c0]](ISession s) { return IsValid() ? LifecycleVeto.NoVeto: LifecycleVeto.Veto; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#259828c0]] | OnDelete |
1 | 2 | [[#259828c0]] | OnSave |
1 | 3 | [[#259828c0]] | OnUpdate |