Developers love writing code. But most developers don't like maintaining code. Writing code that is well structured, follows some guidelines and is less complex helps maintaining it, and also helps finding and avoiding bugs.
What does it show?
It shows a nice formatted and visualized summary of the state of your code counting the lines of code you wrote, calculating branching complexity measures, a score for the difficulty of the code and a score for the maintainability using the Halstead Complexity Measures.
How to use it?
npm install -g plato
Create the report:
plato -r -d complexity src
Watch the report:
And now go try make your code better!