Login   Register  
PHP Classes
elePHPant
Icontem

LineCount: Calculates the total lines of code in a directory

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2003-04-24 (11 years ago) RSS 2.0 feedStarStarStar 50%Total: 739 All time: 4,162 This week: 1,445Up
Version License Categories  
linecount 1.0Unspecified (ask the au...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: 1063140 in United States United States
Week rank: 1721 Down198 in United States United States Down

  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:739All time:4,162
 This week:0This week:1,445Up
 User Ratings  
 
 All time
Utility:70%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:1607