# Source Code Statistics

**URL:** <https://www.ruby-forum.com/t/source-code-statistics/73091>\
**Category:** Radiant CMS\
**Created:** [October 21, 2006, 6:05am UTC](https://www.ruby-forum.com/t/source-code-statistics/73091 "2006-10-21T06:05:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6f9a4e/32.png) [@alexh](https://www.ruby-forum.com/u/alexh)\
**Post date:** [October 21, 2006, 6:05am UTC](https://www.ruby-forum.com/t/source-code-statistics/73091/1 "2006-10-21T06:05:52Z")

</div>

I thought it would be interesting to get some source code statistics  
for Radiant. So here are statistics for the recent development  
efforts:

[http://next.ohloh.net/projects/3289](http://next.ohloh.net/projects/3289)

Take it with a grain of salt. I was talking to a friend of mine who is  
developing Amarok and we concluded, for instance, that the “man years”  
are screwed up. Nevertheless the analysis site gives you some good  
overview of the code base. Yours,

–  
Alexander H.  
[http://www2.truman.edu/~ah428](http://www2.truman.edu/~ah428)

---

<div class="post-metadata">

**Author:** ![alexh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6f9a4e/32.png) [@alexh](https://www.ruby-forum.com/u/alexh)\
**Post date:** [October 22, 2006, 9:58am UTC](https://www.ruby-forum.com/t/source-code-statistics/73091/2 "2006-10-22T09:58:00Z")

</div>

Some line counting fun w/ kloc…

- ignoring /vendor, hidden files like .svn, and with tmp files removed  
Total Empty Lines = 2179  
Total Comments = 5785  
Total Embedded Comments = 50  
Total Code = 8879 \<—  
Total Lines = 16843  
Total Files = 215

- bringing vendor back in (note: I have quite a few behaviors installed)  
Total Empty Lines = 25817  
Total Comments = 52655  
Total Embedded Comments = 472  
Total Code = 71631 \<----  
Total Lines = 150103  
Total Files = 1263

- vendor w/o rails  
Total Code = 20854

So I’m really not sure where 25,890 LOC is coming from… Ohloh is  
pretty sweet though.

-jamie

---

<div class="post-metadata">

**Author:** ![alexh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/6f9a4e/32.png) [@alexh](https://www.ruby-forum.com/u/alexh)\
**Post date:** [October 22, 2006, 4:57pm UTC](https://www.ruby-forum.com/t/source-code-statistics/73091/3 "2006-10-22T16:57:44Z")

</div>

It’s pulling in both branches … that should explain why.

On 10/21/06, Jamie W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> - bringing vendor back in (note: I have quite a few behaviors installed)
> 
> > efforts:  
> > [http://www2.truman.edu/~ah428](http://www2.truman.edu/~ah428)  
> > Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

–  
Alexander H.  
[http://www2.truman.edu/~ah428](http://www2.truman.edu/~ah428)
