I live in Omaha.
 
Navigation
 
Search
 
Random Image
DSC_0033.jpg
 
Me. Elsewhere.
 
Archives
 
Darcy
 
Recently Read
 
Things I Like
git
 
License
 
About a month and a half…

It’s been about a month and a half since I started re-writing OurUNO in a nice, intelligent, frameworked system with Smarty and I ran CLOC on my source dir today. CLOC doesn’t do Smarty templates, so I ran them as HTML, close enough, right?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
      74 text files.
      74 unique files.
     640 files ignored.
 
http://cloc.sourceforge.net v 1.00  T=1.0 s (73.0 files/s, 4918.0 lines/s)
-------------------------------------------------------------------------------
Language          files     blank   comment      code    scale   3rd gen. equiv
-------------------------------------------------------------------------------
PHP                  40       723       140      2370 x   3.50 =        8295.00
HTML                 24       151        17      1036 x   1.90 =        1968.40
CSS                   6        50        23       345 x   1.00 =         345.00
Javascript            2        10         0        47 x   1.48 =          69.56
Bourne Shell          1         1         4         1 x   3.81 =           3.81
-------------------------------------------------------------------------------
SUM:                 73       935       184      3799 x   2.81 =       10681.77
-------------------------------------------------------------------------------

What I like is that my PHP files are ~23% empty space, and the one shell script has only 1 line of code. Now, the PHP is all new as is most of the javascript and some of the TPL files. So even saying a 60% cut on JS, CSS & TPL, thats still 3728 lines of code in the spare time from about a month and a half, so about 83 lines a day. It’s amazing what as little as 83 lines a day can do.

Posted November 17th, 2007 - Permalink
Categories: Geek
Tags: , ,
You can leave a comment, or trackback from your own site.
 
Possibly Related Posts
 
Adjacent Posts
 
Comments
 
Copyright © 2006 - 2010 John Hobbs
get userping