Skip all navigation and jump to content

Jump to site navigation

NASA Logo

+ Visit NASA.gov

Assurance Process for Complex Electronics

Home

Complex Electronics Background

Complex Electronics Assurance Process

TECHNIQUES

CHECKLISTS

Site Map

Life Cycle

PLANNING

V&V

REQUIREMENTS

PRELIMINARY DESIGN

DETAILED DESIGN

IMPLEMENTATION

testing

operations

CE METRICS

SUPPORTING PROCESSES

PRINT THIS SECTION

Complex Electronics Metrics

Metrics are defined as: " A system of parameters or ways of quantitative and periodic assessment of a process that is to be measured and are usually specialized by the subject area". Metrics can be used to track trends, problems, productivity and much more. With CE, metrics are difficult as they must cover both the hardware and software portions of the development cycle. There are two types of metrics available for use. They are:

Metrics are simply measurements. We use them all the time to make decisions and determine the "best deal". Primitives are the base item we use to make a decision. These can be items such as time, number of problems, or lines of code. A derived metrics takes multiple primitives to determine a unit. A good example from the software world is errors per lines of code (errors per KLoc). The two primitives used in this measure is the number of errors and the number of lines of code.

Complex Electronics Primitives (Elementals)

  1. Type of defects
    • Interface
    • Data type
    • Incorrect logic
    • Requirements
  2. Where found
    • Requirements Review
    • Code Review
    • Test
    • Inspection
  3. Number of design changes
  4. Before or after burn to hardware
  5. Test coverage
  6. Number of gates
  7. Number of functions
  8. Number of modules
  9. Number of IPs (Intellectual Properties)
  10. Lines of HDL (Hardware Description Language)
  11. Number of Decision Points

.

Complex Electronics Derived metrics (Complex)

The process of measuring the quality of complex electronics involves more then just gathering primitives. Most times this information is combined to produce specific information needed by the CE project. This combination of combining primitives produces the derived metrics used by most development groups to get the feel for where the project is heading. What follows is a list of derived metrics you should find useful in measuring of quality of the CE device during the development process. These are:

  1. Reliability
  2. Estimated Number of Faults Remaining
  3. Test Coverage
  4. Data Flow Complexity
  5. Specification Completeness

Other more simple derived metrics need no real explanation. These include:

  1. Errors per thousand lines of code (Errors Per KLoc)
  2. Errors per development phase
  3. Modules per chip
  4. IPs per chip
  5. Gates used versus free space
Other various items could also be used to measure progress and quality. The project will determine the items that will be measured and should insure that these items are listed in the Complex Electronics Assurance Plan.

Reliability

This derived metric gives you a reliability number based on either the sample size or number of runs done in a given time period. The following primitives are needed for this derived metric.

Nr = Number of runs in a given sample

Nt = Number of runs for a given period of time

Nc = Number of error free runs in a given sample

St = Total sample space (Inputs and Outputs)

Ss = Sample space selected

Derived metric of:

Rf = Reliability factor in percent

For a Sample Space

Rf = (Nr / Nc) x 100

or

Rf = (Nt / Nc) x 100

For the Total Design

Rf = (Nr / Nc) x (Ss / St) x 100

or

Rf = (Nt / Nc) x (Ss / St) x 100

Estimated Number of Faults Remaining by Seeding

This derived metric gives you an estimated number of faults remaining based on testing results. These results are obtained by seeding the part with known faults. You then run your test bed against the seeded part and count how many of the faults were found by the tests. The following primitives are needed for this derived metric.

Ns = number of seeded faults

Sf = number of seeded faults found

Nf = number of unseeded faults found

The faults remaining (FR) in a design can be approximated using:

FR = (Nf x Ns) / Sf

Test Coverage in Percent

This derived metric gives you a test coverage number based on the part functions and number of I/O. The following primitives are needed for this derived metric.

If = Implemented Functions

Rf = Required Functions

Iu = I/O primitives used

It = Total number of I/O on design

Derived metric of:

TC = Test Coverage

TC = (If / Rf) x ( Iu / It) x 100

Data Flow Complexity (DFC)

This derived metric lets you measure the complexity of the design. The following primitives are needed for this derived metric.

Lfi = local flows into the procedure

Datain = number of data structures from which the procedure retrieves data

Lfo = local flows out of the procedure

Dataout = number of data structures the procedure updates

Length = number of source statements in the procedure (excludes comments)

Fanin = Lfi + Datain

Fanout = Lfo + Dataout

DFC = (Fanin x Fanout)2

Weighted DFC = Length x (Fanin x Fanout)2

Specification Completeness (SC)

This derived metric lets you measure the completeness of the design's requirements. The following primitives are needed for this derived metric.

number of functions not satisfactorily defined

number of functions

number of data references not having an origin

number of data references

number of defined functions not used

number of defined functions

number of referenced functions not defined

number of referenced functions

number of decision points not using all conditions or options or both

number of decision points

number of condition options without processing

number of condition options

number of calling routines with parameters not agreeing with defined parameters

number of calling routines

number of condition options not set

number of set condition options having no processing

number of set condition options

number of data references having no destination

 

The Specification Completeness is the weighted sum of the 10 derivations expressed below.

is a value between 1 and 0. The sum of for must equal 1.

=

=

=

=

=

=

=

=

=

=

 

FirstGov logo

+ NASA Privacy, Security, Notices

NASA

Curator: Richard Plastow
NASA Official: Cynthia Calhoun
Last Updated: 02/01/2008