17506 Commits

Author SHA1 Message Date
Manuel Moya
7cb3b68884 PR Comments 2021-01-25 11:28:27 +01:00
Manuel Moya
944058ff29 Improved sarif with runtime and configuration errors
Added those in toolConfigurationNotifications and toolExecutionNotifications components of invocations (part of sarif standard)
2021-01-20 17:14:08 +01:00
Manuel Moya
3e9fd7b80a Cleaning code 2021-01-20 09:16:00 +01:00
Manuel Moya
69bd89884f Fix checkstyle 2021-01-19 18:36:58 +01:00
Manuel Moya
f16269a750 Including a SarifLogBuilder and error display 2021-01-19 18:30:39 +01:00
Manuel Moya
68eb4294d4 Initialising vars in start method 2021-01-19 13:29:33 +01:00
Manuel Moya
2aae644dd5 Update pmd_report_formats.md 2021-01-19 12:19:15 +01:00
Manuel Moya
a5ac240fd0 Adding doc 2021-01-19 11:59:14 +01:00
Manuel Moya
fbb73373ea Sarif format refinement 2021-01-19 11:11:42 +01:00
Manuel Moya
2e2b763b5a Update SarifRenderer.java
Cleaning code
2021-01-19 10:52:16 +01:00
Manuel Moya
52a6ab2e08 Fix checkstyle issues 2021-01-19 10:45:17 +01:00
Manuel Moya
e008f2ba71 Cleaning code 2021-01-19 10:07:59 +01:00
Manuel Moya
51b1c1b429 cleaning code 2021-01-18 17:45:52 +01:00
Manuel Moya
615b33b8b1 Basic sarif renderer with unit tests 2021-01-18 16:32:27 +01:00
Clément Fournier
ab28879460 Merge remote-tracking branch 'upstream/master' 2021-01-08 21:41:29 +01:00
Clément Fournier
0e2eb52d82 Merge branch 'pr/2964'
Refs #2964
2021-01-08 21:39:45 +01:00
Clément Fournier
93e567b8ea Update release notes, refs #2964 2021-01-08 21:39:33 +01:00
Clément Fournier
5efc0c02a3 Merge branch 'master' into pr/2964 2021-01-08 21:31:39 +01:00
Andreas Dangel
04c0f968dc Merge pull request #2994 from vmaurin:fix-codeclimate-severity
[core] Fix code climate severity strings #2994
2021-01-07 20:19:45 +01:00
Andreas Dangel
a5a51f0d5e [doc] Update release notes, refs #2994 2021-01-07 20:16:40 +01:00
Andreas Dangel
c7cd242ab2 [core] Renderers - adjust tests for different rule priorities (#2994) 2021-01-07 20:14:29 +01:00
Andreas Dangel
60ee3a4c99 Merge pull request #2983 from
ozangulle:ticket-575/PositionLiteralsFirstInComparisons-should-consider-constant-fields

[java] LiteralsFirstInComparisons should consider constant fields #2983
2021-01-07 19:57:33 +01:00
Andreas Dangel
f8e49125ad [doc] Update release notes, refs #2983, fixes #575 2021-01-07 19:54:51 +01:00
Andreas Dangel
740d832dc1 Change from PR review #2983 2021-01-07 19:51:23 +01:00
Andreas Dangel
4b99f42657 [doc] Fix link to deprecated RulesetsFactoryUtils 2021-01-07 15:31:45 +01:00
Andreas Dangel
5ed003c686 Update gems
CVE-2020-26247
https://github.com/advisories/GHSA-vr8q-g5c7-m54m
2021-01-07 15:28:06 +01:00
Andreas Dangel
59493d1e82 [doc] Prefer github discussions for questions 2021-01-07 12:09:10 +01:00
Vincent Maurin
c5fa4cbfa0 Fix severity strings
Code Climate issue severity are specified here
https://github.com/codeclimate/platform/blob/master/spec/analyzers/SPEC.md#issues
as `info`, `minor`, `major`, `critical`, or `blocker`. It was mapped to
a value `normal` that is not recognized by tools compatible with Code
Climate's format. I have mapped the five PMD priority values on the five Code Climate severity levels
2021-01-04 15:51:27 +01:00
Maikel Steneker
77292da7af Add test for empty C# comment.
This was previously incorrectly tokenized, because it was recognized as the start of a documentation comment.
2020-12-23 10:46:34 +01:00
Ozan Gulle
49fbb90cb1 Changed naming of the method 2020-12-21 21:37:22 +01:00
Ozan Gulle
2bbf56ec06 Added a new test case 2020-12-21 21:37:09 +01:00
Maikel Steneker
ed8fbccb1c Add tests for additional C# 7 and C# 8 features 2020-12-18 14:47:59 +01:00
Ozan Gulle
129790ddfc Fixed the order of imports 2020-12-16 22:44:33 +01:00
Ozan Gulle
ae12a6db35 Put duplicated code in a separate method 2020-12-16 22:09:11 +01:00
Ozan Gulle
d0fb81de1f LiteralsFirstInComparisonsRule also checks for constants 2020-12-16 21:49:38 +01:00
Andreas Dangel
0488c853e3 [ci] Fix creating regression tester baseline for release builds (#2967) 2020-12-12 12:06:59 +01:00
Andreas Dangel
a672c5e85d [doc] Fix release notes 2020-12-12 11:46:39 +01:00
Andreas Dangel
ba0e9ec7d1 [ci] Install needed gems before rendering release notes (#2967) 2020-12-12 11:29:36 +01:00
Andreas Dangel
f276eec0ba [ci] Use ruby 2.7 for release build (#2967) 2020-12-12 11:19:51 +01:00
Andreas Dangel
139a3f6103 [ci] Fix build in trunk (#2967)
The same problem would have occurred for the release build.
2020-12-12 11:19:23 +01:00
Andreas Dangel
06dae58f78 Prepare next development version 2020-12-12 09:51:21 +01:00
Andreas Dangel
d284ea9634 [maven-release-plugin] prepare for next development iteration 2020-12-12 09:42:10 +01:00
Andreas Dangel
d2e4fb4ca3 [maven-release-plugin] prepare release pmd_releases/6.30.0 pmd_releases/6.30.0 2020-12-12 09:42:02 +01:00
Andreas Dangel
39f3026cf1 Prepare pmd release 6.30.0 2020-12-12 09:31:08 +01:00
Andreas Dangel
1a4ca95f6c Merge pull request #2635 from oowekyala:ruleset-factory-builder
[core] New RuleSet API and deprecations for PMD's entry point APIs #2635
2020-12-11 19:03:41 +01:00
Andreas Dangel
afcb45ea89 Remove unneeded suppresswarnings in AbstractPMDProcessor 2020-12-11 18:47:19 +01:00
Andreas Dangel
bcbf588bba Rename RuleSetLoadException 2020-12-11 18:35:41 +01:00
Andreas Dangel
4229343173 Use Github Discussions for Q&A 2020-12-11 16:52:17 +01:00
Andreas Dangel
feccab274e Bump org.codehaus.groovy:groovy from 2.4.7 to 2.4.21 2020-12-11 16:50:49 +01:00
Andreas Dangel
85ed4f3303 [ci] Fix build badge 2020-12-11 16:12:00 +01:00