My one's bigger than yours??

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply

How big is your script?

< 50 lines
0
No votes
50 - 100 lines
0
No votes
100 - 200 lines
0
No votes
200 - 500 lines
0
No votes
500 - 1000 lines
0
No votes
1000 - 2000 lines
2
29%
2000 - 5000 lines :-)
2
29%
> 5000 lines :?
3
43%
> 250,000 lines :-)
0
No votes
 
Total votes: 7

samscripts
Forum Commoner
Posts: 57
Joined: Tue Apr 23, 2002 4:34 pm
Location: London, UK

My one's bigger than yours??

Post by samscripts »

Hi all, just wondering who's got the biggest script? :twisted:

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.
:lol:
Last edited by samscripts on Fri Jul 19, 2002 2:13 pm, edited 1 time in total.
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

Where is the option for 250,000+? :D :D
samscripts
Forum Commoner
Posts: 57
Joined: Tue Apr 23, 2002 4:34 pm
Location: London, UK

Post 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 :lol: :!: :P

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
User avatar
protokol
Forum Contributor
Posts: 353
Joined: Fri Jun 21, 2002 7:00 pm
Location: Cleveland, OH
Contact:

Post 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)
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post 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.
Post Reply