You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CC does not appear to be calculating correctly. Below are two pairs of arbitrary methods to simplify the issue In pair 1 they should both be CC = 2 and in Pair 2 they should be CC = 1.
It appears that the Try and Finally are adding to the CC when they should be ignored. These pair of methods are identical within the pair and should have the same CC.
My understanding in CC is that at the least the following keywords are ignored:
The CC does not appear to be calculating correctly. Below are two pairs of arbitrary methods to simplify the issue In pair 1 they should both be CC = 2 and in Pair 2 they should be CC = 1.
It appears that the Try and Finally are adding to the CC when they should be ignored. These pair of methods are identical within the pair and should have the same CC.
My understanding in CC is that at the least the following keywords are ignored:
else, do, switch, try, using, throw, finally, return
I didn't check all of them but found two and stopped as it should be easy enough for you guys to work out the rest.
The text was updated successfully, but these errors were encountered: