karma-complexity-preprocessor

  •        0

* install the module using ``npm install karma-complexity-preprocessor``* in your karma configuration file add the preprocessor to the files you want to have the metrics (under the name ``complexity``)```javascript//configuration file (ie karma.conf.js)preprocessors: { 'src/*.j':['complexity']}```*lauch your test as usual

https://github.com/lorenzofox3/karma-complexity-preprocessor

Tags
Implementation
License
Platform

   

comments powered by Disqus


Related Projects