breaking news!
-
- Grand Pooh-Bah
- Posts: 6722
- Joined: Tue Sep 19, 2006 8:45 pm
- Location: Portland, OR
- Contact:
breaking news!
research indicates that the number of bugs scales with the number of lines of code.
-
- Grand Pooh-Bah
- Posts: 6722
- Joined: Tue Sep 19, 2006 8:45 pm
- Location: Portland, OR
- Contact:
I'm not sure what you are saying. Are you saying that for all the code you've ever written, you kept track of the number of bugs and the number of lines? Or are you saying that the number of bugs != the number of lines? Because I'll grant you that second one. But if you design something with more lines of code, it's going to have proportionally more bugs. That's what I was saying.
-
- Tenth Dan Procrastinator
- Posts: 3055
- Joined: Fri Jul 18, 2003 3:02 am
- Location: Varies
- Contact:
Here's another obvious, yet breaking news tidbit. Bugs exhibit locality (the technical term is clustering). Where one finds one bug, there are likely to be more nearby. Yes, this was a primary point in an AT&T paper, one of the ~80 papers I had to read in dependable embedded systems.
However, after hearing/experiencing some software engineering horror stories, I believe even the obvious stuff needs to be hammered in.
However, after hearing/experiencing some software engineering horror stories, I believe even the obvious stuff needs to be hammered in.
-
- Minion to the Exalted Pooh-Bah
- Posts: 2790
- Joined: Fri Jul 18, 2003 2:28 pm
- Location: Irvine, CA
I was trying to make a joke about my bug/loc ratio is exponentialDwindlehop wrote:I'm not sure what you are saying. Are you saying that for all the code you've ever written, you kept track of the number of bugs and the number of lines? Or are you saying that the number of bugs != the number of lines? Because I'll grant you that second one. But if you design something with more lines of code, it's going to have proportionally more bugs. That's what I was saying.