Project

jstats

0.0
No commit activity in last 3 years
No release in over 3 years
Outputs Java projects statistics from the command line
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

jstats¶ ↑

Description¶ ↑

jstats is a command line tool that outputs - in a friendly format - statistics about your Java projects

Installation¶ ↑

$ gem install jstats

To uninstall

$ gem uninstall jstats

Usage¶ ↑

Help¶ ↑

To use the help

$ jstats help

Loc¶ ↑

To use the Line Of Code command

$ jstats loc ~/projects/my-pet-app

This will ouput figures about the lines of codes for your project

+-----------+---------------+-------------------+-------------+
|                  Processing 151 Java Files                  |
+-----------+---------------+-------------------+-------------+
| All lines | Lines of code | Lines of comments | Blank lines |
+-----------+---------------+-------------------+-------------+
| 43728     | 21811         | 18100             | 3817        |
+-----------+---------------+-------------------+-------------+
+-------------+----------------+--------+
|        Files size distribution        |
+-------------+----------------+--------+
| Lines range | Files in range |   %    |
+-------------+----------------+--------+
| 0...100     | 48             | 31.8 % |
| 100...200   | 33             | 21.9 % |
| 200...300   | 25             | 16.6 % |
| 300...400   | 12             | 7.9 %  |
| 400...500   | 10             | 6.6 %  |
| 500...600   | 6              | 4.0 %  |
| 600...700   | 4              | 2.6 %  |
| 700...800   | 2              | 1.3 %  |
| 800...900   | 3              | 2.0 %  |
| 900...1000  | 0              | 0.0 %  |
| 1000...5000 | 8              | 5.3 %  |
+-------------+----------------+--------+