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 454 public repositories matching this topic...

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

orsinium
orsinium commented Oct 29, 2020

Rule request

Thesis

Detect if both possible results of a ternary operator return the same value.

# bad
# (all results below can be replaced by just `a`)
a if ... else a
a if a is not None else None
a if a != b else b
b if a == b else a

# ok
a if ... else c
a.split() if a is not None else None
a if a != b else c

Reasoning

It is either a bug or unnec

Splaktar
Splaktar commented Nov 11, 2018

AngularJS Material uses gulp to build everything, so we're looking at using https://github.com/ivogabe/gulp-typescript for our builds. It seems like something could be built similar to the webpack plugin in order to have the types added during the Gulp pipeline.

It's not clear if typewiz-node could help with this already or not. We don't have a single main.ts to point to. Should we do somethi

dabutvin
dabutvin commented Aug 19, 2020

There is a gap in the docs about managing your installation using github settings and imgbot settings

Main points:
For managing your imgbot installation check out github's docs.
They offer 2 options for managing this. You can select which repositories you want it installed in, or you can choose "all repositories including all future repositories".

You can log in and see your repos and req

Code quality apps

Lucidchart Connector

Insert a public link to a Lucidchart diagram so team members can quickly understand an issue or pull request

Coveralls

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

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

Code Climate

Automated code review for technical debt and test coverage

Imgbot

A GitHub app that optimizes your images

TestQuality

The #1 Test Case Creation and Management for GitHub Workflows

DeepSource

Identify and fix bug risks, anti-patterns, performance issues, and security flaws using static analysis

Sider

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

Better Code Hub

A Benchmarked Definition of Done for Code Quality with BetterCodeHub

Datree

Policy enforcement solution for confident and compliant code

CommitCheck

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

See more Code quality apps
You can’t perform that action at this time.