Dockerfile linksPhpMetrics is a static analysis tool for PHP. It provides tons of metrics:
Basic usage using current user.
docker run --rm \
--user $(id -u):$(id -g) \
--volume /local/path:/project \
herloct/phpmetrics[:tag] [<options>]
For example, to generate metrics of our src directory.
docker run --rm \
--user $(id -u):$(id -g) \
--volume /local/path:/project \
herloct/phpmetrics --report-html=build/metrics src
Content type
Image
Digest
Size
26 MB
Last updated
over 9 years ago
docker pull herloct/phpmetrics