This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes lines of code / number of classes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "lines of code / number of classes" Watch "lines of code / number of classes" New topic
Author

lines of code / number of classes

mike acre
Ranch Hand

Joined: Sep 23, 2003
Posts: 197
In the brief certification description there is mention of 3500 lines of code being the average for sucessful assignments.

My question is what constitutes a line of code?

comments?
just a brace?
blank lines?

how many here for example:
<code>

</code>

personally I'd say 1.

On a related point what constitutes a class for similar code stats quoting purposes?

source files only?
all nested classes?
all top level classes?


Thirdly, how many lines and classes (& define these please) have you produced / are likely to produce for your submission?

TIA


SCJP 1.4, SCJD
Robert Konigsberg
Ranch Hand

Joined: Jun 23, 2004
Posts: 172
I do not believe that comments are considered lines of code. braces and blank lines should be.

What seems more important, why are you so concerned? How's your project coming along?


SCJP 1.4 (91%)<br />SCJD 1.4 (376/400, 94%)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: lines of code / number of classes
 
Similar Threads
Hard time learning Servlets
Javac-includesfile problem.
lines of code / number of classes
Ant script pathelement tag
HELP with Project!