Java – How to count lines of Java code using IntelliJ IDEA

intellij-ideajavametrics

How to count lines of Java code using IntelliJ IDEA?

Best Answer

The Statistic plugin worked for me.

To install it from Intellij:

File - Settings - Plugins - Browse repositories... Find it on the list and double-click on it.

Access the 'statistic' toolbar via tabs in bottom left of project screen capture of statistic toolbar, bottom left

OLDER VERSIONS: Open statistics window from:

View -> Tool Windows -> Statistic