CloneSet1230


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.986non_pp_embedded_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11056
src/NHibernate.Tool.HbmXsd/ImproveEnumFieldsCommand.cs
21061
src/NHibernate.Tool.HbmXsd/ImproveTypeNamesCommand.cs
Clone Instance
1
Line Count
10
Source Line
56
Source File
src/NHibernate.Tool.HbmXsd/ImproveEnumFieldsCommand.cs

                                        foreach (CodeTypeMember member in type.Members)
                                        {
                                                CodeMemberField field = member as CodeMemberField;
                                                CodeConstructor constructor = member as CodeConstructor;

                                                if (field != null)
                                                        UpdateFieldEnumValueReferences(field);
                                                else
                                                     if (constructor != null)
                                                        UpdateMethodEnumValueReferences(constructor);
                                        }


Clone Instance
2
Line Count
10
Source Line
61
Source File
src/NHibernate.Tool.HbmXsd/ImproveTypeNamesCommand.cs

                                foreach (CodeTypeMember member in type.Members)
                                {
                                        CodeMemberField field = member as CodeMemberField;
                                        CodeConstructor constructor = member as CodeConstructor;

                                        if (field != null)
                                                UpdateFieldTypeReferences(field);
                                        else
                                             if (constructor != null)
                                                UpdateMethodTypeReferences(constructor);
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

foreach (CodeTypeMember member in type.Members)
{
   CodeMemberField field = member as CodeMemberField;
   CodeConstructor constructor = member as CodeConstructor;
   if (field != null)
       [[#variable578bb940]](field);
   else
      if (constructor != null)
          [[#variable578bb6e0]](constructor);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#578bb940]]
UpdateFieldTypeReferences 
12[[#578bb940]]
UpdateFieldEnumValueReferences 
21[[#578bb6e0]]
UpdateMethodTypeReferences 
22[[#578bb6e0]]
UpdateMethodEnumValueReferences