CloneSet1534


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15230.975class_member_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11518
src/NHibernate.Tool.HbmXsd/ImproveEnumFieldsCommand.cs
21515
src/NHibernate.Tool.HbmXsd/ImproveTypeNamesCommand.cs
Clone Instance
1
Line Count
15
Source Line
18
Source File
src/NHibernate.Tool.HbmXsd/ImproveEnumFieldsCommand.cs

                private readonly CodeNamespace code;

                public ImproveEnumFieldsCommand(CodeNamespace code)
                {
                        if (code == null)
                                throw new ArgumentNullException("code");

                        this.code = code;
                }

                /// <summary>Changes enum field names to use camel casing.</summary>
                public void Execute()
                {
                        ChangeDeclaredEnumFields();
                        UpdateReferences();
                }



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

                private readonly CodeNamespace code;

                public ImproveTypeNamesCommand(CodeNamespace code)
                {
                        if (code == null)
                                throw new ArgumentNullException("code");

                        this.code = code;
                }

                /// <summary>Changes type names to use camel casing.</summary>
                public void Execute()
                {
                        ChangeDeclaredTypeNames();
                        UpdateTypeReferences();
                }



Clone AbstractionParameter Count: 3Parameter Bindings

private readonly CodeNamespace code;

public [[#variable2a576b40]](CodeNamespace code)
{
   if (code == null)
      throw new ArgumentNullException("code");
   this.code = code;
}

/// <summary>Changes enum field names to use camel casing.</summary>
/// <summary>Changes type names to use camel casing.</summary>
public void Execute()
{
    [[#variable2a576a40]]();
    [[#variable2a577d00]]();
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2a576b40]]
ImproveEnumFieldsCommand 
12[[#2a576b40]]
ImproveTypeNamesCommand 
21[[#2a576a40]]
ChangeDeclaredEnumFields 
22[[#2a576a40]]
ChangeDeclaredTypeNames 
31[[#2a577d00]]
UpdateReferences 
32[[#2a577d00]]
UpdateTypeReferences