Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 1 | 0.985 | null_coalescing_expression |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 48 | src/NHibernate.Test/NHSpecificTest/NH1775/Fixture.cs |
2 | 3 | 69 | src/NHibernate.Test/NHSpecificTest/NH1775/Fixture.cs |
| ||||
s.CreateQuery("select new DTO(m.Id, concat(m.FirstName, ' ', m.LastName)) from Member m where (m.Roles & :roles) = :roles"). SetInt32 ("roles", 1). List<DTO> () |
| ||||
s.CreateQuery("select new DTO(m.Id, concat(m.FirstName, ' ', m.LastName)) from Member m where (m.Roles & (!(!:roles))) = :roles"). SetInt32("roles", 1). List<DTO> () |
| |||
s.CreateQuery( [[#variable54b0c4c0]]).SetInt32("roles", 1).List<DTO> () |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54b0c4c0]] | "select new DTO(m.Id, concat(m.FirstName, ' ', m.LastName)) from Member m where (m.Roles & :roles) = :roles" |
1 | 2 | [[#54b0c4c0]] | "select new DTO(m.Id, concat(m.FirstName, ' ', m.LastName)) from Member m where (m.Roles & (!(!:roles))) = :roles" |