Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: ShadowAce

Hey, an eclectic topic for FR ! :-)

In short, you measure how many lines of code a system -- be it bare metal, VM, or container -- uses to run a given application. The more code it runs, the more likely it is to have a HAP-level security hole.

I have a problem with this as a metric. In my opinion all assumptions derived from this are suspect. This measurement presumes all programmers are equal, and all code auditors are equal, and all code up the chain has been equally programmed and audited.

Only in the liberal fantasy world do all people remain equal throughout adulthood. There are gifted folks and there are folks who make a living programming that should never have access to a keyboard. Some code gets audited by an intelligent eye, some code is never seen by an auditor.

The quality of a software product does not necessarily decline as the lines of code increase.


5 posted on 07/17/2018 9:55:45 AM PDT by so_real ( "The Congress of the United States recommends and approves the Holy Bible for use in all schools.")
[ Post Reply | Private Reply | To 1 | View Replies ]


To: so_real; ShadowAce
> I have a problem with this as a metric.

#MeToo

> In my opinion all assumptions derived from this are suspect. This measurement presumes all programmers are equal, and all code auditors are equal, and all code up the chain has been equally programmed and audited.

It's worse than that. Maybe one could posit that, "on average", more code means more bugs, but only over a huge amount of code.

The problem is that people will take this metric and apply it to small individual cases. An average generalization that only makes sense over millions of lines of code simply cannot be applied to individual cases.

Consider: "On average", adult men are (say) 5'8" tall. And how many men in any given population are 5'8" tall? A tiny percentage. All the rest are taller or shorter, and that's the vast majority.

6 posted on 07/17/2018 10:56:21 AM PDT by dayglored ("Listen. Strange women lying in ponds distributing swords is no basis for a system of government.")
[ Post Reply | Private Reply | To 5 | View Replies ]

To: so_real

This HAP metric is way oversimplified. I would regard this as a concept that can be worked into the executive summary of an expensive product or service.


8 posted on 07/17/2018 5:36:58 PM PDT by beef ( middle)
[ Post Reply | Private Reply | To 5 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson