phpmetricsline-count

How to measure # of lines of code in project?


How can I measure number of lines of code in my PHP web development projects?

Edit: I'm interested in windows tools only


Solution

  • If you're using a full fledged IDE the quick and dirty way is to count the number of "\n" patterns using the search feature (assuming it supports regexes)