Detector: | MuDetect |
Target: | project ' synthetic ' versiontoorestricitve |
Misuse: | misuse ' toorestrictive ' |
Tags: |
Details about the known misuse from the MUBench dataset.
Description: | Iterates until i < l.size(), but starts at i = 1. Therefore, skips the last element. |
Fix Description: | Change the condition to i <= l.size(). |
Violation Types: |
|
In File: | TooRestrictive.java |
In Method: | misuse(List) |
Code with Misuse: |
|
Code with Pattern(s): |
|