PHPMetrics analysis tool for Drupal


PHPMetrics is a Static Analysis tool for PHP.

PHPMetrics documentation is available here.

Module Requirement

Requires phpmetrics.phar to be present at /vendor/bin directory of this module. For ease of use, a phar file is already present at the desired location to make the installation and use simpler. However if you intend to use a different version, you can do so by downloading the phar and replacing the default file. Checkout PHPMetrics phar releases here.

Configuration Summary

PHPMetrics can scan and generate report for a directory. We recomend using it on your custom modules directory to validate the custom code running in your site.

Additional Information

You can run composer install -o to install the dependencies in the module directory, although it is highly recomended to use official phar releases. Use the composer.json if you want to customise/tweak for some custom magic!


Issues/Todo:

  • Unit tests will be published with next version
  • CRON job to delete logs
  • Theme log messages (planned)
  • Default configurations to be streamlined

Authors:

Supporting organizations: 

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • Project categories: User engagement, Integrations
  • Created by ramit.mitra on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases