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.962 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 399 | src/NHibernate/Cfg/Mappings.cs |
2 | 4 | 405 | src/NHibernate/Cfg/Mappings.cs |
| ||||
public void AddQuery(string name, NamedQueryDefinition query) { CheckQueryExists(name); queries[name] = query; } |
| ||||
public void AddSQLQuery(string name, NamedSQLQueryDefinition query) { CheckQueryExists(name); sqlqueries[name] = query; } |
| |||
public void [[#variable6f8313c0]](string name, [[#variable6f830d00]]query) { CheckQueryExists(name); [[#variable6f831460]][name] = query; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6f8313c0]] | AddQuery |
1 | 2 | [[#6f8313c0]] | AddSQLQuery |
2 | 1 | [[#6f830d00]] | NamedQueryDefinition |
2 | 2 | [[#6f830d00]] | NamedSQLQueryDefinition |
3 | 1 | [[#6f831460]] | queries |
3 | 2 | [[#6f831460]] | sqlqueries |