CloneSet14


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
35220.969statement_seq[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1354136
InclusionConstraintGraph/Graph.h
2354199
InclusionConstraintGraph/Graph.h
Clone Instance
1
Line Count
35
Source Line
4136
Source File
InclusionConstraintGraph/Graph.h

                                                        switch (iterator.GetNode()->GetScope()) {
                                                                case Node::IsInGlobalScope: {
                                                                        WriteCharacter(L'G');
                                                                        break;
                                                                                            }
                                                                case Node::IsInFileScope: {
                                                                        WriteCharacter(L'F');
                                                                        break;
                                                                                          }
                                                                case Node::IsInLocalScope: {
                                                                        WriteCharacter(L'L');
                                                                        break;
                                                                                           }
                                                                default: {
                                                                        assert(0);
                                                                        break;
                                                                         }
                                                                                                }
                                                        switch (iterator.GetNode()->GetDeclarationOrDefinition()) {
                                                                case Node::IsDefinition: {
                                                                        WriteCharacter(L'!');
                                                                        break;
                                                                                         }
                                                                case Node::IsDeclaration: {
                                                                        WriteCharacter(L'?');
                                                                        break;
                                                                                          }
                                                                default: {
                                                                        assert(0);
                                                                        break;
                                                                         }
                                                                                                                  }
                                                        WriteNumber(iterator.GetTranslationUnit());
                                                        WriteCharacter(L':');
                                                        WriteNumber(iterator.GetLexicalScope());


Clone Instance
2
Line Count
35
Source Line
4199
Source File
InclusionConstraintGraph/Graph.h

                                                        switch (iterator.GetNode()->GetScope()) {
                                                                case Node::IsInGlobalScope: {
                                                                        WriteCharacter(L'G');
                                                                        break;
                                                                                            }
                                                                case Node::IsInFileScope: {
                                                                        WriteCharacter(L'F');
                                                                        break;
                                                                                          }
                                                                case Node::IsInLocalScope: {
                                                                        WriteCharacter(L'L');
                                                                        break;
                                                                                           }
                                                                default: {
                                                                        assert(0);
                                                                        break;
                                                                         }
                                                                                                }
                                                        switch (iterator.GetNode()->GetDeclarationOrDefinition()) {
                                                                case Node::IsDefinition: {
                                                                        WriteCharacter(L'!');
                                                                        break;
                                                                                         }
                                                                case Node::IsDeclaration: {
                                                                        WriteCharacter(L'?');
                                                                        break;
                                                                                          }
                                                                default: {
                                                                        assert(0);
                                                                        break;
                                                                         }
                                                                                                                  }
                                                        WriteNumber(iterator.GetTranslationUnit());
                                                        WriteCharacter(L':');
                                                        WriteCharacter(L'"');


Clone AbstractionParameter Count: 2Parameter Bindings

switch (iterator.GetNode()->GetScope())
  {
    case Node::IsInGlobalScope:
      {
        WriteCharacter(L'G');
        break;
      }
    case Node::IsInFileScope:
      {
        WriteCharacter(L'F');
        break;
      }
    case Node::IsInLocalScope:
      {
        WriteCharacter(L'L');
        break;
      }
    default:
      {
        assert(0);
        break;
      }
  }
switch (iterator.GetNode()->GetDeclarationOrDefinition())
  {
    case Node::IsDefinition:
      {
        WriteCharacter(L'!');
        break;
      }
    case Node::IsDeclaration:
      {
        WriteCharacter(L'?');
        break;
      }
    default:
      {
        assert(0);
        break;
      }
  }
WriteNumber(iterator.GetTranslationUnit());
WriteCharacter(L':');
[[#variablea92a740]]([[#variablea92a2a0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a92a740]]
WriteCharacter 
12[[#a92a740]]
WriteNumber 
21[[#a92a2a0]]
L'"' 
22[[#a92a2a0]]
iterator.GetLexicalScope()