Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.980 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 237 | libraries/joomla/utilities/date.php |
2 | 4 | 241 | libraries/joomla/utilities/date.php |
| ||||
if (strpos($format, '%a') !== FALSE) $format= str_replace('%a', $this->_dayToString(date('w', $time), TRUE), $format); if (strpos($format, '%A') !== FALSE) $format= str_replace('%A', $this->_dayToString(date('w', $time)), $format); |
| ||||
if (strpos($format, '%b') !== FALSE) $format= str_replace('%b', $this->_monthToString(date('n', $time), TRUE), $format); if (strpos($format, '%B') !== FALSE) $format= str_replace('%B', $this->_monthToString(date('n', $time)), $format); |
| |||
if (strpos($format, [[#variable584fee00]]) !== FALSE) $format=str_replace( [[#variable584fee00]],$this-> [[#variable584feda0]](date( [[#variable584fed80]],$time),TRUE),$format); if (strpos($format, [[#variable584fed00]]) !== FALSE) $format=str_replace( [[#variable584fed00]],$this-> [[#variable584feda0]](date( [[#variable584fed80]],$time)),$format); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#584fee00]] | '%b' |
1 | 2 | [[#584fee00]] | '%a' |
2 | 1 | [[#584feda0]] | _monthToString |
2 | 2 | [[#584feda0]] | _dayToString |
3 | 1 | [[#584fed80]] | 'n' |
3 | 2 | [[#584fed80]] | 'w' |
4 | 1 | [[#584fed00]] | '%B' |
4 | 2 | [[#584fed00]] | '%A' |