Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

Add priority --threshold flag to PMD command - #667

Merged
azlam-abdulsalam merged 3 commits into
developfrom
pmd-threshold
Aug 30, 2021
Merged

azlam-abdulsalam merged 3 commits into
developfrom
pmd-threshold

Conversation

@aly76

@aly76 aly76 commented Aug 26, 2021 •

Copy link
Copy Markdown
Contributor

Closes #432

When a threshold is specified, fail for violations with a priority less than or
equal to the threshold.

Refactor output of function used to parse PMD XML output file

Fix regression in --istobreakbuild deprecated flag

When no violations are found, show a success message

Throw an error when PMD fails to generate output, the output XML file is empty or does not belong to PMD.

When a threshold is specified, fail for violations with a priority less than or
equal to the threshold.

Refactor output of function used to parse PMD XML output file
@aly76
aly76 requested a review from azlam-abdulsalam August 26, 2021 13:16
@aly76
aly76 marked this pull request as draft August 26, 2021 13:16
@codecov-commenter

codecov-commenter commented Aug 26, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #667 (dff3e62) into develop (bbd5440) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #667   +/-   ##
========================================
  Coverage    64.59%   64.59%           
========================================
  Files           43       43           
  Lines         1429     1429           
  Branches       242      242           
========================================
  Hits           923      923           
  Misses         506      506           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3dc426d...dff3e62. Read the comment docs.

@aly76 aly76 added this to the Release - September 21 milestone Aug 27, 2021
@aly76
aly76 marked this pull request as ready for review August 27, 2021 01:00

@azlam-abdulsalam azlam-abdulsalam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Analyze PMD should provide options on when to break build

3 participants