LineCount: Calculates the total lines of code in a directory

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 47%Total: 762 This week: 1All time: 4,375 This week: 259Up
Version License Categories
linecount 1.0.0Unspecified (ask ...Statistics, Files and Folders
Description Author

This class will give you the total lines of code in a given directory and its subdirectories.

You can limit which files to check by adding or removing file extensions to the array within the class.

It allows you to either output the detailed file list, or return an associative array with total number of sub-directories, files, and lines.

Picture of Jake M
Name: Jake M <contact>
Classes: 2 packages by
Country: United States United States
Age: ???
All time rank: 1153157 in United States United States
Week rank: 252 Up22 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file class.lineCount.php Class the class file. very little config needed.
Accessible without login Plain text file linecount_example.php Example an example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:762
This week:1
All time:4,375
This week:259Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:47%StarStarStar
Rank:2539
  

For more information send a message to info at phpclasses dot org.