Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.962 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 302 | src/NHibernate/Cfg/Configuration.cs |
2 | 5 | 179 | src/NHibernate/Cfg/Mappings.cs |
| ||||
/// <summary> Get the mapping for a particular entity </summary> /// <param name="entityName">An entity name. </param> /// <returns> the entity mapping information </returns> public PersistentClass GetClassMapping(string entityName) { PersistentClass result; classes.TryGetValue(entityName, out result); return result; } |
| ||||
public PersistentClass GetClass(string className) { PersistentClass result; classes.TryGetValue(className, out result); return result; } |
| |||
/// <summary> Get the mapping for a particular entity </summary> /// <param name="entityName">An entity name. </param> /// <returns> the entity mapping information </returns> public PersistentClass [[#variable54aeef60]](string [[#variable54aeeec0]]) { PersistentClass result; classes.TryGetValue( [[#variable54aeeec0]], out result); return result; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54aeef60]] | GetClass |
1 | 2 | [[#54aeef60]] | GetClassMapping |
2 | 1 | [[#54aeeec0]] | className |
2 | 2 | [[#54aeeec0]] | entityName |