4 ms·
Sorry, you are correct; what I wrote was simply stupid. I have, in fact, encountered one method with a cyclomatic complexity of 20+, which had a single test (it
by mdpopescu 10y ago
Sorry, you are correct; what I wrote was simply stupid. I have, in fact, encountered one method with a cyclomatic complexity of 20+, which had a single test (it verified that the result was not None).
I just tried to put that code behind me and yes, those "tests" were there because they were mandatory.
Blech.