PpsFile   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 6
Bugs 1 Features 1
Metric Value
wmc 1
c 6
b 1
f 1
lcom 0
cbo 2
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace Xls\OLE;
4
5
class PpsFile extends PPS
6
{
7
    /**
8
     * The constructor
9
     *
10
     * @param string $name The name of the file (in Unicode)
11
     */
12
    public function __construct($name)
13
    {
14
        parent::__construct(
15
            null,
16
            OLE::asc2Ucs($name),
17
            self::PPS_TYPE_FILE
18
        );
19
    }
20
}
21