CloneSet112


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
41001.000if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14159
administrator/components/com_installer/models/components.php
2478
administrator/components/com_installer/models/discover.php
34147
administrator/components/com_installer/models/languages.php
4474
administrator/components/com_installer/models/libraries.php
54142
administrator/components/com_installer/models/manage.php
64104
administrator/components/com_installer/models/modules.php
7467
administrator/components/com_installer/models/packages.php
84120
administrator/components/com_installer/models/plugins.php
94159
administrator/components/com_installer/models/templates.php
10467
administrator/components/com_installer/models/update.php
Clone Instance
1
Line Count
4
Source Line
159
Source File
administrator/components/com_installer/models/components.php

                if ($this->_state->get('pagination.limit')>  0) {
                        $this->_items = array_slice($rows, $this->_state->get('pagination.offset'), $this->_state->get('pagination.limit'));
                      }
                else   {
                        $this->_items = $rows;
                      }


Clone Instance
2
Line Count
4
Source Line
78
Source File
administrator/components/com_installer/models/discover.php

                if ($this->_state->get('pagination.limit')>  0) {
                        $this->_items = array_slice( $rows, $this->_state->get('pagination.offset'), $this->_state->get('pagination.limit'));
                      }
                else   {
                        $this->_items = $rows;
                      }


Clone Instance
3
Line Count
4
Source Line
147
Source File
administrator/components/com_installer/models/languages.php

                if ($this->_state->get('pagination.limit')>  0) {
                        $this->_items = array_slice($rows, $this->_state->get('pagination.offset'), $this->_state->get('pagination.limit'));
                      }
                else   {
                        $this->_items = $rows;
                      }


Clone Instance
4
Line Count
4
Source Line
74
Source File
administrator/components/com_installer/models/libraries.php

                if ($this->_state->get('pagination.limit')>  0) {
                        $this->_items = array_slice( $rows, $this->_state->get('pagination.offset'), $this->_state->get('pagination.limit'));
                      }
                else   {
                        $this->_items = $rows;
                      }


Clone Instance
5
Line Count
4
Source Line
142
Source File
administrator/components/com_installer/models/manage.php

                if ($this->_state->get('pagination.limit')>  0) {
                        $this->_items = array_slice( $rows, $this->_state->get('pagination.offset'), $this->_state->get('pagination.limit'));
                      }
                else   {
                        $this->_items = $rows;
                      }


Clone Instance
6
Line Count
4
Source Line
104
Source File
administrator/components/com_installer/models/modules.php

                if ($this->_state->get('pagination.limit')>  0) {
                        $this->_items = array_slice($rows, $this->_state->get('pagination.offset'), $this->_state->get('pagination.limit'));
                      }
                else   {
                        $this->_items = $rows;
                      }


Clone Instance
7
Line Count
4
Source Line
67
Source File
administrator/components/com_installer/models/packages.php

                if ($this->_state->get('pagination.limit')>  0) {
                        $this->_items = array_slice( $rows, $this->_state->get('pagination.offset'), $this->_state->get('pagination.limit'));
                      }
                else   {
                        $this->_items = $rows;
                      }


Clone Instance
8
Line Count
4
Source Line
120
Source File
administrator/components/com_installer/models/plugins.php

                if ($this->_state->get('pagination.limit')>  0) {
                        $this->_items = array_slice($rows, $this->_state->get('pagination.offset'), $this->_state->get('pagination.limit'));
                      }
                else   {
                        $this->_items = $rows;
                      }


Clone Instance
9
Line Count
4
Source Line
159
Source File
administrator/components/com_installer/models/templates.php

                if ($this->_state->get('pagination.limit')>  0) {
                        $this->_items = array_slice($rows, $this->_state->get('pagination.offset'), $this->_state->get('pagination.limit'));
                      }
                else   {
                        $this->_items = $rows;
                      }


Clone Instance
10
Line Count
4
Source Line
67
Source File
administrator/components/com_installer/models/update.php

                if ($this->_state->get('pagination.limit')>  0) {
                        $this->_items = array_slice( $rows, $this->_state->get('pagination.offset'), $this->_state->get('pagination.limit'));
                      }
                else   {
                        $this->_items = $rows;
                      }


Clone AbstractionParameter Count: 0Parameter Bindings

if ($this->_state->get('pagination.limit')>0) {
  $this->_items =array_slice($rows,$this->_state->get('pagination.offset'),$this->_state->get('pagination.limit'));
}
else {
  $this->_items =$rows;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None