• Post Reply Bookmark Topic Watch Topic
  • New Topic

count lines of code  RSS feed

 
Tal Tal
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
anyone knows a program that can count how much lines of code
are there on a project?

thanks
 
Tom Hill
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most IDEs will tell you, you could just paste all your code into a word processing program though.
Tom
 
Scott Sinclair
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could use unix and do something like

find src -type f -name '*.java' -exec cat '{}' \; | wc -l

it would ouput the number of lines.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!