Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 6 | 2 | 0.971 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 115 | src/NHibernate/Engine/CascadeStyle.cs |
2 | 10 | 124 | src/NHibernate/Engine/CascadeStyle.cs |
3 | 10 | 133 | src/NHibernate/Engine/CascadeStyle.cs |
4 | 10 | 142 | src/NHibernate/Engine/CascadeStyle.cs |
5 | 10 | 151 | src/NHibernate/Engine/CascadeStyle.cs |
6 | 10 | 169 | src/NHibernate/Engine/CascadeStyle.cs |
| ||||
[Serializable] private class LockCascadeStyle : CascadeStyle { public override bool DoCascade(CascadingAction action) { return action == CascadingAction.Lock; } } |
| ||||
[Serializable] private class RefreshCascadeStyle : CascadeStyle { public override bool DoCascade(CascadingAction action) { return action == CascadingAction.Refresh; } } |
| ||||
[Serializable] private class EvictCascadeStyle : CascadeStyle { public override bool DoCascade(CascadingAction action) { return action == CascadingAction.Evict; } } |
| ||||
[Serializable] private class ReplicateCascadeStyle : CascadeStyle { public override bool DoCascade(CascadingAction action) { return action == CascadingAction.Replicate; } } |
| ||||
[Serializable] private class MergeCascadeStyle : CascadeStyle { public override bool DoCascade(CascadingAction action) { return action == CascadingAction.Merge; } } |
| ||||
[Serializable] private class DeleteCascadeStyle : CascadeStyle { public override bool DoCascade(CascadingAction action) { return action == CascadingAction.Delete; } } |
| |||
[Serializable] private class [[#variable684ca4c0]]: CascadeStyle { public override bool DoCascade(CascadingAction action) { return action == CascadingAction. [[#variable684ca440]]; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#684ca4c0]] | LockCascadeStyle |
1 | 2 | [[#684ca4c0]] | RefreshCascadeStyle |
1 | 3 | [[#684ca4c0]] | EvictCascadeStyle |
1 | 4 | [[#684ca4c0]] | ReplicateCascadeStyle |
1 | 5 | [[#684ca4c0]] | MergeCascadeStyle |
1 | 6 | [[#684ca4c0]] | DeleteCascadeStyle |
2 | 1 | [[#684ca440]] | Lock |
2 | 2 | [[#684ca440]] | Refresh |
2 | 3 | [[#684ca440]] | Evict |
2 | 4 | [[#684ca440]] | Replicate |
2 | 5 | [[#684ca440]] | Merge |
2 | 6 | [[#684ca440]] | Delete |