Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
35 | 2 | 2 | 0.969 | statement_seq[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 35 | 4136 | InclusionConstraintGraph/Graph.h |
2 | 35 | 4199 | 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()); |
| ||||
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'"'); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a92a740]] | WriteCharacter |
1 | 2 | [[#a92a740]] | WriteNumber |
2 | 1 | [[#a92a2a0]] | L'"' |
2 | 2 | [[#a92a2a0]] | iterator.GetLexicalScope() |