Detector: | GrouMiner |
Target: | project ' synthetic ' versionlistget |
Misuse: | misuse ' listget ' |
Tags: |
Details about the known misuse from the MUBench dataset.
Description: | Call List.get() without checking if the index is valid. |
Fix Description: | Check that index is between 0 and List.size() - 1. |
Violation Types: |
|
In File: | ListGet.java |
In Method: | misuse(List, int) |
Code with Misuse: |
|
Code with Pattern(s): |
|