CloneSet649


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.980IterationStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17149
Closure/closure/goog/structs/trie.js
27237
Closure/closure/goog/structs/trie.js
Clone Instance
1
Line Count
7
Source Line
149
Source File
Closure/closure/goog/structs/trie.js

  for (var characterPosition=  0; characterPosition<  key.length;
       characterPosition++) {
    var currentCharacter=  key.charAt(characterPosition);
    if (!node.childNodes_[currentCharacter]) {
      return undefined;
                                             }
    node=  node.childNodes_[currentCharacter];
                            }


Clone Instance
2
Line Count
7
Source Line
237
Source File
Closure/closure/goog/structs/trie.js

    for (var characterPosition=  0; characterPosition<  opt_prefix.length;
        characterPosition++) {
      var currentCharacter=  opt_prefix.charAt(characterPosition);
      if (!node.childNodes_[currentCharacter]) {
        return [ ];
                                               }
      node=  node.childNodes_[currentCharacter];
                             }


Clone AbstractionParameter Count: 2Parameter Bindings

for (var characterPosition=0; characterPosition< [[#variable20c9fe20]].length; characterPosition++)
  { var currentCharacter= [[#variable20c9fe20]].charAt(characterPosition);
    if (!node.childNodes_[currentCharacter])
      { return [[#variable20c9fdc0]];
      }
    node=node.childNodes_[currentCharacter];
  }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#20c9fe20]]
opt_prefix 
12[[#20c9fe20]]
key 
21[[#20c9fdc0]]
[ ] 
22[[#20c9fdc0]]
undefined