CloneSet904


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000switch_statement_sequence
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111191
components/com_content/models/archive.php
211445
components/com_content/models/category.php
Clone Instance
1
Line Count
11
Source Line
191
Source File
components/com_content/models/archive.php

                                case 'title' :
                                        $where.=  ' AND LOWER(a.title) LIKE '
                                                  .                           $filter;
                                        break;
                                case 'author' :
                                        $where.=  ' AND ((LOWER(u.name) LIKE '
                                                  .                            $filter
                                                  .                                    ') OR (LOWER(a.created_by_alias) LIKE '
                                                  .                                                                            $filter
                                                  .                                                                                    '))';
                                        break;
                                case 'hits' :
                                        $where.=  ' AND a.hits LIKE '
                                                  .                   $filter;
                                        break;


Clone Instance
2
Line Count
11
Source Line
445
Source File
components/com_content/models/category.php

                                        case 'title' :
                                                $where.=  ' AND LOWER(a.title) LIKE '
                                                          .                           $filter;
                                                break;
                                        case 'author' :
                                                $where.=  ' AND ((LOWER(u.name) LIKE '
                                                          .                            $filter
                                                          .                                    ') OR (LOWER(a.created_by_alias) LIKE '
                                                          .                                                                            $filter
                                                          .                                                                                    '))';
                                                break;
                                        case 'hits' :
                                                $where.=  ' AND a.hits LIKE '
                                                          .                   $filter;
                                                break;


Clone AbstractionParameter Count: 0Parameter Bindings

case 'title':
  $where.=' AND LOWER(a.title) LIKE '
          . $filter;
  break;
case 'author':
  $where.=' AND ((LOWER(u.name) LIKE '
          . $filter
          . ') OR (LOWER(a.created_by_alias) LIKE '
          . $filter
          . '))';
  break;
case 'hits':
  $where.=' AND a.hits LIKE '
          . $filter;
  break;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None