Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.963 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 40 | src/NHibernate.Test/VersionTest/Db/DbVersionFixture.cs |
2 | 4 | 85 | src/NHibernate.Test/VersionTest/Db/DbVersionFixture.cs |
| ||||
t = s.BeginTransaction(); guy = s.Get < User > (guy.Id); admin = s.Get < Group > (admin.Id); guy.Groups.Add(admin); |
| ||||
t = s.BeginTransaction(); guy = s.Get < User > (guy.Id); perm = s.Get < Permission > (perm.Id); guy.Permissions.Add(perm); |
| |||
t = s.BeginTransaction(); guy = s.Get < User > (guy.Id); [[#variable53673b20]]= s.Get < [[#variable53cfbf80]]> ( [[#variable53673b20]].Id); guy. [[#variable4a693280]].Add( [[#variable53673b20]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53673b20]] | admin |
1 | 2 | [[#53673b20]] | perm |
2 | 1 | [[#53cfbf80]] | Group |
2 | 2 | [[#53cfbf80]] | Permission |
3 | 1 | [[#4a693280]] | Groups |
3 | 2 | [[#4a693280]] | Permissions |