-
Updated
Nov 27, 2020 - JavaScript
static-code-analysis
Here are 375 public repositories matching this topic...
-
Updated
Nov 26, 2020 - OCaml
Expected Behavior
When Rubocop encounters '"' + "foo" + '"'
it should be autocorrected to '"foo"'
Actual Behavior
When Rubocop 1.1.0 encounters '"' + "foo" + '"'
it currently autocorrects to ""foo""
thus leading to a syntax error:
test.rb:3:3: C: [Corrected] Style/StringConcatenation: Prefer string interpolation to string concatenation.
p '"' + "foo" + '"'
^^^^^^^
-
Updated
Nov 28, 2020 - PHP
-
Updated
Nov 27, 2020 - Rust
-
Updated
Nov 28, 2020 - Java
-
Updated
Nov 28, 2020 - PHP
-
Updated
Nov 2, 2020 - Go
Affects PMD Version: 6.30.0-SNAPSHOT
Rule: JUnitAssertionsShouldIncludeMessage
Description:
Code Sample demonstrating the issue:
https://chunk.io/pmd/fc7db65b2c6a46eca4c9a0c3012482e2/diff/spring-framewo
-
Updated
Nov 28, 2020 - Python
That is: org.springframework.beans.factory.annotation.Autowired
Writing this mostly as a reminder to self. But if anyone else wants to do it, it should be a trivial change.
Reactor support?
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
Nov 28, 2020 - Go
-
Updated
Nov 27, 2020 - Go
-
Updated
Nov 25, 2020 - TypeScript
Spacegrep, when scanning for files, tries to open regular files or directories even if it doesn't have the permission to to do. This results in the following exception:
$ spacegrep x -d /tmp
Fatal error: exception Sys_error("/tmp/not-your-business: Permission denied")
...
Instead, such files should be ignored with a warning, similarly to how binary files are ignored. The --force
op
- Larastan Version: 0.6.1
--level
used: 5
Description
In a project that follows DDD, there are usually multiple directories where migration files exist:
database/migrations/*
domains/<domain>/Database/Migrations/*
In these cases it is not possible to configure larastan to scan all the migrations, since the databaseMigrationsPath only accepts a string.
Is there any way to
-
Updated
Nov 13, 2020 - Ruby
How can i run findsecbugs rules in spotbugs?
Am i right?
./spotbugs -textui -pluginList /Users/xxx/Downloads/findsecbugs-plugin-1.11.0-SNAPSHOT.jar -home . -low -output ./aaa -progress -train ./bbb -sourcepath ~/Downloads/codez/test/My-Blog/ -debug -noClassOk -progress -auxclasspath ~/Downloads/codez/test/My-Blog/target/ -choosePlugins edu.umd.cs.findbugs.plugins.core
-
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
Nov 26, 2020 - 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
Oct 20, 2020 - Java
-
Updated
Dec 19, 2018 - C++
-
Updated
Nov 18, 2020 - Python
-
Updated
Nov 17, 2020 - Go
-
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."