1 / 5

The MOOD Metrics Suite

The MOOD Metrics Suite. Number of Methods Inherited. In order to determine the number of methods inherited, the Software Engineer must do the following, Obtain the class to be processed and parent classes CRC cards.

terrell
Download Presentation

The MOOD 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. The MOOD Metrics Suite

  2. Number of Methods Inherited • In order to determine the number of methods inherited, the Software Engineer must do the following, • Obtain the class to be processed and parent classes CRC cards. • Pick a method in the parent class and check to see if it is also defined in the the new class. • If so, add one. • Repeat until all methods have been processed. • Enter number into cell.

  3. Number of Methods • In order to determine the number of methods, the Software Engineer must do the following, • Obtain the current classes CRC card. • Count the number of methods. • Input count into cell.

  4. Number of New Methods • In order to determine the number of new methods, the Software Engineer must do the following, • Obtain the class to be processed and parent classes CRC cards. • Pick a method in the parent class and check to see if it is also defined in the the new class. • If not, add one. • Repeat until all methods have been processed. • Enter number into cell.

  5. Formula for Calculations • SI = [NOO X level/ Mtotal • Specialization index X degree of specalization / Total # of Methods • MIF = S Mi(Ci) / S Ma(Ci) • Method Inheritance Factor = sum number of methods inherited / sum number of methods • MIF = S Mo(Ci) / S Mn(Ci) X DC(Ci) • Method Inheritance Factor = sum number of overriding methods / sum number of new methods X descendents count

More Related