Skip to content

Instantly share code, notes, and snippets.

@HuGanghui
Last active August 30, 2020 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HuGanghui/6a8ee1ee63dfe700835b5e52fc63f314 to your computer and use it in GitHub Desktop.
Save HuGanghui/6a8ee1ee63dfe700835b5e52fc63f314 to your computer and use it in GitHub Desktop.
GSoC 2020 Suppression Patch Filter Report

GSoC 2020 Suppression Patch Filter Report

Project idea:


https://github.com/checkstyle/checkstyle/wiki/Checkstyle-GSoC-2020-Project-Ideas#project-name-patch-suppression

Description: Introducing Checkstyle to a project can be a challenging and NOT an easy job, especially when a project has massive amount of code, very active in development, and there are no resources to start a new process of code cleanup. Checkstyle needs a new approach for filtering violations, which should be based on the diff details of the last commit. With this, users will only need to fix violations only in newly created or changed code. It could be configurable to skip changed lines and and only show violations in purely new code.

Merged commits:


Issue #7645: Update doc for IllegalToken

Issue #7646: Update doc for IllegalTokenText

Issue #7573: update doc for MissingOverride

Issue #7748: Update AbstractChecks to log DetailAST - MissingOverride

Issue #7800: Resolve Pitest Issues - AvoidStarImportCheck(2)

Issue #7590: Update doc for OuterTypeFilename

Issue #7755: Update AbstractChecks to log DetailAST - OuterTypeFilename

Issue #7744: Update AbstractChecks to log DetailAST - MissingCtor

Issue #7731: Update AbstractChecks to log DetailAST - FinalClass

doc: fix typo in config_whitespace.xml

Issue #6707: fix false violation report that does not allow spaces in front of ellipsis tokens for Google Style

Issue #7612: Update doc for InterfaceIsType

Issue #7735: Update AbstractChecks to log DetailAST - InterfaceIsType

Issue #7889: add UT to validate URL is correct in config.xml and fix a typo

Issue #8118: Enforce -e for all maven commands

Issue #8169: Making regex to validate missed space in comments in non files

Issue #7766: Update AbstractChecks to log DetailAST - VariableDeclarationUsageDistance

Issue #7747: Update AbstractChecks to log DetailAST - MissingJavadocType

Issue #7730: Update AbstractChecks to log DetailAST - EmptyLineSeparator

Issue #7739: Update AbstractChecks to log DetailAST - JavadocMethod

Issue #7762: Update AbstractChecks to log DetailAST - TodoComment

All Merged Pull Requests

Issue #251: ci:build patch-filter jar buring a build

Not merged PRs:


Issue #6943: new Check: NullTestAroundInstanceOfCheck

Issue #7763: Update AbstractChecks to log DetailAST - TrailingComment

dependency: bump Saxon-HE from 9.9.1-7 to 10.0

What I learn and harvest from GSoC 2020

  1. GSoC enables me to understand how to participate in the contribution of an open source community, familiarize myself with Git tools, and make me more confident to write better code.

  2. Through the patch-filters, I really realize that Test-driven development (TDD) is a meaningful software development process. patch-filters practices this approach and TDD is the core and driving force of this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment