2

I'm looking for a tool that would count the number of files, the number of lines (with or without comments) and possibly other statistics for my project in PHP and JavaScript.

Notes:

  • I've already found SLOCCount which seems quite nice. It requires Cygwin.

  • Yes, I can wrote a simple script for basic information but I'm looking for something more complex.

Do you know about alternatives for Windows?

Thanks!

MartyIX
  • 27,828
  • 29
  • 136
  • 207

1 Answers1

4

cloc is a very nice Perl script (available in a standalone Windows executable too) that will break down how many lines of your files are blank, comments, or actual source. It also shows those statistics by file type.

Mark Rushakoff
  • 249,864
  • 45
  • 407
  • 398