Pane   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 3
Bugs 0 Features 1
Metric Value
wmc 1
c 3
b 0
f 1
lcom 0
cbo 1
dl 0
loc 21
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getData() 0 6 1
1
<?php
2
namespace Xls\Record;
3
4
class Pane extends AbstractRecord
5
{
6
    const NAME = 'PANE';
7
    const ID = 0x0041;
8
9
    /**
10
     * @param $x
11
     * @param $y
12
     * @param $rowTop
13
     * @param $colLeft
14
     * @param $activePane
15
     *
16
     * @return string
17
     */
18
    public function getData($x, $y, $rowTop, $colLeft, $activePane)
19
    {
20
        $data = pack("vvvvv", $x, $y, $rowTop, $colLeft, $activePane);
21
22
        return $this->getFullRecord($data);
23
    }
24
}
25