CloneSet1386


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.979ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14396
Closure/third_party/closure/goog/loremipsum/text/loremipsum.js
24409
Closure/third_party/closure/goog/loremipsum/text/loremipsum.js
Clone Instance
1
Line Count
4
Source Line
396
Source File
Closure/third_party/closure/goog/loremipsum/text/loremipsum.js

/**
 * Splits a piece of text into sentences.
 * @param {string} text The text to split.
 * @return {Array.<string>} An array of sentences.
 * @private
 */
goog.text.LoremIpsum.splitSentences_=  function (text){
  return goog.array.filter(
      text.split(goog.text.LoremIpsum.SENTENCE_SPLIT_REGEX_),
      goog.text.LoremIpsum.isNotEmptyOrWhitepace_);
                                                      } ;


Clone Instance
2
Line Count
4
Source Line
409
Source File
Closure/third_party/closure/goog/loremipsum/text/loremipsum.js

/**
 * Splits a piece of text into words..
 * @param {string} text The text to split.
 * @return {Array.<string>} An array of words.
 * @private
 */
goog.text.LoremIpsum.splitWords_=  function (text){
  return goog.array.filter(
      text.split(goog.text.LoremIpsum.WORD_SPLIT_REGEX_),
      goog.text.LoremIpsum.isNotEmptyOrWhitepace_);
                                                  } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Splits a piece of text into words..
 * @param {string} text The text to split.
 * @return {Array.<string>} An array of words.
 * @private
 */
/**
 * Splits a piece of text into sentences.
 * @param {string} text The text to split.
 * @return {Array.<string>} An array of sentences.
 * @private
 */
goog.text.LoremIpsum. [[#variable1f488b60]]= function (text)
                                             { return goog.array.filter(text.split(goog.text.LoremIpsum. [[#variable1f488b00]]),goog.text.LoremIpsum.isNotEmptyOrWhitepace_);
                                             } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1f488b60]]
splitWords_ 
12[[#1f488b60]]
splitSentences_ 
21[[#1f488b00]]
WORD_SPLIT_REGEX_ 
22[[#1f488b00]]
SENTENCE_SPLIT_REGEX_