-
Updated
Aug 13, 2021 - Python
code-analysis
Here are 278 public repositories matching this topic...
-
Updated
Aug 19, 2021 - C
-
Updated
Aug 14, 2021 - Elixir
-
Updated
Aug 16, 2021 - Java
-
Updated
Jun 18, 2019 - JavaScript
-
Updated
Jul 2, 2021 - Python
-
Updated
Aug 16, 2021 - JavaScript
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
Aug 18, 2021 - 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
Aug 18, 2021 - Python
-
Updated
Aug 8, 2021 - Python
A lot of the Javadoc comments int the public API are missing documentation for things like parameters and return types (think @param
and @return
tags). In my opinion, the most glaring omissions of these details are in the metamodel docs, found in the subpackages of spoon.reflect
.
For example, at the time of writing
-
Updated
Apr 26, 2021 - Java
-
Updated
Aug 3, 2021 - PHP
-
Updated
Aug 11, 2021
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
Jul 29, 2021 - PHP
-
Updated
Jan 17, 2021 - C++
-
Updated
Aug 18, 2021 - Scala
-
Updated
Aug 13, 2021 - TypeScript
-
Updated
Oct 16, 2019 - PHP
-
Updated
May 2, 2021 - Kotlin
-
Updated
May 6, 2021 - JavaScript
-
Updated
Jul 16, 2021 - 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
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: UselessOverridingMethod
Description:
From pmd/pmd#2871 (comment)
Note: There seems to be a difference when having the class in the auxclasspath or not (typeresolution).
Code Sample demonstrating the issue: