-
Updated
Oct 13, 2021 - JavaScript
static-code-analysis
Here are 402 public repositories matching this topic...
-
Updated
Oct 13, 2021 - OCaml
~/code/rubocop$ grep -iro "autocorrect" . | wc -l
1971
~/code/rubocop$ grep -iro "auto-correct" . | wc -l
1551
Both autocorrect
and auto-correct
are used frequently in RuboCop. Should we be consistent? If so, which one?
Any change should only affect comments and other string content, not method names.
-
Updated
Oct 13, 2021 - PHP
-
Updated
Oct 4, 2021 - Rust
-
Updated
Oct 13, 2021 - Java
-
Updated
Oct 13, 2021 - Go
Describe the bug
I expect metavariables between backticks to work in JavaScript:
$ semgrep --lang js -e '`$A`'
ran 1 rules on 1 files: 0 findings
I expect this to match the following:
`test`;
Priority
How important is this to you?
- P2: annoying but not blocking me
-
Updated
Oct 11, 2021 - PHP
Many repositories need to fix, so please help if you like.
If you could help, it would be helpful if you could comment before starting the work not to overlapping.
Fix example
Run exit command after lint.
echo '::group:: Running golangci-lint with reviewdog 🐶 ...'
go
-
Updated
Oct 13, 2021 - Python
Affects PMD Version: 6.30.0-SNAPSHOT
Rule: UselessOverridingMethod
Description:
Note: There seems to be a difference when having the class in the auxclasspath or not (typeresolution).
Code Sample demonstrating the issue:
Describe the bug
In the docs found here:
https://bandit.readthedocs.io/en/latest/plugins/index.html#complete-test-plugin-listing
B109 and B111 show a description instead of a plugin name. This looks inconsistent since all the other plugin names are listed. I believe this is a result of a recent change to remove these deprecated plugins.
To Reproduce
- Navigate to https://bandit
Describe the bug
The install script continues execution even if there are errors in the download process and the download fails
To Reproduce
Steps to reproduce the behavior:
- curl https://get.datree.io | /bin/bash
- interrupt internet(disable wifi during download)
- See error
Expected behavior
Error message and non-zero exit code
Screenshots

Dim i, j, k As Long
'code
End Sub
than it is to see:
Public Sub Foo()
Dim i As Long, j As Long, k As Long
'code
End Sub
This is a very common pitfall. Example code in a MultipleDeclarations inspect
-
Updated
Oct 1, 2021 - Go
-
Updated
Sep 22, 2021 - Java
Improve this page
Add a description, image, and links to the static-code-analysis topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the static-code-analysis topic, visit your repo's landing page and select "manage topics."
What rule do you want to change?
max-lines-per-function
What change to do you want to make?
Generate fewer warnings
How do you think the change should be implemented?
A new default behavior
Example code
Wha