Reference no: EM133551210
Question 1. Fan-in and fan out for each of the classes.
Question 2. Module design complexity (MDC). Hint:
(a) Ignore the code in any of the catch block.
(b) Begin with the main method of the Main class, trace the source code to reconstruct the implemented design sequence diagram. To compute the MDC, treat each function call in the sequence diagram as
a call from one module to another module as in the conventional software.
Question 3. Design complexity S0. Hint: use the same hint for MDC.
Question 4. Integration complexity. Hint: use the same hint for MDC.
Question 5. Cyclomatic complexity for each method of each class. Again, ignore code in a catch block.
Question 6. Weighted methods per class [WMC(C)]. Hint: use the sum of the cyclomatic complexities of the methods of the class as Cmi.
Question 7. Coupling between object classes [CBO(C)].
Question 8. Response for a class [REF(C)].
Question 9. Lack of cohesion in methods [LCOM(C)]