I've got a few that, with included classes and all are over 1,000 lines of code. And none of that's comments
My one's bigger than yours??
Moderator: General Moderators
-
samscripts
- Forum Commoner
- Posts: 57
- Joined: Tue Apr 23, 2002 4:34 pm
- Location: London, UK
My one's bigger than yours??
Hi all, just wondering who's got the biggest script?
I've got a few that, with included classes and all are over 1,000 lines of code. And none of that's comments
Just wondered what the average was, so I've made this a poll.

I've got a few that, with included classes and all are over 1,000 lines of code. And none of that's comments
Last edited by samscripts on Fri Jul 19, 2002 2:13 pm, edited 1 time in total.
-
samscripts
- Forum Commoner
- Posts: 57
- Joined: Tue Apr 23, 2002 4:34 pm
- Location: London, UK
Added it! BTW, is that for a single script? ie all that code gets included in one page? Or is that for a whole web-application? Or were you joking about 250,000? Doesn't seem unlikely for a very complex site
Ok, use the poll for your largest 'executed in one page request' scripts - but I'd be interested in hearing what the largest amount of code used for one project is.
is everyone here good at math?
cheers, Sam
Ok, use the poll for your largest 'executed in one page request' scripts - but I'd be interested in hearing what the largest amount of code used for one project is.
is everyone here good at math?
cheers, Sam
It's a complete application at work. Including Front End, Back End, and the Game code. A lot of the work is modular, as in, we add new parts, but can take them out of the core, but everything is built to work together, and was all developed in-house.
So yes, the complete application is 250,000+ LOC.
That is considering we have about 400 files ~1000 lines each.
400 * 1000 = 400,000
Then substract around 150,000 for comments and what not...and I average it to be around 250,000 LOC.
As for the modules themselves, let's say that the module I am working on is around 3000-4000 LOC by itself, not including any of the outside core modules, like the configuration or auth code.
So yes, the complete application is 250,000+ LOC.
That is considering we have about 400 files ~1000 lines each.
400 * 1000 = 400,000
Then substract around 150,000 for comments and what not...and I average it to be around 250,000 LOC.
As for the modules themselves, let's say that the module I am working on is around 3000-4000 LOC by itself, not including any of the outside core modules, like the configuration or auth code.