Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 2 | 0.977 | class_member_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 92 | plugins/authentication/openid/Auth/OpenID/Parse.php |
2 | 17 | 28 | plugins/authentication/openid/Auth/Yadis/ParseHTML.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\\/<>]+)'; |
| ||||
/** * @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>]'; |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4669d4a0]] | "<%s\\b(?!:)([^>]*?)(?:\\/>|>(.*?)(?:<\\/?%s\\s*>|\\Z))" |
1 | 2 | [[#4669d4a0]] | "<%s%s(?:\\s.*?)?%s>" |
2 | 1 | [[#4669d520]] | '\\b(\\w+)=("[^"]*"|\'[^\']*\'|[^\'"\\s\\/<>]+)' |
2 | 2 | [[#4669d520]] | '\\b([-\\w]+)=(".*?"|\'.*?\'|.+?)[\\/\\s>]' |