phpmetrix
Version:
phpmetrix for Node.js is a wrapper around phpmetrics that allows for integration with build systems like Grunt, Gulp and more!
23 lines (19 loc) • 625 B
YAML
default:
rules:
cyclomaticComplexity: [ 10, 6, 2 ]
maintainabilityIndex: [ 0, 75, 95 ]
failure: average.maintainabilityIndex < 50 or sum.loc > 10000
path:
directory: .
extensions: php
exclude: grunt|node_modules|public|storage|vendor
logging:
report:
#cli: true
xml: ./test/reports/phpmetrics.xml
html: ./test/reports/phpmetrics.html
csv: ./test/reports/phpmetrics.csv
violations:
xml: ./test/reports/violations.xml
chart:
bubbles: ./test/reports/bubbles.svg