Version 4.0.0 released!
Yay! We are proud to release version 4.0.0 of Management Code Metrics, which has the following improvements:
Custom metrics can now be dynamically created by changing the metric text.
Some real examples:
{"metric":"critical_violations__PER_K_ncloc","filename":"CriticalViolationsPerThousandLines","title":"Criticals Per Thousand Lines"},
Will create a metric "Criticals Per Thousand Lines" by taking the 1000.0 * number of critical violations and dividing it by the number of non-comment lines in your projects.
{"metric":"critical_violations__PER_H_ncloc","filename":"CriticalViolationsPerHundredLines","title":"Criticals Per Hundred Lines"},
Will create a metric "Criticals Per Hundred Lines" by taking the 100.0 * number of critical violations and dividing it by the number of non-comment lines in your projects.
{"metric":"critical_violations__PER__ncloc","filename":"CriticalViolationsPerLines","title":"Criticals Per Lines"},
Will create a metric "Criticals Per Lines" by taking the number of critical violations and dividing it by the number of non-comment lines in your projects.
Some bug fixes and better defaults are also included in this release.
As always, please feel free to ask a question or open an issue in the github repo at https://github.com/larrydiamond/sqgraph