Forums Register Login

cyclomatic complexcity

+Pie Number of slices to send: Send
how can we measure the software using cyclomatic complexcity?
+Pie Number of slices to send: Send
Cyclomatic complexity measures the amount of decision logic in a single software module.

It is used for two related purposes in the structured testing methodology.
1. it gives the number of recommended tests for software.
2. it is used during all phases of the software lifecycle, beginning with design, to keep software reliable, testable, and manageable.
Cyclomatic complexity is based entirely on the structure of software’s control flow graph.
+Pie Number of slices to send: Send
can please you give more explain about this
+Pie Number of slices to send: Send
It is a measure of complexity of a program (algorithm).
it can be used only for small piece of code like small functions.
It gives minimum test cases required to execute each line of code.
It is best suited for unit testing written by developers.
The complexity is increaded by logic (with the use of loop and if-else state ments).
A progrma without any loop and if-else with all sequential statement have complexity 1.
It is a core White box technique.
Achieving the code coverage using complexity for a application code is nearly impossible as it will reruire years.
+Pie Number of slices to send: Send
Thanks Muse
I'm still in control here. LOOK at this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1361 times.
Similar Threads
Tool for Modularity check of java code
high cyclomatic complexity
code coverage tool
Cyclomatic complexity calculation by PMD plugin -Maven.
Calculating Cyclomatic complex for a whole class
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:00:35.