This article is about a scale known or level of a software known as the cyclomatic complexity. The cyclomatic complexity makes predicitons abou software components and predicts the defect rate of a software. The cyclomatic complexity makes these predictions by heavily examining the control flow of the software. A high cc level would mean that the code has a high defect density. This cyclomatic complexity has helped technology gain a starting point for maintenance of their softwares. The scientists who use the cyclomatic complexity not only use the scale to determine the number of defects, but also the potential outliers which may cause the code to go wrong. With this informations coders are able to remove specific code related risks and defects which are otherwise hard to idenitfy.

This aritcle is relevant to our class as we are learning about control flow. With control flow we can all recognie as coders that their are many different ways to compute the same code. I thought it was cool that there was something to deternmine which type of code would have more defects or outliers compared to another version. I also thought that this cyclomatic complexity was intersitng as it simply predicted issues or defects. Why not just run the program with predicted issues to see if acutally causes issues.
https://www.computer.org/web/software-technologies/content?g=5954967&type=article&urlTitle=cyclomatic-complexity-40-years-later
Image:https://www.tutorialspoint.com/software_engineering/images/cyclomatic_complexity.png
No comments:
Post a Comment