PhpMetrics icon indicating copy to clipboard operation
PhpMetrics copied to clipboard

Beautiful and understandable static analysis tool for PHP

Results 40 PhpMetrics issues
Sort by recently updated
recently updated
newest added

# Feature request Currently the vendor binary returns nothing, which makes it hard to integrate in any CI without the CI understanding PMD files. I suggest to make `Hal\Application\Application::run` return...

# Bug report Fatal Error ``` $ phpmetrics.phar ./ ... 14% ...PHP Warning: Undefined array key 314 in phar:///opt/php-tools/phpmetrics.phar/vendor/nikic/php-parser/lib/PhpParser/Lexer.php on line 293 PHP Fatal error: Uncaught TypeError: PhpParser\Lexer::getNextToken(): Return value...

Cannot reproduce
waiting for feedback

# Bug report ## Version 2.7.4 The `README.md` file includes this configuration file example of linking to a JUnit report: ```JSON "junit": { "file": "/tmp/junit.xml" } ``` However, the code...

documentation

After running the report and looking for outdated libraries, I see it's not optimal yet ### when minor part not mentioned, perhaps it should not complain about it aws/aws-sdk-php required...

Cannot reproduce

# Feature request Right now the tool show the total of the class of cyclomatic complexity but maybe there are some methods that require more than the other.

# Package Documentation First of all, thanks for all effort in this awesome package. Can please anyone provides simple & updated documentation for this package, I can't understand many of...

documentation

the table of class violations is a great piece of information. you can see a lot of information in there . ![grafik](https://user-images.githubusercontent.com/120441/77624198-b943b100-6f41-11ea-90ce-b56dba2e889f.png) for a dev not used to code metrics...

documentation

Hello, in the moment i test PhpMetrics. I use PhpStorm with the PhpMetrics - Plugin. I will write my own config file for PhpMetrics. For example i have a '...

bug
documentation

I noticed that the formula for maintainability index takes into consideration code comments. We frequently try to keep comments to a minimum and use self-explanatory code and php7 types whenever...

enhancement
question

sorry for opening so much small DX issues, but I feel like having separate issues makes it easier to work on them. hopefully you agree with me in this regard?...

documentation