Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 5 | 0.952 | switch_sections[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 106 | src/NHibernate/Cfg/ConfigurationSchema/ClassCacheConfiguration.cs |
2 | 8 | 55 | src/NHibernate/Cfg/ConfigurationSchema/ListenerConfiguration.cs |
| ||||
case "class": if (classCacheElement.Value.Trim().Length == 0) throw new HibernateConfigException("Invalid class-cache element; the attribute <class> must be assigned with no empty value"); clazz = classCacheElement.Value; break; case "usage": usage = CfgXmlHelper.ClassCacheUsageConvertFrom(classCacheElement.Value); break; |
| ||||
case "class": if (listenerElement.Value.Trim().Length == 0) throw new HibernateConfigException("Invalid listener element; the attribute <class> must be assigned with no empty value"); clazz = listenerElement.Value; break; case "type": type = CfgXmlHelper.ListenerTypeConvertFrom(listenerElement.Value); break; |
| |||
case "class": if ( [[#variable28d00900]].Value.Trim().Length == 0) throw new HibernateConfigException( [[#variable28d007c0]]); clazz = [[#variable28d00900]].Value; break; case [[#variable28d00780]]: [[#variable28d00720]]= CfgXmlHelper. [[#variable28d005e0]]( [[#variable28d00900]].Value); break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#28d00900]] | classCacheElement |
1 | 2 | [[#28d00900]] | listenerElement |
2 | 1 | [[#28d007c0]] | "Invalid class-cache element; the attribute <class> must be assigned with no empty value" |
2 | 2 | [[#28d007c0]] | "Invalid listener element; the attribute <class> must be assigned with no empty value" |
3 | 1 | [[#28d00780]] | "usage" |
3 | 2 | [[#28d00780]] | "type" |
4 | 1 | [[#28d00720]] | usage |
4 | 2 | [[#28d00720]] | type |
5 | 1 | [[#28d005e0]] | ClassCacheUsageConvertFrom |
5 | 2 | [[#28d005e0]] | ListenerTypeConvertFrom |