Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 4 | 4 | 0.967 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 106 | src/NHibernate/Cfg/ConfigurationSchema/SessionFactoryConfiguration.cs |
2 | 6 | 116 | src/NHibernate/Cfg/ConfigurationSchema/SessionFactoryConfiguration.cs |
3 | 6 | 126 | src/NHibernate/Cfg/ConfigurationSchema/SessionFactoryConfiguration.cs |
4 | 6 | 135 | src/NHibernate/Cfg/ConfigurationSchema/SessionFactoryConfiguration.cs |
| ||||
private void ParseClassesCache(XPathNavigator navigator) { XPathNodeIterator xpni = navigator.Select(CfgXmlHelper.SessionFactoryClassesCacheExpression); while (xpni.MoveNext()) { classesCache.Add(new ClassCacheConfiguration(xpni.Current)); } } |
| ||||
private void ParseCollectionsCache(XPathNavigator navigator) { XPathNodeIterator xpni = navigator.Select(CfgXmlHelper.SessionFactoryCollectionsCacheExpression); while (xpni.MoveNext()) { collectionsCache.Add(new CollectionCacheConfiguration(xpni.Current)); } } |
| ||||
private void ParseListeners(XPathNavigator navigator) { XPathNodeIterator xpni = navigator.Select(CfgXmlHelper.SessionFactoryListenersExpression); while (xpni.MoveNext()) { listeners.Add(new ListenerConfiguration(xpni.Current)); } } |
| ||||
private void ParseEvents(XPathNavigator navigator) { XPathNodeIterator xpni = navigator.Select(CfgXmlHelper.SessionFactoryEventsExpression); while (xpni.MoveNext()) { events.Add(new EventConfiguration(xpni.Current)); } } |
| |||
private void [[#variable4ff5e420]](XPathNavigator navigator) { XPathNodeIterator xpni = navigator.Select(CfgXmlHelper. [[#variable4ff5e360]]); while (xpni.MoveNext()) { [[#variable4fcf3a40]].Add(new [[#variable4ff5e3c0]](xpni.Current)); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4ff5e420]] | ParseClassesCache |
1 | 2 | [[#4ff5e420]] | ParseCollectionsCache |
1 | 3 | [[#4ff5e420]] | ParseListeners |
1 | 4 | [[#4ff5e420]] | ParseEvents |
2 | 1 | [[#4ff5e360]] | SessionFactoryClassesCacheExpression |
2 | 2 | [[#4ff5e360]] | SessionFactoryCollectionsCacheExpression |
2 | 3 | [[#4ff5e360]] | SessionFactoryListenersExpression |
2 | 4 | [[#4ff5e360]] | SessionFactoryEventsExpression |
3 | 1 | [[#4fcf3a40]] | classesCache |
3 | 2 | [[#4fcf3a40]] | collectionsCache |
3 | 3 | [[#4fcf3a40]] | listeners |
3 | 4 | [[#4fcf3a40]] | events |
4 | 1 | [[#4ff5e3c0]] | ClassCacheConfiguration |
4 | 2 | [[#4ff5e3c0]] | CollectionCacheConfiguration |
4 | 3 | [[#4ff5e3c0]] | ListenerConfiguration |
4 | 4 | [[#4ff5e3c0]] | EventConfiguration |