-
Hello,
I've this case:
```
error: `ot` should be `to`, `of`, `or`
--> ./lib/qam.pm:71:44
|
71 | if ($patch_status =~ /Status\s*:\s+[nN]ot\s[nN]eeded/) {
| …
-
Output of `helm version`:
```
version.BuildInfo{Version:"v3.15.4", GitCommit:"fa9efb07d9d8debbb4306d72af76a383895aa8c4", GitTreeState:"clean", GoVersion:"go1.22.6"}
```
Output of `kubectl version`…
-
[`strings.Split`](https://pkg.go.dev/strings#Split) is guaranteed to return a non-nil slice with at least one element, so alerting from calling that is a false positive.
```
/Users/adam/code/src/g…
-
### Describe the false positive and how to replicate it
To reproduce, simply put fences and walls every other block, then sneak and walk between it.
Video:
https://github.com/user-attachments/a…
-
PMD version 6.11.0+, 7.0.0
```java
void foo() throws Exception {
...
}
void bar() {
try {
foo();
} catch (Exception e) {
...
}
}
```
This causes an `…
-
**Affects PMD Version:** 7.0.0
**Rule:** [UnusedPrivateMethod](https://docs.pmd-code.org/latest/pmd_rules_java_bestpractices.html#unusedprivatemethod)
**Description:**
The regression tester s…
-
### Prerequisites
* [x] Put an X between the brackets on this line if you have done all of the following:
* Check that your issue is not already [filed](https://github.com/leanprover/lean4/iss…
-
We have got an report that [`CMSIS/Include/cmsis_gcc.h`](https://github.com/ARM-software/CMSIS_6/blob/main/CMSIS/Core/Include/cmsis_gcc.h) violates MISRA C-2012 Rule 9.1 with message:
`The value of a…
-
### Analyzer
**Diagnostic ID**: CA2021 (no documentation yet): `Type 'U' is incompatible with type 'T' and cast attempts will throw InvalidCastException at runtime`
### Analyzer source
**SDK*…
MrJul updated
3 months ago
-
There are cases where we may want to test a value that may or may not be a boolean like so `if v == true`. Statix currently suggests I reduce this to `if v`.
If I do the reduction, and `v` is not a…