CloneSet51


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000selection_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11135
CommandLine/CommandLine.h
21151
CommandLine/CommandLine.h
Clone Instance
1
Line Count
11
Source Line
35
Source File
CommandLine/CommandLine.h

                                                                if (last_argument_is_at_sign) {
                                                                        last_argument_is_at_sign = GetCommandLineArgumentsFromFile(files, argument.c_str());
                                                                                              }
                                                                else   {
                                                                        if (argument[0] == '@') {
                                                                                if (argument.size() != 1) {
                                                                                        last_argument_is_at_sign = GetCommandLineArgumentsFromFile(files, &argument.c_str()[1]);
                                                                                                          }
                                                                                else   {
                                                                                        last_argument_is_at_sign = true;
                                                                                       }
                                                                                                }
                                                                        else   {
                                                                                files.Append(argument.c_str());
                                                                               }
                                                                       }


Clone Instance
2
Line Count
11
Source Line
51
Source File
CommandLine/CommandLine.h

                                                                if (last_argument_is_at_sign) {
                                                                        last_argument_is_at_sign = GetCommandLineArgumentsFromFile(files, argument.c_str());
                                                                                              }
                                                                else   {
                                                                        if (argument[0] == '@') {
                                                                                if (argument.size() != 1) {
                                                                                        last_argument_is_at_sign = GetCommandLineArgumentsFromFile(files, &argument.c_str()[1]);
                                                                                                          }
                                                                                else   {
                                                                                        last_argument_is_at_sign = true;
                                                                                       }
                                                                                                }
                                                                        else   {
                                                                                files.Append(argument.c_str());
                                                                               }
                                                                       }


Clone AbstractionParameter Count: 0Parameter Bindings

if (last_argument_is_at_sign)
  {
    last_argument_is_at_sign = GetCommandLineArgumentsFromFile(files, argument.c_str());
  }
else
  {
    if (argument[0] == '@')
      {
        if (argument.size() != 1)
          {
            last_argument_is_at_sign = GetCommandLineArgumentsFromFile(files, &argument.c_str()[1]);
          }
        else
          {
            last_argument_is_at_sign = true;
          }
      }
    else
      {
        files.Append(argument.c_str());
      }
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None