CloneSet64


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000compound_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16724
InclusionConstraintGraph/Graph.h
26735
InclusionConstraintGraph/Graph.h
Clone Instance
1
Line Count
6
Source Line
724
Source File
InclusionConstraintGraph/Graph.h

                                                                                                                        {
                                                                                                if (node->GetPointedToLocations().Size() == 1) {
                                                                                                        pointed_to_nodes = cached_information->GetSetOfNodes();
                                                                                                        pointed_to_nodes.Add(node->GetPointedToLocations()[0]);
                                                                                                                                               }
                                                                                                else   {
                                                                                                        pointed_to_nodes.Union(cached_information->GetSetOfNodes());
                                                                                                       }
                                                                                                                        }


Clone Instance
2
Line Count
6
Source Line
735
Source File
InclusionConstraintGraph/Graph.h

                                                                                                                                                                                                    {
                                                                                                        if (node->GetPointedToLocations().Size() == 1) {
                                                                                                                pointed_to_nodes = cached_information->GetSetOfNodes();
                                                                                                                pointed_to_nodes.Add(node->GetPointedToLocations()[0]);
                                                                                                                                                       }
                                                                                                        else   {
                                                                                                                pointed_to_nodes.Union(cached_information->GetSetOfNodes());
                                                                                                               }
                                                                                                                                                                                                    }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  if (node->GetPointedToLocations().Size() == 1)
    {
      pointed_to_nodes = cached_information->GetSetOfNodes();
      pointed_to_nodes.Add(node->GetPointedToLocations()[0]);
    }
  else
    {
      pointed_to_nodes.Union(cached_information->GetSetOfNodes());
    }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None