AOEpeople/StackFormation

View on GitHub
src/AwsInspector/Command/Ec2/ListCommand.php

Summary

Maintainability
A
1 hr
Test Coverage

Showing 2 of 2 total issues

Method execute has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

protected function execute(InputInterface $input, OutputInterface $output)
{
$tags = $input->getOption('tag');
$tags = $this->convertTags($tags);
 
 
Severity: Minor
Found in src/AwsInspector/Command/Ec2/ListCommand.php - About 1 hr to fix

    Function execute has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
    Open

    protected function execute(InputInterface $input, OutputInterface $output)
    {
    $tags = $input->getOption('tag');
    $tags = $this->convertTags($tags);
     
     
    Severity: Minor
    Found in src/AwsInspector/Command/Ec2/ListCommand.php - About 25 mins to fix

    There are no issues that match your filters.

    Category
    Status