PHP Classes

Project Estimator: Get the number of lines and characters from files

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 1,270 This week: 1All time: 3,019 This week: 560Up
Version License Categories
project_estimator 1.0GNU General Publi...Files and Folders, Project Management
Description 

Author

This class can be used to count the number of lines and characters contained in the files of a project.

It can traverse a given project directory recursively and process files that match a given file name pattern.

The class counts the number of lines of the matched files and the total number characters excluding white space or just considering alphabetic characters.

The class can also display the statistics in a Web page.

Innovation Award
PHP Programming Innovation award nominee
October 2006
Number 8


Prize: One book of choice by Packt
One way to measure the amount of work and value of a software project is to count the number of its lines of code.

This class can simplify the count of project lines of code. It traverses code repositories and perform line counting according to the language of the source files that are found.

Manuel Lemos
Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <contact>
Classes: 22 packages by
Country: United States United States
Age: 44
All time rank: 61 in United States United States
Week rank: 416 Down46 in United States United States Down
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
File Role Description
Plain text file estimator.class.php Class Source code
Accessible without login Plain text file example1.php Example Sample
Accessible without login Plain text file example2.php Example Sample

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,270
This week:1
All time:3,019
This week:560Up
 User Ratings  
 
 All time
Utility:80%StarStarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1953