Here are some completely useless but fun stats about Magna CRM.
Code, icons, help:
- 174 PHP files
- 26.613 lines of PHP code (including comments and empty lines)
- 999.853 bytes of PHP code (including comments and white space)
- 28 icons
- 1 JavaScript file
- 2 CSS files
- 24 html help pages with 16 accompanying images
Other:
- 25 Database tables
- 539 localization strings
- 160 resolved items in bug database (FogBugz)
- 369 subversion commits (I tend to do way too many commits, e.g. a typo in a comment may get it’s own file commit)
Site:
- 66 files
- 16 images








A commit is supposed to be for each logical change, so you can revert just that logical change if need be. Or apply it to a branch by itself. So it’s actually a surprisingly small number of commits for what seems as a not so small piece of software.
Comment by Baruch — February 1, 2006 @ 19:19
“A commit is supposed to be for each logical change”
I certainly agree, but still 370 commits seem like a lot to me. Then again I would categorize Magna CRM as a small project.
For the last couple months I am trying to tie *all* my commits with FogBugz items, which would be the right thing to do. However I often get lazy and skip putting items in FB, especially if it’s small changes.
Comment by Dimitris Giannitsaros — February 1, 2006 @ 19:35
“For the last couple months I am trying to tie *all* my commits with FogBugz items.”
I find that very useful as well, it’s a good practice to get used to. I’m using Trac and Subversion myself, and this combination works very good to accumulate this information. I’m very happy with it.
Comment by Baruch — February 1, 2006 @ 19:58
You have accomplished a lot when you look at these numbers. Respect!
Comment by Erik — February 2, 2006 @ 11:40
Thanks ;-)
I think the numbers make it look a bit more impressive than it really is. Because they don’t include the project duration, which was 6-7 months (for code development).
Comment by Dimitris Giannitsaros — February 2, 2006 @ 11:51