PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 1,270 All time: 3,019 This week: 488Up
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: 240 Down30 in United States United States Down
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,270
This week:0
All time:3,019
This week:488Up
 User Ratings  
 
 All time
Utility:80%StarStarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1985