Lorenz and Kidd Metrics Suite - PowerPoint PPT Presentation

1 / 5
About This Presentation
Title:

Lorenz and Kidd Metrics Suite

Description:

In order to calculate the number of operations, the Software Engineer ... Operations Overridden by a ... operation and see if it is overridden in the subclass. ... – PowerPoint PPT presentation

Number of Views:279
Avg rating:3.0/5.0
Slides: 6
Provided by: jsan5
Category:

less

Transcript and Presenter's Notes

Title: Lorenz and Kidd Metrics Suite


1
Lorenz and Kidd Metrics Suite
2
Total Number of Operations
  • In order to calculate the number of operations,
    the Software Engineer must do the following,
  • Obtain the Classes CRC index cards.
  • Count the number of operations listed for the
    class.
  • Input this number into the cell.

3
Number of Operations Overridden by a Subclass
  • If this particular class is a subclass of another
    parent class, it may over ride some operations of
    its parents class.
  • To calculate this, the Software Engineer must do
    the following,
  • Obtain the CRC index cards for both the subclass
    and parent class.
  • Pick a particular operation and see if it is
    overridden in the subclass.
  • If so, add one and continue on to the next
    operation.
  • Else, proceed to the next operation
  • Continue until all operations have been
    processed.
  • Record value in cell.

4
Number of Operations Added by a Subclass
  • In order to calculate the number of operations
    added by a subclass, the Software Engineer must
    do the following,
  • Obtain the CRC cards for both the parent and
    subclass.
  • Pick an operation in the subclass.
  • Verify that it is in the parent class.
  • If not, increment count.
  • Repeat until all operations have been processed.
  • Input count into cell

5
Current Class Level
  • In order to calculate the current classes level,
    the Software Engineer must consult the
    Inheritance Tree
  • In the following Inheritance chart, if we were
    evaluating C2 the level would be 1.
  • Please note that the first level, class C, is 0
    not 1.
Write a Comment
User Comments (0)
About PowerShow.com