SPACE.LA
◀ music select
personal / tool / archived

PHP Line Counter

PHP Line Counter v1.0-3.0 (2004), my script for counting lines of code across a directory tree; three release zips.

BPM
151
GRADE
B
LEVEL
6
RELEASES
0
YEARS
2004–2004

Counting What I Had Written

In February 2004 I wrote a program to count how much code I'd written. PHP Line Counter walked a directory tree and totaled the lines. It went v1.0, v2.0, v3.0, the last in December 2004, and each major version was me redoing how it worked.

It was part of a two-week burst of small server-side utilities that winter: a directory browser, a source viewer, a line counter, an encrypter, a file searcher. Each one was a single script that did one thing to a folder on a web server, which was handy when all you had was FTP and a browser.

I was in Utah then, writing ActionScript during the day. This is what I did at night.

led to

  • Tracker2026counting lines of code, 2004

history

  1. archived