![]() |
|
[Java] Easiest Way To Count The Lines In A Program - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Java] Easiest Way To Count The Lines In A Program (/showthread.php?tid=4807183) |
Easiest Way To Count The Lines In A Program - sp1k3677 - May 4, 2015 What would be the easiest way to count the total amount of lines in a program? * - webdev77 - May 4, 2015 Use the function in your IDE to find this number or just add up the number of lines in each file. * - Corios - May 4, 2015 do you mean before it's compiled (source lines)? or of the actual program (after it's compiled). * - Knautschtabak - May 4, 2015 Use a line counter like http://cloc.sourceforge.net/ * - JavaProphet - May 4, 2015 Or use my program, designed in Java. Check my threads. * - csrk - May 5, 2015 Netbeans with maven already offers this feature. Code coverage. * - jarvur - May 5, 2015 JavaProphet made a good program for this. Should check it out. * - Neotokyo - May 6, 2015 Any IDE should come with this option. If you tell me your IDE, I can specify how to turn on the line numbers. If using VM/VIM type :set number |