CloneSet1944


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15220.977class_member_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11592
plugins/authentication/openid/Auth/OpenID/Parse.php
21728
plugins/authentication/openid/Auth/Yadis/ParseHTML.php
Clone Instance
1
Line Count
15
Source Line
92
Source File
plugins/authentication/openid/Auth/OpenID/Parse.php

    /**
     * Specify some flags for use with regex matching.
     */
    var $_re_flags=  "si";

    /**
     * Stuff to remove before we start looking for tags
     */
    var $_removed_re=
           "<!--.*?-->|<!\\[CDATA\\[.*?\\]\\]>|<script\\b(?!:)[^>]*>.*?<\\/script>";

    /**
     * Starts with the tag name at a word boundary, where the tag name
     * is not a namespace
     */
    var $_tag_expr=  "<%s\\b(?!:)([^>]*?)(?:\\/>|>(.*?)(?:<\\/?%s\\s*>|\\Z))";

    var $_attr_find=  '\\b(\\w+)=("[^"]*"|\'[^\']*\'|[^\'"\\s\\/<>]+)';


Clone Instance
2
Line Count
17
Source Line
28
Source File
plugins/authentication/openid/Auth/Yadis/ParseHTML.php

    /**
     * @access private
     */
    var $_re_flags=  "si";

    /**
     * @access private
     */
    var $_removed_re=
           "<!--.*?-->|<!\\[CDATA\\[.*?\\]\\]>|<script\\b(?!:)[^>]*>.*?<\\/script>";

    /**
     * @access private
     */
    var $_tag_expr=  "<%s%s(?:\\s.*?)?%s>";

    /**
     * @access private
     */
    var $_attr_find=  '\\b([-\\w]+)=(".*?"|\'.*?\'|.+?)[\\/\\s>]';


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Specify some flags for use with regex matching.
     */
/**
     * @access private
     */
var $_re_flags="si";
/**
     * Stuff to remove before we start looking for tags
     */
/**
     * @access private
     */
var $_removed_re="<!--.*?-->|<!\\[CDATA\\[.*?\\]\\]>|<script\\b(?!:)[^>]*>.*?<\\/script>";
/**
     * Starts with the tag name at a word boundary, where the tag name
     * is not a namespace
     */
/**
     * @access private
     */
var $_tag_expr= [[#variable4669d4a0]];
/**
     * @access private
     */
var $_attr_find= [[#variable4669d520]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4669d4a0]]
"<%s\\b(?!:)([^>]*?)(?:\\/>|>(.*?)(?:<\\/?%s\\s*>|\\Z))" 
12[[#4669d4a0]]
"<%s%s(?:\\s.*?)?%s>" 
21[[#4669d520]]
'\\b(\\w+)=("[^"]*"|\'[^\']*\'|[^\'"\\s\\/<>]+)' 
22[[#4669d520]]
'\\b([-\\w]+)=(".*?"|\'.*?\'|.+?)[\\/\\s>]'