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
There are some problems with the Null Value Analysis.
The Ideas_2011_07_22 file tested in RegressionIdeas20110722Test shows these problems.
There should be the following buginstances found:
This makes formers FNs, and the latters FPs. RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE and NP_NULL_ON_SOME_PATH are reported by edu.umd.cs.findbugs.detect.FindNullDeref, with the latter also being reported by edu.umd.cs.findbugs.detect.FindNullDerefsInvolvingNonShortCircuitEvaluation. NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE is reported by edu.umd.cs.findbugs.detect.NoteUnconditionalParamDerefs and edu.umd.cs.findbugs.detect.InconsistentAnnotations.
All of these are connected to nullness, and I think the root cause is in IsNullValueAnalysis.
Currently it doesn't break the build, because when running the tests some classes needed for the analysis are missing, which is solved by #2840. However, analysing a simple project containing Ideas_2011_07_22 only riports the NP_NULL_ON_SOME_PATH FPs.
The text was updated successfully, but these errors were encountered:
There are some problems with the Null Value Analysis.
The Ideas_2011_07_22 file tested in RegressionIdeas20110722Test shows these problems.
There should be the following buginstances found:
getHashCode3()
method line 34getHashCode4()
method line 41getHashCode5()
method line 48getHashCode6()
method line 55getHashCode6()
method parameterx
getHashCode7()
method parameterx
Instead these buginstances are found:
getHashCode3()
method line 37getHashCode4()
method line 44getHashCode5()
method line 51getHashCode6()
method line 58This makes formers FNs, and the latters FPs.
RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE
andNP_NULL_ON_SOME_PATH
are reported byedu.umd.cs.findbugs.detect.FindNullDeref
, with the latter also being reported byedu.umd.cs.findbugs.detect.FindNullDerefsInvolvingNonShortCircuitEvaluation
.NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE
is reported byedu.umd.cs.findbugs.detect.NoteUnconditionalParamDerefs
andedu.umd.cs.findbugs.detect.InconsistentAnnotations
.All of these are connected to nullness, and I think the root cause is in
IsNullValueAnalysis
.Currently it doesn't break the build, because when running the tests some classes needed for the analysis are missing, which is solved by #2840. However, analysing a simple project containing Ideas_2011_07_22 only riports the
NP_NULL_ON_SOME_PATH
FPs.The text was updated successfully, but these errors were encountered: