How to quickly identify bad projects with IDEA plug-in Statistic
Most people don't understand the knowledge points of this article "IDEA plug-in Statistic how to quickly distinguish bad projects," so Xiaobian summarizes the following contents for everyone, with detailed contents, clear steps and certain reference value. I hope everyone can gain something after reading this article. Let's take a look at this article "IDEA plug-in Statistic how to quickly distinguish bad projects."
How do you count them?
The first thing I thought of was Excel. But it's obviously too much trouble.
Is there a tool specifically for code statistics?
A cloc (count lines of code) based on Perl might be just what you need.
Is there an easier way?
If you are using IDEA for development, it is recommended that you use the Statistic plugin.
We can find this plugin directly in IDEA's plugin marketplace. I've got it installed here.
If you can't use IDEA's plugin market due to network problems, you can also download and install it manually through the official website of IDEA's plugin market.
With this plug-in you can visually see all types of file information in your project such as number, size, etc., to help you better understand your project.
You can also use it to see the total number of classes, the number of valid lines of code, the number of comment lines, the percentage of valid code, and so on.
If you're worried about the plugin affecting IDEA's speed too much, turn it on only when there's a code statistics requirement, and disable it at other times!
PostScript
Recently, some readers asked about IDEA plug-in development-related things, I am also very interested in it, so I simply learned about it and summarized an article about introductory IDEA plug-in development.
The above is the content of this article about "IDEA plug-in Statistic how to quickly distinguish bad projects." I believe everyone has a certain understanding. I hope the content shared by Xiaobian will be helpful to everyone. If you want to know more relevant knowledge content, please pay attention to the industry information channel.