-
Updated
Oct 22, 2021 - JavaScript
static-code-analysis
Here are 403 public repositories matching this topic...
-
Updated
Oct 23, 2021 - OCaml
~/code/rubocop$ grep -iro "autocorrect" . | wc -l
1971
~/code/rubocop$ grep -iro "auto-correct" . | wc -l
1551Both 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 24, 2021 - PHP
-
Updated
Oct 21, 2021 - Rust
-
Updated
Oct 23, 2021 - Java
-
Updated
Oct 19, 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 24, 2021 - PHP
Is your feature request related to a problem? Please describe.
Sharing Datree's pre-commit hooks across projects can be painful because it requires copying and pasting unwieldy bash scripts.
Describe the solution you'd like
The pre-commit framework was created to solve those hook issues.
Additional context
[Creating new hooks](https://pr
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 24, 2021 - Python
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
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:
The Problem
With the new model-property type and ModelPropertyRule Larastan now has the ability to check the existence of model columns that are given to a method.
Adding the model-property type to the Laravel's core methods are done with the help of PHPstan stubs. Some [examples](https://github.com/nunomaduro/larastan/blob/master/stubs/Elo
This file is enormous. Also, breaking it up will make running tests faster since Gradle can run separate test classes in parallel.
-
Updated
Oct 23, 2021 - Go
I am looking for a list of visitors/detectors that I can omit. Specifically, I am look for the allowed values for https://spotbugs.github.io/spotbugs-maven-plugin/spotbugs-mojo.html#omitVisitors.
Previously, in SpotBugs 3.1, this list could be found under "detectors" at e.g. https://spotbugs-in-kengo-toda.readthedocs.io/en/lqc-list-detectors/detectors.html#standard-detectors, but that page/menu
-
Updated
Oct 18, 2021 - TypeScript
-
Updated
Sep 21, 2021 - Ruby
-
Updated
Oct 16, 2021 - JavaScript
I wrote some of the code to do this in a branch https://github.com/python-security/pyt/compare/class_based_views, but since I'm working on other things and this feature seems cool and important I'm making this issue
Let me know if you would like any help in implementing.
-
Updated
Oct 20, 2021 - Go
-
Updated
Oct 15, 2021 - Ruby
-
Updated
Oct 21, 2021 - Python
Justification
It's much more common to see the code below:
Public Sub Foo()
Dim i, j, k As Long
'code
End Subthan it is to see:
Public Sub Foo()
Dim i As Long, j As Long, k As Long
'code
End SubThis is a very common pitfall. Example code in a MultipleDeclarations inspect
-
Updated
Oct 21, 2021 - Go
-
Updated
Oct 19, 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