-
Updated
Jan 3, 2022 - Python
code-analysis
Here are 293 public repositories matching this topic...
-
Updated
Jan 5, 2022 - C
-
Updated
Jan 5, 2022 - Elixir
-
Updated
Jan 3, 2022 - Java
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
Jun 18, 2019 - JavaScript
-
Updated
Nov 5, 2021 - Python
-
Updated
Jan 5, 2022 - JavaScript
[spotbugs] Running SpotBugs...
[spotbugs] Unexpected problem occured during version sanity check
[spotbugs] Reported exception:
[spotbugs] java.lang.AbstractMethodError: Receiver class org.slf4j.nop.NOPServiceProvider does not define or inherit an implementation of the resolved method 'abstract java.lang.String getRequesteApiVersion()' of interface org.slf4j.
-
Updated
Dec 29, 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
Jan 5, 2022 - Python
-
Updated
Dec 15, 2021 - Python
@MartinWitt points out rightly that assertTrue assertions should always have a message, see INRIA/spoon#4298 (review)
It's a good Spoon exercise to write a processor to detect assertTrue without messages.
We welcome first contributors to Spoon who add missing messages to assertTrue.
-
Updated
Dec 26, 2021 - Java
-
Updated
Dec 16, 2021
-
Updated
Jan 2, 2022 - 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
Jan 1, 2022 - PHP
-
Updated
Jan 5, 2022 - Scala
I want to report a bug.
prefer-single-boolean-return warns on cases like the following:
function f() {
if (condition) {
return true;
} else {
return false;
}
}However, this control flow is arguably unidiomatic JS regardless of whether it's returning a boolean. These cases are already warned against by eslint's built-in [no-else-return](https://esli
-
Updated
Jan 17, 2021 - C++
-
Updated
Sep 1, 2021 - PHP
-
Updated
Oct 31, 2021 - Kotlin
-
Updated
May 6, 2021 - 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: 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: