-
Updated
Feb 13, 2021 - JavaScript
static-code-analysis
Here are 383 public repositories matching this topic...
-
Updated
Feb 12, 2021 - OCaml
The following should not generate an offense:
# shareable_constant_value: literal (or experimental_everything)
MY_CONSTANT = %w[anything here is fine even non-literals]
-
Updated
Feb 13, 2021 - PHP
-
Updated
Feb 12, 2021 - Rust
-
Updated
Feb 13, 2021 - Java
-
Updated
Jan 30, 2021 - PHP
-
Updated
Feb 11, 2021 - Go
Affects PMD Version: 6.30.0-SNAPSHOT
Rule:UseTryWithResources
Description:
Code Sample demonstrating the issue:
https://chunk.io/pmd/fc7db65b2c6a46eca4c9a0c3012482e2/diff/checkstyle/index.html#A360
import j
-
Updated
Feb 12, 2021 - Python
e.g.
# map.py
def func(a: int) -> float:
return float(a)
map(func, ['str'])
$ pytype map.py
Computing dependencies
Analyzing 1 sources with 0 local dependencies
ninja: Entering directory `/[redacted]/.pytype'
ninja: no work to do.
Success: no errors found
while
$ mypy map.py
map.py:5: error: Argument 1 to "map" has incompatible type "Ca
Somethig wrong with symol '^' escaping in regexp
https://semgrep.dev/s/PJee
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
-
Updated
Feb 12, 2021 - Go
This file is enormous. Also, breaking it up will make running tests faster since Gradle can run separate test classes in parallel.
-
Updated
Feb 13, 2021 - Go
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
-
Updated
Feb 11, 2021 - TypeScript
If you look at https://raw.githubusercontent.com/findbugsproject/findbugs/master/findbugs/etc/findbugsfilter.xsd you'll see the schema target namespace as http://findbugs.sourceforge.net/filter/3.0.0 which is a dead URL. Any way to update this to a valid value? This is causing XML validation errors. I poked around and didn't see any 4.0.0 version either. Also, this is documented in the filter
-
Updated
Feb 9, 2021 - Ruby
-
Updated
Nov 18, 2020 - 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
Feb 12, 2021 - Ruby
Rubberduck version information
Version 2.5.1.5557
OS: Microsoft Windows NT 10.0.14393.0, x64
Host Product: Microsoft Outlook x86
Host Version: 16.0.4266.1001
Host Executable: OUTLOOK.EXE
Description
The event procedures _Itemadd on some collections are marked as "Procedure not used"
To Reproduce
declare
Private WithEvents colCeka As Items
Private WithEvents colDraft
-
Updated
Jan 15, 2021 - Java
-
Updated
Dec 19, 2018 - C++
-
Updated
Jan 23, 2021 - Go
-
Updated
Jan 7, 2021 - Python
-
Updated
Oct 27, 2020 - JavaScript
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."