Sponsored Links
This presentation is the property of its rightful owner.
1 / 5

# Lorenz and Kidd Metrics Suite PowerPoint PPT Presentation

Lorenz and Kidd Metrics Suite. 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.

### Download Presentation

Lorenz and Kidd Metrics Suite

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

## Lorenz and Kidd Metrics Suite

### 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.

### 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.

### 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

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.