PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Dec 18, 2018 7:17 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 

How big is your script?
< 50 lines 0%  0%  [ 0 ]
50 - 100 lines 0%  0%  [ 0 ]
100 - 200 lines 0%  0%  [ 0 ]
200 - 500 lines 0%  0%  [ 0 ]
500 - 1000 lines 0%  0%  [ 0 ]
1000 - 2000 lines 29%  29%  [ 2 ]
2000 - 5000 lines :-) 29%  29%  [ 2 ]
> 5000 lines :? 43%  43%  [ 3 ]
> 250,000 lines :-) 0%  0%  [ 0 ]
Total votes : 7
Author Message
PostPosted: Fri Jul 19, 2002 10:13 am 
Offline
Forum Commoner

Joined: Tue Apr 23, 2002 4:34 pm
Posts: 57
Location: London, UK
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.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 19, 2002 2:08 pm 
Offline
Site Admin

Joined: Thu Apr 18, 2002 3:14 pm
Posts: 1767
Location: Montreal, CA
Where is the option for 250,000+? :D :D


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 19, 2002 2:18 pm 
Offline
Forum Commoner

Joined: Tue Apr 23, 2002 4:34 pm
Posts: 57
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 :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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 19, 2002 3:15 pm 
Offline
Forum Contributor
User avatar

Joined: Fri Jun 21, 2002 7:00 pm
Posts: 353
Location: Cleveland, OH
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)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 19, 2002 8:45 pm 
Offline
Site Admin

Joined: Thu Apr 18, 2002 3:14 pm
Posts: 1767
Location: Montreal, CA
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group