Question: List the class(es) that has the MAXIMUM association with other classes (i.e., CBO is the maximum)? Assume that the cyclomatic complexity (CC) for each of

List the class(es) that has the MAXIMUM

    1. List the class(es) that has the MAXIMUM association with other classes (i.e., CBO is the maximum)?
    2. Assume that the cyclomatic complexity (CC) for each of the classes are as follows: calcSubTotal() = 1, Calctax() = 3, CalcTotal() = 2 and CalcTotal weight() = 1

You are asked to calculate WMC for Order and OrderDetail where

WMC_class = sum of all methods*weights in that class

What is WMC for Order and OrderDetail?

please check the graph attached

Metrics Given the following OO design, determine the following metrics: 1 0. Customer -name: String -address Order -date: Date -status: String 0..* +calcSubTotal +calcTax() +calcTotal +calcTotalWeight() Order Detail Line item -quality -taxStatus: String +calcSubTotal +calcWeight() +calcTax() 1.. Item -shipping Weight 1 -description: String +getPriceForQuantity()) +getTax0 +inStock 1... / Payment -amount: float Cash -cashTendered: float Check -name: String -bankID: String +authorized() Credit -name: String -type: String -expDate +authorized()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!