Count lines of code in all java classes in Android Studio

Go to
https://plugins.jetbrains.com/idea/plugin/4509-statistic
and install the latest version

To install

  1. Run Android Studio

  2. From the menu bar, select File–>Settings

  3. Under IDE Settings, click Plugins, and then click Install plugin from disk

  4. Navigate to the folder where you downloaded the plugin and double-click it

  5. Restart Android Studio

To count the lines

  1. Check the statistics option that is visible after installing the
    plugin
  2. This option is near the run, debug, gradle console, bottom left corner of Android studio

21/05/2015

If you cannot see the Statistics options, do the following:

  1. Select VIEW from the toolbar.

  2. Select TOOLS Windows.

  3. Choose STATISTICS.

You will see the statistics of your project and at the bottom, there is TOTAL section which displays the total lines under the Column of LINES.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)