Cyclomatic Complexity is a metric of the complexity of a program or a section of a program.
4
votes
2answers
177 views
Ruby and cyclomatic complexity
I'm currently writing a script and I decided to run cane over it to look for some issues, and the following method was highlighted. I've done my best to cut it back, and at this point I'm inclined to ...
3
votes
2answers
92 views
Readability and cyclomatic complexity of this Ruby code
I consider this two options exactly the same. I prefer the first one but I'm not sure if it's better the second option in terms of cyclomatic complexity or readability.
Assuming that this is not pure ...
2
votes
3answers
149 views
Reduce cyclomatic complexity
How can I reduce cyclomatic complexity of validation and refactor it better way?
...
2
votes
2answers
88 views
split string into container on char; efficiently?
Here is my single parse code for splitting a std::string on a char into a ...
2
votes
1answer
68 views
Member has cyclomatic complexity of 21 (105%)
I have the following method which basically converts an input audio file to a monophonic FLAC file.
Now I am getting Member has cyclomatic complexity of 21 (105%) message in Visual Studio, while I've ...
1
vote
2answers
76 views
Reducing cyclomatic complexity in a simple string concatenation
I have written the following function that takes an address object and builds a string using the object properties. It will later be used to display a tooltip
...