CloneSet15


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7310.976iteration_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17433
InclusionConstraintGraph/Graph.h
27444
InclusionConstraintGraph/Graph.h
37455
InclusionConstraintGraph/Graph.h
Clone Instance
1
Line Count
7
Source Line
433
Source File
InclusionConstraintGraph/Graph.h

                        for (std::size_t n=0; n <m_assignments_to_targets_from_dereferenced_sources.Size();n++) {
                                Node *source = m_assignments_to_targets_from_dereferenced_sources[n].Source();
                                if (source->GetKind() != Node::FunctionNode) {
                                        if (source->DoesCollapse()) {
                                                const CachedIndirectCycle *cached_information = source->TransitivelyCollapse()->LookupCachedIndirectCycle();
                                                if (cached_information != NULL) {
                                                        source->AddCachedIndirectCycle().equivalent_direct_node = cached_information->equivalent_direct_node;
                                                                                }
                                                                    }
                                                                             }
                                                                                                                }


Clone Instance
2
Line Count
7
Source Line
444
Source File
InclusionConstraintGraph/Graph.h

                        for (std::size_t n=0; n <m_assignments_to_targets_from_fields_of_dereferenced_sources.Size();n++) {
                                Node *source = m_assignments_to_targets_from_fields_of_dereferenced_sources[n].Source();
                                if (source->GetKind() != Node::FunctionNode) {
                                        if (source->DoesCollapse()) {
                                                const CachedIndirectCycle *cached_information = source->TransitivelyCollapse()->LookupCachedIndirectCycle();
                                                if (cached_information != NULL) {
                                                        source->AddCachedIndirectCycle().equivalent_direct_node = cached_information->equivalent_direct_node;
                                                                                }
                                                                    }
                                                                             }
                                                                                                                          }


Clone Instance
3
Line Count
7
Source Line
455
Source File
InclusionConstraintGraph/Graph.h

                        for (std::size_t n=0; n <m_assignments_to_targets_from_addresses_of_fields_of_dereferenced_sources.Size();n++) {
                                Node *source = m_assignments_to_targets_from_addresses_of_fields_of_dereferenced_sources[n].Source();
                                if (source->GetKind() != Node::FunctionNode) {
                                        if (source->DoesCollapse()) {
                                                const CachedIndirectCycle *cached_information = source->TransitivelyCollapse()->LookupCachedIndirectCycle();
                                                if (cached_information != NULL) {
                                                        source->AddCachedIndirectCycle().equivalent_direct_node = cached_information->equivalent_direct_node;
                                                                                }
                                                                    }
                                                                             }
                                                                                                                                       }


Clone AbstractionParameter Count: 1Parameter Bindings

for (std::size_t n = 0; n < [[#variablea92bf40]].Size(); n++)
  {
    Node * source = [[#variablea92bf40]][n].Source();
    if (source->GetKind() != Node::FunctionNode)
      {
        if (source->DoesCollapse())
          {
            const CachedIndirectCycle *cached_information = source->TransitivelyCollapse()->LookupCachedIndirectCycle();
            if (cached_information != NULL)
              {
                source->AddCachedIndirectCycle().equivalent_direct_node = cached_information->equivalent_direct_node;
              }
          }
      }
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a92bf40]]
m_assignments_to_targets_from_addresses_of_fields_of_dereferenced_sources 
12[[#a92bf40]]
m_assignments_to_targets_from_fields_of_dereferenced_sources 
13[[#a92bf40]]
m_assignments_to_targets_from_dereferenced_sources