Open Access Open Access  Restricted Access Subscription Access

A Review and Analysis on Cyclomatic Complexity


Affiliations
1 Anand Mercantile College of Science, Management and Computer Technology, Anand, Gujarat, India
 

Cyclomatic complexity is software metric used in structural testing. The purpose of the paper is to describe the analysis on Cyclomatic complexity with an example. The Cyclomatic complexity is computed using the flow graph of the program: the nodes of the graph correspond to one or more code statement and the edges connect two nodes. Based on the flow graph how to find Cyclomatic complexity is described here.

Keywords

Cyclomatic Complexity, Flow Graph, Predicate Node, Connected Components.
User
Notifications
Font Size

Abstract Views: 214

PDF Views: 0




  • A Review and Analysis on Cyclomatic Complexity

Abstract Views: 214  |  PDF Views: 0

Authors

Ramesh M. Patelia
Anand Mercantile College of Science, Management and Computer Technology, Anand, Gujarat, India
Shilpan Vyas
Anand Mercantile College of Science, Management and Computer Technology, Anand, Gujarat, India

Abstract


Cyclomatic complexity is software metric used in structural testing. The purpose of the paper is to describe the analysis on Cyclomatic complexity with an example. The Cyclomatic complexity is computed using the flow graph of the program: the nodes of the graph correspond to one or more code statement and the edges connect two nodes. Based on the flow graph how to find Cyclomatic complexity is described here.

Keywords


Cyclomatic Complexity, Flow Graph, Predicate Node, Connected Components.