1 / 5

Lorenz and Kidd Metrics Suite

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.

kay
Télécharger la présentation

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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. 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. Current Class Level

More Related