PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2006-10-12 (10 years ago) RSS 2.0 feedStarStarStarStar 60%Total: 1,257 This week: 1All time: 2,941 This week: 1,047Up
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: 23 packages by
Country: Armenia Armenia
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,257
This week:1
All time:2,941
This week:1,047Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:68%StarStarStarStar
Documentation:-
Examples:93%StarStarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1150