Hi,Any chance you can deal with the following false negative?
here it is not a false positive; if your value is 1 in the switch case, the return of the value is not unconditional and depends on whether j == 3.
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/8ba1c95f-9f33-4415-8e12-5e4c5445e629%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Francis,here it is not a false positive; if your value is 1 in the switch case, the return of the value is not unconditional and depends on whether j == 3.I'm talking about false negative here, not false positive. I don't get any issue but I do expect one to be raised on "case 1".
Uhm, yes, sorry for the noise. Although I have some difficulty about the description of it being a "false negative"; rather an "undetected case".
Regardless of whether this case is actually detected though, I believe the rule's message should be changed to something along the lines of my suggestion.
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/02aa1512-174b-43c5-b65c-6762718cfd7f%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/CACTFSAhrX8pAVrcjBygunutF_me5msZviUDKnpB%2BgRBJfM_hGA%40mail.gmail.com.