-
Updated
Apr 2, 2022 - Python
code-analysis
Here are 304 public repositories matching this topic...
-
Updated
Apr 4, 2022 - C
-
Updated
Apr 2, 2022 - Elixir
-
Updated
Apr 4, 2022 - Java
Affects PMD Version:
6.17
Rule:
All rulesets.
Description:
PMD output does not inform the user as to the number of rules contravened while running the tool. The user has to look at the output file.
Code Sample demonstrating the issue:
Sep 01, 2019 9:42:45 AM net.sourceforge.pmd.cache.FileAnalysisCache loadFromFile
INFO: Analysis cache loaded
Sep 01, 2019 9:
-
Updated
Jun 18, 2019 - JavaScript
-
Updated
Nov 5, 2021 - Python
-
Updated
Apr 4, 2022 - JavaScript
should be changed to
for oddness, consider using (x & 1) == 1, or (x % 2) != 0.
-
Updated
Mar 31, 2022 - 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
Apr 1, 2022 - Python
-
Updated
Mar 2, 2022 - 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
Apr 1, 2022 - Java
-
Updated
Mar 31, 2022
-
Updated
Feb 7, 2022 - PHP
-
Updated
Apr 2, 2022 - Python
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
Apr 4, 2022 - Scala
-
Updated
Mar 22, 2022 - PHP
-
Updated
Mar 29, 2022 - TypeScript
-
Updated
Jan 17, 2021 - C++
-
Updated
Mar 29, 2022 - PHP
-
Updated
Jan 10, 2022 - Kotlin
-
Updated
Mar 30, 2022 - Rust
-
Updated
Jan 15, 2022 - 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."
The Problem
With the new
model-property
type andModelPropertyRule
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