Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.969 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 220 | src/NHibernate/Criterion/DetachedCriteria.cs |
2 | 8 | 230 | src/NHibernate/Criterion/DetachedCriteria.cs |
| ||||
public DetachedCriteria GetCriteriaByPath(string path) { ICriteria tmpCrit = criteria.GetCriteriaByPath(path); if (tmpCrit == null) { return null; } return new DetachedCriteria(impl, tmpCrit); } |
| ||||
public DetachedCriteria GetCriteriaByAlias(string alias) { ICriteria tmpCrit = criteria.GetCriteriaByAlias(alias); if (tmpCrit == null) { return null; } return new DetachedCriteria(impl, tmpCrit); } |
| |||
public DetachedCriteria [[#variable2d34eac0]](string [[#variable2d34ea60]]) { ICriteria tmpCrit = criteria. [[#variable2d34eac0]]( [[#variable2d34ea60]]); if (tmpCrit == null) { return null; } return new DetachedCriteria(impl, tmpCrit); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2d34eac0]] | GetCriteriaByPath |
1 | 2 | [[#2d34eac0]] | GetCriteriaByAlias |
2 | 1 | [[#2d34ea60]] | path |
2 | 2 | [[#2d34ea60]] | alias |