CloneSet17


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
72240.957if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
173351
libraries/simplepie/simplepie.php
273374
libraries/simplepie/simplepie.php
373458
libraries/simplepie/simplepie.php
473484
libraries/simplepie/simplepie.php
573559
libraries/simplepie/simplepie.php
673580
libraries/simplepie/simplepie.php
773673
libraries/simplepie/simplepie.php
873707
libraries/simplepie/simplepie.php
973906
libraries/simplepie/simplepie.php
1074044
libraries/simplepie/simplepie.php
1174070
libraries/simplepie/simplepie.php
1274144
libraries/simplepie/simplepie.php
1374174
libraries/simplepie/simplepie.php
1474223
libraries/simplepie/simplepie.php
1574248
libraries/simplepie/simplepie.php
1674327
libraries/simplepie/simplepie.php
1774352
libraries/simplepie/simplepie.php
1874527
libraries/simplepie/simplepie.php
1974629
libraries/simplepie/simplepie.php
2074693
libraries/simplepie/simplepie.php
2174738
libraries/simplepie/simplepie.php
2274797
libraries/simplepie/simplepie.php
Clone Instance
1
Line Count
7
Source Line
3351
Source File
libraries/simplepie/simplepie.php

                                if ( isset ($category['attribs']['']['scheme']))
                                {
                                        $scheme=  $this->sanitize($category['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                      }
                                else
                                {
                                        $scheme=  'http://search.yahoo.com/mrss/category_schema';
                                      }


Clone Instance
2
Line Count
7
Source Line
3374
Source File
libraries/simplepie/simplepie.php

                                if ( isset ($category['attribs']['']['scheme']))
                                {
                                        $scheme=  $this->sanitize($category['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                      }
                                else
                                {
                                        $scheme=  'http://search.yahoo.com/mrss/category_schema';
                                      }


Clone Instance
3
Line Count
7
Source Line
3458
Source File
libraries/simplepie/simplepie.php

                                        if ( isset ($credit['attribs']['']['scheme']))
                                        {
                                                $credit_scheme=  $this->sanitize($credit['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                              }
                                        else
                                        {
                                                $credit_scheme=  'urn:ebu';
                                              }


Clone Instance
4
Line Count
7
Source Line
3484
Source File
libraries/simplepie/simplepie.php

                                        if ( isset ($credit['attribs']['']['scheme']))
                                        {
                                                $credit_scheme=  $this->sanitize($credit['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                              }
                                        else
                                        {
                                                $credit_scheme=  'urn:ebu';
                                              }


Clone Instance
5
Line Count
7
Source Line
3559
Source File
libraries/simplepie/simplepie.php

                                        if ( isset ($hash['attribs']['']['algo']))
                                        {
                                                $algo=  $this->sanitize($hash['attribs']['']['algo'], SIMPLEPIE_CONSTRUCT_TEXT);
                                              }
                                        else
                                        {
                                                $algo=  'md5';
                                              }


Clone Instance
6
Line Count
7
Source Line
3580
Source File
libraries/simplepie/simplepie.php

                                        if ( isset ($hash['attribs']['']['algo']))
                                        {
                                                $algo=  $this->sanitize($hash['attribs']['']['algo'], SIMPLEPIE_CONSTRUCT_TEXT);
                                              }
                                        else
                                        {
                                                $algo=  'md5';
                                              }


Clone Instance
7
Line Count
7
Source Line
3673
Source File
libraries/simplepie/simplepie.php

                                        if ( isset ($rating['attribs']['']['scheme']))
                                        {
                                                $rating_scheme=  $this->sanitize($rating['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                              }
                                        else
                                        {
                                                $rating_scheme=  'urn:simple';
                                              }


Clone Instance
8
Line Count
7
Source Line
3707
Source File
libraries/simplepie/simplepie.php

                                        if ( isset ($rating['attribs']['']['scheme']))
                                        {
                                                $rating_scheme=  $this->sanitize($rating['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                              }
                                        else
                                        {
                                                $rating_scheme=  'urn:simple';
                                              }


Clone Instance
9
Line Count
7
Source Line
3906
Source File
libraries/simplepie/simplepie.php

                                                if ( isset ($content['attribs']['']['duration']))
                                                {
                                                        $duration=  $this->sanitize($content['attribs']['']['duration'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                      }
                                                else
                                                {
                                                        $duration=  $duration_parent;
                                                      }


Clone Instance
10
Line Count
7
Source Line
4044
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($category['attribs']['']['scheme']))
                                                                {
                                                                        $scheme=  $this->sanitize($category['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $scheme=  'http://search.yahoo.com/mrss/category_schema';
                                                                      }


Clone Instance
11
Line Count
7
Source Line
4070
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($category['attribs']['']['scheme']))
                                                                {
                                                                        $scheme=  $this->sanitize($category['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $scheme=  'http://search.yahoo.com/mrss/category_schema';
                                                                      }


Clone Instance
12
Line Count
7
Source Line
4144
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($credit['attribs']['']['scheme']))
                                                                {
                                                                        $credit_scheme=  $this->sanitize($credit['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $credit_scheme=  'urn:ebu';
                                                                      }


Clone Instance
13
Line Count
7
Source Line
4174
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($credit['attribs']['']['scheme']))
                                                                {
                                                                        $credit_scheme=  $this->sanitize($credit['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $credit_scheme=  'urn:ebu';
                                                                      }


Clone Instance
14
Line Count
7
Source Line
4223
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($hash['attribs']['']['algo']))
                                                                {
                                                                        $algo=  $this->sanitize($hash['attribs']['']['algo'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $algo=  'md5';
                                                                      }


Clone Instance
15
Line Count
7
Source Line
4248
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($hash['attribs']['']['algo']))
                                                                {
                                                                        $algo=  $this->sanitize($hash['attribs']['']['algo'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $algo=  'md5';
                                                                      }


Clone Instance
16
Line Count
7
Source Line
4327
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($rating['attribs']['']['scheme']))
                                                                {
                                                                        $rating_scheme=  $this->sanitize($rating['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $rating_scheme=  'urn:simple';
                                                                      }


Clone Instance
17
Line Count
7
Source Line
4352
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($rating['attribs']['']['scheme']))
                                                                {
                                                                        $rating_scheme=  $this->sanitize($rating['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $rating_scheme=  'urn:simple';
                                                                      }


Clone Instance
18
Line Count
7
Source Line
4527
Source File
libraries/simplepie/simplepie.php

                                                if ( isset ($content['attribs']['']['duration']))
                                                {
                                                        $duration=  $this->sanitize($content['attribs']['']['duration'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                      }
                                                else
                                                {
                                                        $duration=  $duration_parent;
                                                      }


Clone Instance
19
Line Count
7
Source Line
4629
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($category['attribs']['']['scheme']))
                                                                {
                                                                        $scheme=  $this->sanitize($category['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $scheme=  'http://search.yahoo.com/mrss/category_schema';
                                                                      }


Clone Instance
20
Line Count
7
Source Line
4693
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($credit['attribs']['']['scheme']))
                                                                {
                                                                        $credit_scheme=  $this->sanitize($credit['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $credit_scheme=  'urn:ebu';
                                                                      }


Clone Instance
21
Line Count
7
Source Line
4738
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($hash['attribs']['']['algo']))
                                                                {
                                                                        $algo=  $this->sanitize($hash['attribs']['']['algo'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $algo=  'md5';
                                                                      }


Clone Instance
22
Line Count
7
Source Line
4797
Source File
libraries/simplepie/simplepie.php

                                                                if ( isset ($rating['attribs']['']['scheme']))
                                                                {
                                                                        $rating_scheme=  $this->sanitize($rating['attribs']['']['scheme'], SIMPLEPIE_CONSTRUCT_TEXT);
                                                                      }
                                                                else
                                                                {
                                                                        $rating_scheme=  'urn:simple';
                                                                      }


Clone AbstractionParameter Count: 4Parameter Bindings

if ( isset ( [[#variable44e39ca0]]['attribs'][''][ [[#variable44e39b80]]])) {
   [[#variable585f5040]]=$this->sanitize( [[#variable44e39ca0]]['attribs'][''][ [[#variable44e39b80]]],SIMPLEPIE_CONSTRUCT_TEXT);
}
else {
   [[#variable585f5040]]= [[#variable44e39bc0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#44e39ca0]]
$credit 
12[[#44e39ca0]]
$hash 
13[[#44e39ca0]]
$rating 
14[[#44e39ca0]]
$content 
15[[#44e39ca0]]
$category 
16[[#44e39ca0]]
$credit 
17[[#44e39ca0]]
$category 
18[[#44e39ca0]]
$hash 
19[[#44e39ca0]]
$rating 
110[[#44e39ca0]]
$category 
111[[#44e39ca0]]
$category 
112[[#44e39ca0]]
$credit 
113[[#44e39ca0]]
$credit 
114[[#44e39ca0]]
$hash 
115[[#44e39ca0]]
$hash 
116[[#44e39ca0]]
$rating 
117[[#44e39ca0]]
$rating 
118[[#44e39ca0]]
$content 
119[[#44e39ca0]]
$category 
120[[#44e39ca0]]
$credit 
121[[#44e39ca0]]
$hash 
122[[#44e39ca0]]
$rating 
21[[#44e39b80]]
'scheme' 
22[[#44e39b80]]
'algo' 
23[[#44e39b80]]
'scheme' 
24[[#44e39b80]]
'duration' 
25[[#44e39b80]]
'scheme' 
26[[#44e39b80]]
'scheme' 
27[[#44e39b80]]
'scheme' 
28[[#44e39b80]]
'algo' 
29[[#44e39b80]]
'scheme' 
210[[#44e39b80]]
'scheme' 
211[[#44e39b80]]
'scheme' 
212[[#44e39b80]]
'scheme' 
213[[#44e39b80]]
'scheme' 
214[[#44e39b80]]
'algo' 
215[[#44e39b80]]
'algo' 
216[[#44e39b80]]
'scheme' 
217[[#44e39b80]]
'scheme' 
218[[#44e39b80]]
'duration' 
219[[#44e39b80]]
'scheme' 
220[[#44e39b80]]
'scheme' 
221[[#44e39b80]]
'algo' 
222[[#44e39b80]]
'scheme' 
31[[#585f5040]]
$credit_scheme 
32[[#585f5040]]
$algo 
33[[#585f5040]]
$rating_scheme 
34[[#585f5040]]
$duration 
35[[#585f5040]]
$scheme 
36[[#585f5040]]
$credit_scheme 
37[[#585f5040]]
$scheme 
38[[#585f5040]]
$algo 
39[[#585f5040]]
$rating_scheme 
310[[#585f5040]]
$scheme 
311[[#585f5040]]
$scheme 
312[[#585f5040]]
$credit_scheme 
313[[#585f5040]]
$credit_scheme 
314[[#585f5040]]
$algo 
315[[#585f5040]]
$algo 
316[[#585f5040]]
$rating_scheme 
317[[#585f5040]]
$rating_scheme 
318[[#585f5040]]
$duration 
319[[#585f5040]]
$scheme 
320[[#585f5040]]
$credit_scheme 
321[[#585f5040]]
$algo 
322[[#585f5040]]
$rating_scheme 
41[[#44e39bc0]]
'urn:ebu' 
42[[#44e39bc0]]
'md5' 
43[[#44e39bc0]]
'urn:simple' 
44[[#44e39bc0]]
$duration_parent 
45[[#44e39bc0]]
'http://search.yahoo.com/mrss/category_schema' 
46[[#44e39bc0]]
'urn:ebu' 
47[[#44e39bc0]]
'http://search.yahoo.com/mrss/category_schema' 
48[[#44e39bc0]]
'md5' 
49[[#44e39bc0]]
'urn:simple' 
410[[#44e39bc0]]
'http://search.yahoo.com/mrss/category_schema' 
411[[#44e39bc0]]
'http://search.yahoo.com/mrss/category_schema' 
412[[#44e39bc0]]
'urn:ebu' 
413[[#44e39bc0]]
'urn:ebu' 
414[[#44e39bc0]]
'md5' 
415[[#44e39bc0]]
'md5' 
416[[#44e39bc0]]
'urn:simple' 
417[[#44e39bc0]]
'urn:simple' 
418[[#44e39bc0]]
$duration_parent 
419[[#44e39bc0]]
'http://search.yahoo.com/mrss/category_schema' 
420[[#44e39bc0]]
'urn:ebu' 
421[[#44e39bc0]]
'md5' 
422[[#44e39bc0]]
'urn:simple'