-
Updated
Nov 25, 2020 - Python
code-analysis
Here are 257 public repositories matching this topic...
-
Updated
Nov 25, 2020 - C
-
Updated
Nov 24, 2020 - Elixir
-
Updated
Nov 25, 2020 - Java
-
Updated
Jun 18, 2019 - JavaScript
-
Updated
Nov 20, 2020 - Python
-
Updated
Nov 25, 2020 - JavaScript
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 16, 2020 - CSS
Description
BeanUtils is a library that is doing automatic mapping to Java object.
It can cause arm when the attack controls part of the list of properties being sets. BeanUtils does not blacklist properties like class, classloader or other objects that are likely to load arbitrary classes and possibly run code.
Code
import org.apache.commons.beanutils.BeanUtils;
public
-
Updated
Nov 25, 2020 - C++
-
Updated
Sep 28, 2020 - Python
-
Updated
Oct 13, 2020 - Java
Problem
Sometimes code elements have no package and getPackage
return nulls. This introduces null checks and surprises for new developers. INRIA/spoon@84c84e1 as seen here, package can be null.
Solution
A null object[0],[1] could improve code quality. A comparable implementation is [NoSourcePosition](https://github.com/INRI
-
Updated
Nov 28, 2019 - PHP
Environment data
VS Code version: 1.34.0
Extension version (available under the Extensions sidebar): 2019.4.12954
OS and version: Ubuntu 19.04
Python version (& distribution if applicable, e.g. Anaconda): 3.6
Type of virtual environment used: virtualenv
Problem
The type hints in the stub file for the current module aren't used for autocompletion.
I have a foo.pyi
file as
-
Updated
Oct 18, 2020 - PHP
-
Updated
Nov 19, 2020
-
Updated
Jun 28, 2020 - C++
-
Updated
Oct 16, 2019 - PHP
-
Updated
Oct 2, 2020 - Kotlin
-
Updated
Nov 14, 2020 - TypeScript
-
Updated
Nov 22, 2020 - Scala
-
Updated
Oct 3, 2020 - Python
Backreferences referencing a (named) capture group declared after the reference always expand to an empty string. They are in fact forwardreferences.
/^\1(.)$/.test('aa'); // doesn't match
/^\k<name>(?<name>.)$/.test('a'); // matches only a single character
Related: #615
-
Updated
Sep 4, 2020 - JavaScript
Improve this page
Add a description, image, and links to the 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 code-analysis topic, visit your repo's landing page and select "manage topics."
Affects PMD Version: 6.30.0-SNAPSHOT
Rule: JUnitAssertionsShouldIncludeMessage
Description:
From pmd/pmd#2871 (comment)
Code Sample demonstrating the issue:
https://chunk.io/pmd/fc7db65b2c6a46eca4c9a0c3012482e2/diff/spring-framewo