Jump to content

Defect Density


Recommended Posts

Hello Lava's,

In text based programming languages, Defect Density is generally measured as number of Major Defects found in thousand lines of code(i.e.Defect Density (at any stage) <= 1 Major/KLOC ).Is there a yard stick to measure Defect Density in LabVIEW?Can anybody please through some light on this standards? Karthik SP

Link to comment

QUOTE(karthik @ Aug 8 2007, 07:21 AM)

This is:

A) a cross post it is considered good manner to inform people of cross-posting

B) Posted in the Hardware forum while it is a software question

I don't have a good answer but I think VIEngineering of Crelf might have some good ideas they have some toolkits for KLOC

Ton

Link to comment

Hello LAVA's,

In text based programming languages, Defect Density is generally measured as number of Major Defects found in thousand lines of code(i.e.Defect Density (at any stage) <= 1 Major/KLOC ).Is there a yard stick to measure Defect Density in LabVIEW?Can anybody please through some light on this standards? Karthik SP

Note : I have also poste same question in NI Discussion Forum and by mistake I have posted it in Hardware insted of LabVIEW General in LAVA forum.I am sorry for the same.

Link to comment

ZITAT(karthik @ Aug 8 2007, 11:14 AM)

In text based programming languages, Defect Density is generally measured as number of Major Defects found in thousand lines of code(i.e.Defect Density (at any stage) <= 1 Major/KLOC ).Is there a yard stick to measure Defect Density in LabVIEW?Can anybody please through some light on this standards? Karthik SP

I think for all those "measurements", lines of source code can easily be replace by number of nodes in LabVIEW.

Just open this dialog: Tools >> Profile >> VI metrics

and see if that helps you further.

The more interesting question is: How do you define a "Major Defect"? ;)

Link to comment

QUOTE(silmaril @ Aug 8 2007, 09:24 AM)

I think for all those "measurements", lines of source code can easily be replace by number of nodes in LabVIEW.

Just open this dialog: Tools >> Profile >> VI metrics

and see if that helps you further.

The more interesting question is: How do you define a "Major Defect"? ;)

Oh, this is a philosophic question. ;)

I suppose that "Major Defect" is a defect what affects an application functionality or interface the way it is undesirable to a customer. :rolleyes:

Link to comment

QUOTE(skof @ Aug 9 2007, 09:44 AM)

Oh, this is a philosophic question. ;)

I suppose that "Major Defect" is a defect what affects an application functionality or interface the way it is undesirable to a customer. :rolleyes:

Maybe this a reflection of my ignorance of Software Engineering principles, but isn't that more a function of the programmer than the programming environment?

Edit: Nevermind - misconstrued the original post; he's not asking what the Defect Density is in Labview code, but how to measure it.

Link to comment

QUOTE(Louis Manfredi @ Aug 9 2007, 08:52 AM)

But in that case, what is a minor defect?

Best Regards, Louis

Minor defect is a kind of defect that customer can live with. Another name for minor defect is enhancement. Again, I'm talking only about an interface and functionality visible by the customer, not about a coding style or architecture. Problems in these areas are Internal Defects and Enhancements with their own criteria of "majority".

Link to comment

QUOTE(Gary Rubin @ Aug 9 2007, 09:14 AM)

Maybe this a reflection of my ignorance of Software Engineering principles, but isn't that more a function of the programmer than the programming environment?

Edit: Nevermind - misconstrued the original post; he's not asking what the Defect Density is in Labview code, but how to measure it.

Sure, this is a function of the development and testing teams to define what are Major Defects. Programming environment can just give you a "number of nodes" value to calculate Defect Density.

Link to comment
Link to comment

QUOTE(crelf @ Aug 9 2007, 10:04 AM)

I'd disagree with that one - I think what you've described isn't a major defect - you're use of the word "undesirable" means IMHO that it's not quite what we wanted, but it'll do. To me, the word "defect" isn't the one we should be concentrating one - it should be "requirement non-compliance". A defect is completely subjective, whereas a requirement compliance is traceable.

Heh, I agree that everithing should start from requrements and a requirement compliance is traceble while defect is subjective. You are right, "requirement non-compliance" metric should only be used for the defect density calculations. Then a "Major Defects" term in karthik post is not accurate and should be replaced by "Defects" aka "requirement non-compliances".

But I told about a measure of "majority" of a defect. Saying "undesirable to a customer" I assume that requirements were developed by the customer specifications. How can you measure "majority" of "requirement non-compliance"? It can comply or not comply. In other word, what defect is critical and must be fixed immediately and what one is not critical and can be postponed or deffered? In my experience I don't remember any complex project where ALL found defects have been fixed in the next build. ;)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.