# Presentation: 550619

## Metrics for Fault-Tolerant 

***Real-Time Software***

***Afzel Noore***
***Computer Science and Electrical Engineering***
***West Virginia University***

***September 6, 2001***

## Outline

- Literature Review and Background
- Extension of Function Point Metrics
- Software Fault-Tolerant Structures
- Proposed Metrics Framework
- Summary
- Future Work

## Why Function Point Metrics?

##  Function Point Applications 

- Prediction of the maintenance efforts
- Measurement of size and complexity of algorithms
- Sizing and costing individual components of software
- Useful for checking requirements completeness

##  Function Point Calculation 

##  Function Point Calculation ...

##  Limitations of  Function Point Analysis

##  Full Function Point and COSMIC 

*Full Function Point** *

- The COSMIC initiative draws an international team of software metrics experts to establish principles of the new measurement method based on the best features of existing IFPUG, Mark II, and FFP methods.

## Evolution of Function Point Metrics

-    FPA

- FPA 3.4

- FPA 4.0

- FPA 4.1

-    FPA

- Albrecht 79

- IFPUG 90

- IFPUG 94

- IFPUG 99

- Albrecht 84

##  Extension for RT & FT Software

##  Extension for RT & FT Software 

_*IFPUG FPA*_

_*COSMIC FFP*_

_*EFP*_

##  Design or Selection of Metamodel

*** ******Design or Selection of Metamodel***

## Design or Selection of Metamodel...

***Design or Selection of Metamodel...***

##  Characterization of Software

## Nuclear Reactor

- F: Power Flux A,B,C,D.

- SP: High Power Flux Set-Point

- _Algorithm:_
- 2 out of 4 Power Flux (FA,FB,FC,FD)
- must be greater than High Power Flux
- Set-Point (SP2).

*Nuclear Reactor*

##  Recovery Block - Design Diversity

##  Recovery Block - Software Structure 

##  Recovery Block - Software Structure ...

##  Recovery Block - Design Diversity 

##  N Copy Programming - Data Diversity

##  N Copy Programming - Data Diversity 

##  Retry Block - Data Diversity

##  Retry Block - Data Diversity 

##  Numerical Assignments

##  Numerical Assignments ....

##  Function Point Calculations .... 

*Definition of numerical assignment rules*

***CIS = RDS + RA + AC + VSA + TC***

- 1.The lowest CIS * Percentage > 1 in both category.
- 2.The lowest CIS * Percentage (Design Diversity) > the highest CIS * Percentage (Data Diversity)

***CIS Factor = (RDS + RA + AC + VSA + TC)  * Diversity Percentage***

- 30% for Diversity Percentage in Design Diversity Category
- 22% for Diversity Percentage in Data Diversity Category

***EFP = Management FP + Control FP * CIS Factor***

##  Extended Metrics Characteristics 

##  Extended Metrics Characteristics ....

##  Extended Metrics Characteristics .... 

** *****Extended Metrics Characteristics .... ***

##  Representation of Requirements 

** *****Representation of Requirements ***

- Functional users requirements

- Functional processes

- Data
- movement type

- Data
- transform type

- and

- Software

##  Factors for Extended Metrics Framework 

## Summary and Future Work

- By augmenting new elements based on FFP and
-    FPA techniques, a new *Extensive Function Point*
-    composite metrics has been proposed for
-    software with real-time and fault-tolerant
-    attributes.
- Future work will focus on data collection and
-    validation of the proposed metrics framework.