Tools for Software Quality
Posted Dec 9, 2006 18:12 UTC (Sat) by
Junior_Samples (guest, #26737)
In reply to:
DHS gears up for research phase of open source bug hunt (Linux.com) by JoeBuck
Parent article:
DHS gears up for research phase of open source bug hunt (Linux.com)
If a function is too complex for automated static analysis, then it is probably a flawed design.
Complexity is a software flaw, and
tools exist to measure it. The McCabe metric along with Halstead metric are
pretty good indicators
cyclomatic complexity
This will indicate
if a procedure is too complex or not. A nasty flawed procedure can almost always be re-factored into
several smaller less complex procedures.
Theo seems to be a self-appointed "expert" in software quality, in the same way that Jesse Jackson is a "reverend".
I see no evidence that Theo has a clue about what real software quality entails. I ran some automated metrics on
OpenBSD and was shocked to see how gawdawful the code really is.
Theo is mostly content to play in the sandbox he knows, and is unwilling to update his skills or open his mind
to better possibilities. I would love to see OpenBSD rewritten in
Ada or better yet,
SPARK. I would love to see OpenBSD employ complexity
metrics to identify problem modules. Theo and his buffer overflow obsession has blinded him to the myriad of other problems
which affect software quality. Buffer overruns are low hanging fruit, and are a direct result of a poor choice of programming
language for mission critical software.
(
Log in to post comments)