How to build app size indicators?


#1

Hello,

I am working on a very large Meteor application. I would like to build some scale indicators + raw numbers like number of files, lines of code, etc. to present to the stakeholders.

We all know that the complexity or quality isn’t in the number of lines or files, but these numbers can also help me give them an idea of the scale of what I am dealing with.

Do you know of tools that could help me easily calculate such indicators (excluding the code of Meteor itself)?

Thanks!


#2

I found sloc and it met my needs.


#3

You could also take a look at complexity-report (which is really just a CLI wrapper around escomplex). It goes a bit further than lines of code, giving you a wide range of complexity metrics (you can see the metrics here).


#4

@hwillson Thank you for pointing this out. I will definitely give it a try.