-
Updated
Apr 26, 2021 - JavaScript
static-code-analysis
Here are 393 public repositories matching this topic...
-
Updated
Apr 29, 2021 - HTML
feature request
We have a project were many people contribute that don't know ruby well, they often write methods that are global, I'd like to stop them
this also often happens in things like Rakefile or *.rake files
Describe the solution you'd like
class Foo
def not_global <- Good
end
end
def this_is_global <- Bad
end
Describe alternatives you've consi
-
Updated
Apr 29, 2021 - PHP
-
Updated
Apr 29, 2021 - Rust
-
Updated
Apr 29, 2021 - Java
-
Updated
Apr 29, 2021 - PHP
-
Updated
Apr 16, 2021 - Go
Describe the bug
In Typescript 4.0 the following is valid:
try {
// ...
}
catch (e: unknown) {
// error!
// Property 'toUpperCase' does not exist on type 'unknown'.
console.log(e.toUpperCase());
if (typeof e === "string") {
// works!
// We've narrowed 'e' down to the type 'string'.
console.log(e.toUpperCase());
}
}
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:
-
Updated
Apr 29, 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
-
Updated
Apr 28, 2021 - Go
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
This file is enormous. Also, breaking it up will make running tests faster since Gradle can run separate test classes in parallel.
-
Updated
Apr 18, 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
Apr 26, 2021 - TypeScript
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
Apr 30, 2021 - Ruby
-
Updated
Apr 23, 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
Mar 4, 2021 - Ruby
Rubberduck version information
Version 2.5.0.5524
OS: Microsoft Windows NT 10.0.18362.0, x64
Host Product: Microsoft Office 2016 x64
Host Version: 16.0.5026.1000
Host Executable: EXCEL.EXE
Description
When pressing the tab key after preforming a search in Add/Remove references a "Null Reference" error occurs. Pressing tab in other locations will also cause this error. Also, when
-
Updated
Apr 8, 2021 - Java
-
Updated
Apr 26, 2021 - Python
-
Updated
Apr 29, 2021 - Go
-
Updated
Dec 19, 2018 - C++
-
Updated
Apr 11, 2021 - 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."