SafeBrowsingTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 2
b 1
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testResult() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
use PHPUnit\Framework\TestCase;
6
use rOpenDev\Google\SafeBrowsing;
7
8
final class SafeBrowsingTest extends TestCase
9
{
10
    public function testResult(): void
11
    {
12
        $result = SafeBrowsing::get('https://piedweb.com');
13
14
        $this->assertTrue($result);
15
    }
16
}
17