Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ASQ CSQE Exam - Topic 7 Question 39 Discussion

Actual exam question for ASQ's CSQE exam
Question #: 39
Topic #: 7
[All CSQE Questions]

The modules in the following table were all created two years ago as part of the same software project

Current Cyclomatic

Module Version Complexity

A 12 9

B 3 21

C 9 4

D 11 20

Which module is the most likely candidate for reengineering?

Show Suggested Answer Hide Answer
Suggested Answer: B

Reengineering a software module typically involves assessing various factors such as code complexity, maintainability, performance requirements, and the age of the platform.The goal is to identify modules that are costly to maintain, difficult to understand, or are becoming obsolete due to platform changes12.

Cyclomatic Complexity: This is a quantitative measure of the number of linearly independent paths through a program's source code.A higher cyclomatic complexity indicates a more complex and potentially less maintainable module2.

Looking at the table provided:

Module A has a version number of 12 and a cyclomatic complexity of 9.

Module B has a version number of 3 and a cyclomatic complexity of 21.

Module C has a version number of 9 and a cyclomatic complexity of 4.

Module D has a version number of 11 and a cyclomatic complexity of 20.

Given these details,Module Bstands out as the most likely candidate for reengineering for the following reasons:

It has thehighest cyclomatic complexity (21), which suggests that the code is highly complex and may be difficult to maintain or extend2.

The version number being 3 indicates that it has undergone fewer iterations of updates or fixes compared to the other modules, which might imply that it has legacy code that could benefit from reengineering.


Contribute your Thoughts:

0/2000 characters
Bobbye
2 days ago
I think Module B has the highest complexity, but I'm not sure if that automatically makes it the worst candidate for reengineering.
upvoted 0 times
...
Paris
7 days ago
I remember that higher cyclomatic complexity usually indicates more complicated code, which might need reengineering.
upvoted 0 times
...

Save Cancel