CloneSet75


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20301.000statement_list[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120406
src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs
219435
src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs
320382
src/NHibernate/Cfg/XmlHbmBinding/CollectionBinder.cs
Clone Instance
1
Line Count
20
Source Line
406
Source File
src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs

                        XmlNode element = node.SelectSingleNode(HbmConstants.nsSqlInsert, namespaceManager);

                        if (element != null)
                        {
                                bool callable = IsCallable(element);
                                model.SetCustomSQLInsert(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
                        }

                        element = node.SelectSingleNode(HbmConstants.nsSqlDelete, namespaceManager);
                        if (element != null)
                        {
                                bool callable = IsCallable(element);
                                model.SetCustomSQLDelete(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
                        }

                        element = node.SelectSingleNode(HbmConstants.nsSqlUpdate, namespaceManager);
                        if (element != null)
                        {
                                bool callable = IsCallable(element);
                                model.SetCustomSQLUpdate(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
                        }


Clone Instance
2
Line Count
19
Source Line
435
Source File
src/NHibernate/Cfg/XmlHbmBinding/ClassBinder.cs

                        XmlNode element = node.SelectSingleNode(HbmConstants.nsSqlInsert, namespaceManager);
                        if (element != null)
                        {
                                bool callable = IsCallable(element);
                                model.SetCustomSQLInsert(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
                        }

                        element = node.SelectSingleNode(HbmConstants.nsSqlDelete, namespaceManager);
                        if (element != null)
                        {
                                bool callable = IsCallable(element);
                                model.SetCustomSQLDelete(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
                        }

                        element = node.SelectSingleNode(HbmConstants.nsSqlUpdate, namespaceManager);
                        if (element != null)
                        {
                                bool callable = IsCallable(element);
                                model.SetCustomSQLUpdate(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
                        }


Clone Instance
3
Line Count
20
Source Line
382
Source File
src/NHibernate/Cfg/XmlHbmBinding/CollectionBinder.cs

                        XmlNode element = node.SelectSingleNode(HbmConstants.nsSqlInsert, namespaceManager);

                        if (element != null)
                        {
                                bool callable = IsCallable(element);
                                model.SetCustomSQLInsert(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
                        }

                        element = node.SelectSingleNode(HbmConstants.nsSqlDelete, namespaceManager);
                        if (element != null)
                        {
                                bool callable = IsCallable(element);
                                model.SetCustomSQLDelete(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
                        }

                        element = node.SelectSingleNode(HbmConstants.nsSqlUpdate, namespaceManager);
                        if (element != null)
                        {
                                bool callable = IsCallable(element);
                                model.SetCustomSQLUpdate(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

XmlNode element = node.SelectSingleNode(HbmConstants.nsSqlInsert, namespaceManager);
if (element != null)
{
   bool callable = IsCallable(element);
   model.SetCustomSQLInsert(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
}
element = node.SelectSingleNode(HbmConstants.nsSqlDelete, namespaceManager);
if (element != null)
{
   bool callable = IsCallable(element);
   model.SetCustomSQLDelete(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
}
element = node.SelectSingleNode(HbmConstants.nsSqlUpdate, namespaceManager);
if (element != null)
{
   bool callable = IsCallable(element);
   model.SetCustomSQLUpdate(element.InnerText.Trim(), callable, GetResultCheckStyle(element, callable));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None