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

Feature Branch Coverage good first issue
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

help wanted feature core good first issue
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

Enhancement Help Wanted 🙏 good first issue
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:
an:enhancement good first issue

Code quality apps

Codacy

Automated code reviews to help developers ship better software, faster

Semgrep

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

TestQuality

The #1 Test Case Creation and Management for GitHub Workflows

codebeat

Code review expert on demand. Automated for mobile and web

Code Climate

Automated code review for technical debt and test coverage

Sonatype Lift

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

Codecov | Code Coverage

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

LGTM

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

DeepScan

Advanced static analysis for automatically finding runtime errors in JavaScript code

CommitCheck

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

Better Code Hub

A Benchmarked Definition of Done for Code Quality with BetterCodeHub

Imgbot

A GitHub app that optimizes your images

CodeScene

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

See more Code quality apps