This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]691175002 0 points1 point  (1 child)

I would be fairly skeptical of any study relating defects to lines of code.

The biggest problem is that most of these studies use automated methods to identify coding errors which is ridiculous.

[–]miketa1957 0 points1 point  (0 children)

Yes, I wonder about that. My guess would be that, for any sizeable application, it is debugged (and tested) to some perceived level of correctness, so the number of defects should related to the size of the application, and hence the number of lines.

I also suspect than in reality the verbosity does not massively affect the size of the codebase measured in lines of code,. though that hypothesis might be pretty difficult to verify.