Continue with your mobile number
Cyclomatic Complexity is a software metric used to measure the complexity of a program's control flow. Developed by Thomas McCabe in 1976, it quantifies the number of linearly independent paths through a program’s source code. This metric is important for several reasons: • Complexity Measurement: Cyclomatic Complexity provides an indication of the complexity of a program based on its control flow graph. The metric is calculated by counting the number of linearly independent paths through the program’s code. This helps in understanding how complex a module or function is, based on its decision points and branching. • Testing: A higher Cyclomatic Complexity value suggests more paths through the code, which means more test cases are needed to achieve thorough testing. Each independent path represents a unique test scenario that should be covered to ensure comprehensive testing of the module. • Maintainability: Programs with high Cyclomatic Complexity are generally harder to understand, maintain, and modify. By keeping Cyclomatic Complexity low, developers can create code that is easier to read, debug, and modify.
Recently India has decided to extend a Line of Credit (LOC) to Sri Lanka, which of the following institution had signed the LOC agreement with Sri Lanka...
Which Ministry has launched “Graphene-Aurora Program”?
Where is the 14th Edition of the Indo-US Joint Special Forces exercise "VAJRA PRAHAR 2023" taking place?
Which satellite has Iran recently launched into orbit using the satellite carrier Qassed?
International Labour Organization has its headquarters in ?
The RBI has released a report on Currency and Finance (RCF) for the year 2022-23. The report’s theme is “Towards a Greener Cleaner India”.The high...
Which state topped the Urban Governance Index (UGI) in 2024?
Which of the following statement is incorrect about India Post Payment Bank?
i. It's slogan is “Apka Bank Apke Dwaar”
ii. It i...
The Karnataka state government launched AVGC Centre of Excellence. The State has become the country's first to set up such a Centre of Excellence ( CoE...
The Odisha Cabinet recently approved the proposal to include which language in the 8th Schedule of the Constitution?