| # | File | Line | Problem |
| 1 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
47 |
The class TrackCommand has a coupling between objects value of 21. Consider to reduce the number of dependencies under 13. |
| 2 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
53 |
Avoid using static access to class '\Alxvng\QATracker\Root\Root' in method 'getBaseDir'. |
| 3 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
81 |
Avoid using static access to class '\DateTime' in method 'initializeTrackDate'. |
| 4 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
84 |
Missing class import via use statement (line '84', column '23'). |
| 5 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
110 |
Avoid unused local variables such as '$outputDir'. |
| 6 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
143 |
Avoid variables with short names like $io. Configured minimum length is 3. |
| 7 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
165 |
The method interact uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. |
| 8 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
166 |
Avoid variables with short names like $fs. Configured minimum length is 3. |
| 9 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
167 |
Avoid using static access to class '\Alxvng\QATracker\Configuration\Configuration' in method 'interact'. |
| 10 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
191 |
The method execute() has 106 lines of code. Current threshold is set to 100. Avoid really long methods. |
| 11 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
193 |
Avoid variables with short names like $io. Configured minimum length is 3. |
| 12 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
194 |
Avoid using static access to class '\Alxvng\QATracker\Twig\TwigFactory' in method 'execute'. |
| 13 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
213 |
Avoid using static access to class '\Alxvng\QATracker\Configuration\Configuration' in method 'execute'. |
| 14 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
252 |
Avoid using static access to class '\Alxvng\QATracker\Chart\ChartGenerator' in method 'execute'. |
| 15 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
271 |
Avoid using static access to class '\Goat1000\SVGGraph\SVGGraph' in method 'execute'. |
| 16 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
313 |
Avoid using static access to class '\Alxvng\QATracker\DataProvider\Model\AbstractDataSerie' in method 'loadDataSeries'. |
| 17 |
/var/www/qa-tracker/src/Command/TrackCommand.php |
326 |
Avoid using static access to class '\Alxvng\QATracker\DataProvider\Model\AbstractDataSerie' in method 'loadDataSeries'. |
| 18 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
14 |
Avoid using static access to class '\Alxvng\QATracker\Root\Root' in method 'exampleConfigPath'. |
| 19 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
22 |
The method load() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. |
| 20 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
22 |
The method load() has an NPath complexity of 384. The configured NPath complexity threshold is 200. |
| 21 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
31 |
Avoid using static access to class '\Symfony\Component\Yaml\Yaml' in method 'load'. |
| 22 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
40 |
Avoid using static access to class '\Symfony\Component\Yaml\Yaml' in method 'load'. |
| 23 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
72 |
Avoid variables with short names like $id. Configured minimum length is 3. |
| 24 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
87 |
Avoid variables with short names like $id. Configured minimum length is 3. |
| 25 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
87 |
Avoid unused parameters such as '$chart'. |
| 26 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
98 |
Avoid using static access to class '\Alxvng\QATracker\DataProvider\Model\AbstractDataSerie' in method 'validateStandardProvider'. |
| 27 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
102 |
Avoid variables with short names like $id. Configured minimum length is 3. |
| 28 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
122 |
Avoid using static access to class '\Alxvng\QATracker\DataProvider\Model\AbstractDataSerie' in method 'validatePercentProvider'. |
| 29 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
126 |
Avoid variables with short names like $id. Configured minimum length is 3. |
| 30 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
148 |
Avoid using undefined variables such as '$dataSerie' which will lead to PHP notices. |
| 31 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
149 |
Avoid using undefined variables such as '$dataSerie' which will lead to PHP notices. |
| 32 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
158 |
Avoid using undefined variables such as '$chart' which will lead to PHP notices. |
| 33 |
/var/www/qa-tracker/src/Configuration/Configuration.php |
159 |
Avoid using undefined variables such as '$chart' which will lead to PHP notices. |
| 34 |
/var/www/qa-tracker/src/DataProvider/AbstractJsonPathProvider.php |
27 |
Avoid variables with short names like $fs. Configured minimum length is 3. |
| 35 |
/var/www/qa-tracker/src/DataProvider/AbstractJsonPathProvider.php |
32 |
Missing class import via use statement (line '32', column '23'). |
| 36 |
/var/www/qa-tracker/src/DataProvider/AbstractJsonPathProvider.php |
36 |
Missing class import via use statement (line '36', column '23'). |
| 37 |
/var/www/qa-tracker/src/DataProvider/AbstractJsonPathProvider.php |
42 |
Missing class import via use statement (line '42', column '23'). |
| 38 |
/var/www/qa-tracker/src/DataProvider/AbstractXpathProvider.php |
34 |
Avoid variables with short names like $fs. Configured minimum length is 3. |
| 39 |
/var/www/qa-tracker/src/DataProvider/AbstractXpathProvider.php |
48 |
Avoid unused local variables such as '$xml'. |
| 40 |
/var/www/qa-tracker/src/DataProvider/AbstractXpathProvider.php |
50 |
Missing class import via use statement (line '50', column '23'). |
| 41 |
/var/www/qa-tracker/src/DataProvider/Finder/ProviderFinder.php |
9 |
Avoid variables with short names like $id. Configured minimum length is 3. |
| 42 |
/var/www/qa-tracker/src/DataProvider/Finder/ProviderFinder.php |
12 |
Missing class import via use statement (line '12', column '23'). |
| 43 |
/var/www/qa-tracker/src/DataProvider/Model/AbstractDataSerie.php |
15 |
Avoid variables with short names like $id. Configured minimum length is 3. |
| 44 |
/var/www/qa-tracker/src/DataProvider/Model/DataPercentSerie.php |
14 |
Avoid excessively long variable names like $totalPercentDataSerie. Keep variable name length under 20. |
| 45 |
/var/www/qa-tracker/src/DataProvider/Model/DataPercentSerie.php |
35 |
Avoid using static access to class '\Alxvng\QATracker\DataProvider\Finder\ProviderFinder' in method '__construct'. |
| 46 |
/var/www/qa-tracker/src/DataProvider/Model/DataPercentSerie.php |
36 |
Avoid using static access to class '\Alxvng\QATracker\DataProvider\Finder\ProviderFinder' in method '__construct'. |
| 47 |
/var/www/qa-tracker/src/DataProvider/Model/DataPercentSerie.php |
74 |
Missing class import via use statement (line '74', column '23'). |
| 48 |
/var/www/qa-tracker/src/DataProvider/Model/DataPercentSerie.php |
78 |
Missing class import via use statement (line '78', column '23'). |
| 49 |
/var/www/qa-tracker/src/DataProvider/Model/DataPercentSerie.php |
82 |
Missing class import via use statement (line '82', column '23'). |
| 50 |
/var/www/qa-tracker/src/DataProvider/Model/DataPercentSerie.php |
86 |
Missing class import via use statement (line '86', column '23'). |
| 51 |
/var/www/qa-tracker/src/DataProvider/Reducer/AverageReducerTrait.php |
12 |
Missing class import via use statement (line '12', column '27'). |
| 52 |
/var/www/qa-tracker/src/DataProvider/Reducer/SumReducerTrait.php |
12 |
Missing class import via use statement (line '12', column '27'). |
| 53 |
/var/www/qa-tracker/src/DataProvider/XpathProvider.php |
26 |
Missing class import via use statement (line '26', column '23'). |
| 54 |
/var/www/qa-tracker/tests/Chart/ChartGeneratorTest.php |
13 |
Avoid using static access to class '\Alxvng\QATracker\Chart\ChartGenerator' in method 'testGenerate'. |
| 55 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
17 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 56 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
18 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 57 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
19 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 58 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
20 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 59 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
23 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 60 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
28 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 61 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
29 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 62 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
30 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 63 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
31 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 64 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
42 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 65 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
52 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 66 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
53 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 67 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
54 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 68 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
55 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 69 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
61 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'testGetFirstProvider'. |
| 70 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
62 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'testGetFirstProvider'. |
| 71 |
/var/www/qa-tracker/tests/Chart/ChartTest.php |
66 |
Avoid using undefined variables such as '$config' which will lead to PHP notices. |
| 72 |
/var/www/qa-tracker/tests/Command/TrackCommandTest.php |
16 |
Avoid variables with short names like $fs. Configured minimum length is 3. |
| 73 |
/var/www/qa-tracker/tests/Command/TrackCommandTest.php |
17 |
Avoid using static access to class '\Alxvng\QATracker\Command\TrackCommand' in method 'testExecuteNoConfigFile'. |
| 74 |
/var/www/qa-tracker/tests/Command/TrackCommandTest.php |
30 |
Avoid variables with short names like $fs. Configured minimum length is 3. |
| 75 |
/var/www/qa-tracker/tests/Command/TrackCommandTest.php |
32 |
Avoid using static access to class '\Alxvng\QATracker\Configuration\Configuration' in method 'testExecuteWithConfigFile'. |
| 76 |
/var/www/qa-tracker/tests/Command/TrackCommandTest.php |
33 |
Avoid using static access to class '\Alxvng\QATracker\Command\TrackCommand' in method 'testExecuteWithConfigFile'. |
| 77 |
/var/www/qa-tracker/tests/Configuration/ConfigurationTest.php |
14 |
Avoid using static access to class '\Alxvng\QATracker\Configuration\Configuration' in method 'testExampleConfigPath'. |
| 78 |
/var/www/qa-tracker/tests/Configuration/ConfigurationTest.php |
15 |
Avoid using static access to class '\Alxvng\QATracker\Configuration\Configuration' in method 'testExampleConfigPath'. |
| 79 |
/var/www/qa-tracker/tests/Configuration/ConfigurationTest.php |
27 |
Avoid using static access to class '\Alxvng\QATracker\Configuration\Configuration' in method 'testLoadWithException'. |
| 80 |
/var/www/qa-tracker/tests/Configuration/ConfigurationTest.php |
37 |
Avoid using static access to class '\Alxvng\QATracker\Configuration\Configuration' in method 'testLoad'. |
| 81 |
/var/www/qa-tracker/tests/DataProvider/Finder/ProviderFinderTest.php |
14 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'testFindById'. |
| 82 |
/var/www/qa-tracker/tests/DataProvider/Finder/ProviderFinderTest.php |
15 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'testFindById'. |
| 83 |
/var/www/qa-tracker/tests/DataProvider/Finder/ProviderFinderTest.php |
21 |
Avoid using static access to class '\Alxvng\QATracker\DataProvider\Finder\ProviderFinder' in method 'testFindById'. |
| 84 |
/var/www/qa-tracker/tests/DataProvider/Finder/ProviderFinderTest.php |
29 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'testFindByIdException'. |
| 85 |
/var/www/qa-tracker/tests/DataProvider/Finder/ProviderFinderTest.php |
30 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'testFindByIdException'. |
| 86 |
/var/www/qa-tracker/tests/DataProvider/Finder/ProviderFinderTest.php |
36 |
Avoid using static access to class '\Alxvng\QATracker\DataProvider\Finder\ProviderFinder' in method 'testFindByIdException'. |
| 87 |
/var/www/qa-tracker/tests/DataProvider/Model/DataPercentSerieTest.php |
18 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'testCollect'. |
| 88 |
/var/www/qa-tracker/tests/DataProvider/Model/DataPercentSerieTest.php |
38 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'testConstructorPercentException'. |
| 89 |
/var/www/qa-tracker/tests/DataProvider/Model/DataPercentSerieTest.php |
47 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'testConstructorItselfException'. |
| 90 |
/var/www/qa-tracker/tests/DataProvider/Model/DataStandardSerieTest.php |
42 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'getInstanceProvider'. |
| 91 |
/var/www/qa-tracker/tests/DataProvider/Model/DataStandardSerieTest.php |
46 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'getInstanceProvider'. |
| 92 |
/var/www/qa-tracker/tests/DataProvider/Model/DataStandardSerieTest.php |
50 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'getInstanceProvider'. |
| 93 |
/var/www/qa-tracker/tests/DataProvider/Model/DataStandardSerieTest.php |
60 |
Avoid using static access to class '\Alxvng\QATracker\Tests\Mock' in method 'testCollect'. |
| 94 |
/var/www/qa-tracker/tests/Mock.php |
16 |
Avoid variables with short names like $id. Configured minimum length is 3. |
| 95 |
/var/www/qa-tracker/tests/Mock.php |
35 |
Avoid variables with short names like $id. Configured minimum length is 3. |
| 96 |
/var/www/qa-tracker/tests/Mock.php |
54 |
Avoid variables with short names like $id. Configured minimum length is 3. |
| 97 |
/var/www/qa-tracker/tests/Mock.php |
83 |
Avoid using static access to class 'Alxvng\QATracker\Tests\Mock' in method 'dataPercentSerieWithPercentProvider'. |
| 98 |
/var/www/qa-tracker/tests/Mock.php |
97 |
Avoid using static access to class 'Alxvng\QATracker\Tests\Mock' in method 'dataPercentSerieWithPercentProvider'. |
| 99 |
/var/www/qa-tracker/tests/Mock.php |
118 |
Avoid using static access to class 'Alxvng\QATracker\Tests\Mock' in method 'dataPercentSerie'. |
| 100 |
/var/www/qa-tracker/tests/Mock.php |
119 |
Avoid using static access to class 'Alxvng\QATracker\Tests\Mock' in method 'dataPercentSerie'. |
| 101 |
/var/www/qa-tracker/tests/Mock.php |
139 |
Avoid using static access to class 'Alxvng\QATracker\Tests\Mock' in method 'dataPercentSerieWithItSelfProvider'. |