CodeCoverageController   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 12
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A execute() 0 2 1
A configure() 0 3 1
1
<?php
2
/**
3
 * Behat Code Coverage
4
 */
5
declare(strict_types=1);
6
7
namespace DVDoug\Behat\CodeCoverage\Controller\Cli;
8
9
use Behat\Testwork\Cli\Controller;
10
use Symfony\Component\Console\Command\Command;
11
use Symfony\Component\Console\Input\InputInterface;
12
use Symfony\Component\Console\Input\InputOption;
13
use Symfony\Component\Console\Output\OutputInterface;
14
15
class CodeCoverageController implements Controller
16
{
17 37
    public function configure(Command $command): void
18
    {
19 37
        $command->addOption('no-coverage', null, InputOption::VALUE_NONE, 'Skip Code Coverage generation');
20
    }
21
22
    /**
23
     * @codeCoverageIgnore
24
     */
25
    public function execute(InputInterface $input, OutputInterface $output): void
26
    {
27
    }
28
}
29