Page 1 of 1
My one's bigger than yours??
Posted: Fri Jul 19, 2002 10:13 am
by samscripts
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.

Posted: Fri Jul 19, 2002 2:08 pm
by jason
Where is the option for 250,000+?

Posted: Fri Jul 19, 2002 2:18 pm
by samscripts
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
Posted: Fri Jul 19, 2002 3:15 pm
by protokol
Well, each script I use in my 'Full Application' which means combining all these modules and using them together in harmony (every script can talk to each other) probably contains about 1000-2000 lines of code.
So in total, I definitely have near 15,000 lines of code (not including comments)
Posted: Fri Jul 19, 2002 8:45 pm
by jason
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.