Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.969 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 109 | src/NHibernate/Engine/CascadeStyle.cs |
2 | 3 | 163 | src/NHibernate/Engine/CascadeStyle.cs |
3 | 3 | 181 | src/NHibernate/Engine/CascadeStyle.cs |
| ||||
public override bool DoCascade(CascadingAction action) { return action == CascadingAction.SaveUpdate || action == CascadingAction.SaveUpdateCopy; } |
| ||||
public override bool DoCascade(CascadingAction action) { return action == CascadingAction.Persist || action == CascadingAction.PersistOnFlush; } |
| ||||
public override bool DoCascade(CascadingAction action) { return action == CascadingAction.Delete || action == CascadingAction.SaveUpdate; } |
| |||
public override bool DoCascade(CascadingAction action) { return action == CascadingAction. [[#variable4a25f680]]|| action == CascadingAction. [[#variable4a25f5a0]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4a25f680]] | Delete |
1 | 2 | [[#4a25f680]] | Persist |
1 | 3 | [[#4a25f680]] | SaveUpdate |
2 | 1 | [[#4a25f5a0]] | SaveUpdate |
2 | 2 | [[#4a25f5a0]] | PersistOnFlush |
2 | 3 | [[#4a25f5a0]] | SaveUpdateCopy |