Skip to content
#

Code quality

Automate your code review with style, quality, security, and test‑coverage checks when you need them most. Code quality is intended to keep complexity down and runtime up.

Here are 544 public repositories matching this topic...

reviewdog
PragTob
PragTob commented Jul 5, 2020

We have a problem: if files aren't loaded/required we don't have branch data. If they are added through track_files we give it 0/0 branches which we show as 100% coverage (all possible branches are covered).

That math is "wrong" though here because there are branches but we don't know what they are. We should probably count total branches here as "unkown" and establish that in our "math unive

BraisGabin
BraisGabin commented Mar 7, 2022

Expected Behavior

When an exception is thrown while running a Rule we should provide information about the file and the Rule.

Current Behavior

We only provide information about the file.

Context

We had some issues lately where the users report exceptions on a Rule but we need to ask for the full stacktrace to know what's going on (an example: #4612). And the issue is also "de

MiguelGuthridge
MiguelGuthridge commented Mar 19, 2022

Current problem

It is almost always considered a bad practice to manually invoke a __magic__ method on a class.

# Bad
my_str = my_object.__str__()
# Good
my_str = str(my_object)

A warning for this type of issue could be nice and instructive for people who are new to Python.

Desired solution

A warning is given when Pylint is run on code that invokes __magic__ methods

Fernal73
Fernal73 commented Sep 1, 2019

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:

Code quality apps

Better Code Hub

A Benchmarked Definition of Done for Code Quality with BetterCodeHub

DeepScan

Advanced static analysis for automatically finding runtime errors in JavaScript code

Semgrep

Code scanning at ludicrous speed. Find bugs and enforce code standards

DeepSource

Fastest and reliable static anlaysis platform for engineering teams

Coveralls

Ensure that new code is fully covered, and see coverage trends emerge. Works with any CI service

Codecov | Code Coverage

Automatic test report merging for all CI and languages into a single code coverage report directly into your pull request

CommitCheck

CommitCheck ensures your commit messages are consistent and contain all required information

Codacy

Automated code reviews to help developers ship better software, faster

CodeScene

A quality visualization tool to identify and prioritize technical debt and evaluate your organizational efficiency

LGTM

Find and prevent zero-days and other critical bugs, with customizable alerts and automated code review

Sonatype Lift

Lift helps you find and fix your most elusive bugs so you can spend time writing great code, not debugging it

Datree

Policy enforcement solution for confident and compliant code

Sider

Automatically analyze pull request against custom per-project rulesets and best practices

See more Code quality apps