Detector: | MuDetectOPAL_180312 |
Target: | project ' synthetic_directives ' versionjsl |
Misuse: | misuse ' latenullcheck ' |
Tags: |
Details about the known misuse from the MUBench dataset.
Description: | Calls a method on an object and later checks it for null. |
Fix Description: | Move null-check to before first call. |
Violation Types: |
|
In File: | mubench/examples/directives/LateNullCheck.java |
In Method: | misuse(Object) |
Code with Misuse: |
|
Code with Pattern(s): |
|