Completed
Push — develop ( 4b4831...408da0 )
by Adrien
28:25 queued 17:13
created

HTMLTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testCsvWithAngleBracket() 0 5 1
A getInstance() 0 4 1
1
<?php
2
3
namespace PhpOffice\PhpSpreadsheetTests\Reader;
4
5
use PhpOffice\PhpSpreadsheet\Reader\HTML;
6
7
class HTMLTest extends \PHPUnit_Framework_TestCase
8
{
9
    public function testCsvWithAngleBracket()
10
    {
11
        $filename = __DIR__ . '/../../data/Reader/HTML/csv_with_angle_bracket.csv';
12
        $this->assertFalse($this->getInstance()->canRead($filename));
13
    }
14
15
    private function getInstance()
16
    {
17
        return new HTML();
18
    }
19
}
20