Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 3 | 5 | 0.975 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 297 | libraries/joomla/filesystem/archive/zip.php |
2 | 5 | 307 | libraries/joomla/filesystem/archive/zip.php |
3 | 5 | 323 | libraries/joomla/filesystem/archive/zip.php |
| ||||
if (strlen($data)< $fhStart+ 31) { $this->set('error.message', 'Invalid ZIP data'); return FALSE; } $info= unpack('vMethod/VTime/VCRC32/VCompressed/VUncompressed/vLength', substr($data, $fhStart+ 10, 20)); |
| ||||
if (strlen($data)< $fhStart+ 43) { $this->set('error.message', 'Invalid ZIP data'); return FALSE; } $info= unpack('vInternal/VExternal/VOffset', substr($data, $fhStart+ 36, 10)); |
| ||||
if (strlen($data)< $lfhStart+ 34) { $this->set('error.message', 'Invalid ZIP data'); return FALSE; } $info= unpack('vMethod/VTime/VCRC32/VCompressed/VUncompressed/vLength/vExtraLength', substr($data, $lfhStart+ 8, 25)); |
| |||
if (strlen($data)< [[#variable522f3360]]+ [[#variable522f32a0]]) { $this->set('error.message','Invalid ZIP data'); return FALSE; } $info=unpack( [[#variable522f3260]],substr($data, [[#variable522f3360]]+ [[#variable522f31e0]], [[#variable522f3180]])); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#522f3360]] | $lfhStart |
1 | 2 | [[#522f3360]] | $fhStart |
1 | 3 | [[#522f3360]] | $fhStart |
2 | 1 | [[#522f32a0]] | 34 |
2 | 2 | [[#522f32a0]] | 43 |
2 | 3 | [[#522f32a0]] | 31 |
3 | 1 | [[#522f3260]] | 'vMethod/VTime/VCRC32/VCompressed/VUncompressed/vLength/vExtraLength' |
3 | 2 | [[#522f3260]] | 'vInternal/VExternal/VOffset' |
3 | 3 | [[#522f3260]] | 'vMethod/VTime/VCRC32/VCompressed/VUncompressed/vLength' |
4 | 1 | [[#522f31e0]] | 8 |
4 | 2 | [[#522f31e0]] | 36 |
4 | 3 | [[#522f31e0]] | 10 |
5 | 1 | [[#522f3180]] | 25 |
5 | 2 | [[#522f3180]] | 10 |
5 | 3 | [[#522f3180]] | 20 |