Code Coverage
 
Lines
Branches
Paths
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 6
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
Php
0.00% covered (danger)
0.00%
0 / 6
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 execute
0.00% covered (danger)
0.00%
0 / 6
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace App\Service\ApplicationInfo;
4
5class Php extends Lib
6{
7    /**
8     * @var string[]
9     */
10    public array $requiredextensions = [
11        'Zend OPcache',
12        'ctype',
13        'curl',
14        'dom',
15        'fileinfo',
16        'gd',
17        'iconv',
18        'intl',
19        'json',
20        'mbstring',
21        'mysqli',
22        'PDO',
23        'SimpleXML',
24        'soap',
25        'tokenizer',
26        'xml',
27        'xmlwriter',
28        'zip',
29        'mysqli',
30        'pdo_mysql',
31        'xmlreader',
32        'gd',
33        'sodium',
34    ];
35
36    public function execute(): void
37    {
38        $this->resetCache();
39        $this->testVersion();
40        $this->testExtensions($this->requiredextensions);
41        $this->envReport();
42        $this->testDirectory();
43        $this->testDB($this->env['APP_DATABASE_URL'], 'SELECT * FROM parameter');
44    }
45}

Paths

Below are the source code lines that represent each code path as identified by Xdebug. Please note a path is not necessarily coterminous with a line, a line may contain multiple paths and therefore show up more than once. Please also be aware that some paths may include implicit rather than explicit branches, e.g. an if statement always has an else as part of its logical flow even if you didn't write one.

Php->execute
38        $this->resetCache();
39        $this->testVersion();
40        $this->testExtensions($this->requiredextensions);
41        $this->envReport();
42        $this->testDirectory();
43        $this->testDB($this->env['APP_DATABASE_URL'], 'SELECT * FROM parameter');
44    }