1357 Commits

Author SHA1 Message Date
Juan Martin Sotuyo Dodero
73df7d048a Merge branch 'pr-729' 2017-11-20 16:37:12 -03:00
Andreas Dangel
98ac510443 Merge branch 'pr-734' 2017-11-19 13:47:02 +01:00
Andreas Dangel
fd0cdb9514 Mark property "reportLevel" of CyclomaticComplexityRule as deprecated 2017-11-19 13:39:21 +01:00
Clément Fournier
3055d25aac Fix doc 2017-11-18 15:34:42 +01:00
Clément Fournier
79dd6c525f Fix npath documentation bad rendering 2017-11-18 15:31:58 +01:00
Clément Fournier
7cab3cbc73 Move CyclomaticComplexity from metrics to design w/ deprecated property 2017-11-12 13:33:05 +01:00
Juan Martín Sotuyo Dodero
227a0046c5 Merge branch 'pr-726' 2017-11-11 19:14:02 -03:00
Clément Fournier
b9a605c86a Shorten test case 2017-11-11 12:07:51 +01:00
Andreas Dangel
06a1244e15 [doc] Add unit test for all rulesets and fix existing rulesets 2017-11-10 14:03:05 +01:00
Andreas Dangel
3b624bf687 Merge branch 'pr-722' 2017-11-09 22:04:46 +01:00
Clément Fournier
947d4ab1a8 Fix issue #721 2017-11-09 20:54:03 +01:00
Clément Fournier
31696c7397 Deprecate compat property for 7.0.0 2017-11-09 20:28:09 +01:00
Clément Fournier
695defcc61 Add old property back and log warning + correct the property range 2017-11-09 15:02:59 +01:00
Andreas Dangel
d0f0c467a0 Merge branch 'pr-717' 2017-11-08 20:54:12 +01:00
Clément Fournier
f8bea7f580 Move NPathComplexity from metrics to design 2017-11-08 14:11:36 +01:00
Juan Martín Sotuyo Dodero
2c0957a07b Add back the removed UnnecessaryFinalModifier rule 2017-11-07 20:39:30 -03:00
Andreas Dangel
6bba28acbe Add categories.properties files 2017-11-07 22:23:17 +01:00
Juan Martín Sotuyo Dodero
f9f96b84fe [java] merge UnnecessaryFinalModifier into UnnecessaryModifier
- I take the chance to also flag final resources in try-with-resources
 - This resolves #411
 - This resolves #676
 - The rule is now using the rulechain
2017-11-07 00:34:00 -03:00
Juan Martín Sotuyo Dodero
25da0c86f2 Merge branch 'pr-697' 2017-11-06 13:41:27 -03:00
Juan Martín Sotuyo Dodero
9e1342f30a Merge branch 'pr-696' 2017-11-04 19:48:28 -03:00
Juan Martín Sotuyo Dodero
8d381daeb3 Merge branch 'pr-669' 2017-11-04 19:40:14 -03:00
Juan Martín Sotuyo Dodero
5d6a03612e Rename builder method 2017-11-04 19:19:39 -03:00
Andreas Dangel
e1a588f499 Merge branch 'master' into ruleset-categories 2017-11-04 19:53:21 +01:00
Andreas Dangel
961cf8d49a Merge branch 'pr-686' 2017-11-04 19:32:36 +01:00
Andreas Dangel
17f2e793d7 Fix TODO - false positive of UselessParenthesis (refs #709) 2017-11-03 20:09:16 +01:00
Andreas Dangel
aacae9e47d [java] Update category descriptions 2017-11-03 12:18:22 +01:00
Andreas Dangel
20863e1853 Fix checkstyle 2017-11-03 12:08:00 +01:00
Andreas Dangel
77959e9937 [java] Fix unit tests 2017-11-03 12:04:26 +01:00
Andreas Dangel
238494b092 [java] Moving rules into correct packages according to the new category - Part 3 2017-11-03 11:54:34 +01:00
Andreas Dangel
696c1cb651 [java] Moving rules into correct packages according to the new category - Part 2 2017-11-02 20:36:28 +01:00
Andreas Dangel
b3e485d325 [java] Moving rules into correct packages according to the new category - Part 1 2017-11-01 20:17:11 +01:00
Andreas Dangel
c29f2a44e6 Revert "Temporarily disable the unit tests until the rules are moved into the"
This reverts commit ded09b649895436c183eb7ffe93d5119a4d2a126.
2017-11-01 18:54:10 +01:00
Clément Fournier
fc0cb45f49 Merge branch 'master' into properties-builder 2017-11-01 18:21:54 +01:00
Clément Fournier
6b50104cb5 Corrections for PR #669 2017-11-01 18:17:57 +01:00
Andreas Dangel
57c1021c3c [java] Move rules between categories, fix typo for AvoidAccessibilityAlteration 2017-10-31 11:58:22 +01:00
Andreas Dangel
cee3d6ad2d Fix invalid language version 2017-10-30 22:00:52 +01:00
Andreas Dangel
68a56ee0d8 [java] Move category rulesets into own category directory
restore previous design rulesest
2017-10-30 21:19:36 +01:00
Andreas Dangel
bf6eacf96b [java] Fix wrong externalInfoUrls, add missing minimumLanguageVersion 2017-10-30 21:19:04 +01:00
Juan Martín Sotuyo Dodero
64628370c8 Merge branch 'pr-679' 2017-10-30 16:56:17 -03:00
Juan Martín Sotuyo Dodero
67f0fbbbfe Add missing @Overrides 2017-10-30 00:26:42 -03:00
Andreas Dangel
ded09b6498 Temporarily disable the unit tests until the rules are moved into the
correct packages
2017-10-29 21:12:39 +01:00
Andreas Dangel
42973c4291 [java] Reorganize rulesets into new categories
Best Practices, Code Style, Design, Documentation, Error Prone,
Multithreading, Performance, Security
2017-10-29 21:11:59 +01:00
Matias Comercio
8e120da008 Fix missing validation on cast for AbstractJavaRule 2017-10-28 19:47:32 -03:00
Andreas Dangel
989dd133fd Merge branch 'pr-692' 2017-10-28 20:18:56 +02:00
Andreas Dangel
2dec92c9d5 Merge branch 'pr-691' 2017-10-28 20:04:10 +02:00
Andreas Dangel
0cff7b841a [java] Mark ASTArrayDimsAndInits and ASTVariableDeclaratorId as Dimensionable 2017-10-28 20:01:07 +02:00
Andreas Dangel
6b1b135104 Merge branch 'pr-690' 2017-10-28 19:55:59 +02:00
Andreas Dangel
ca9b42b7e5 Merge branch 'pr-689' 2017-10-28 19:48:39 +02:00
gonzalo
91b8a22b42 Update GenericToken specialToken method to obtain only comment tokens 2017-10-28 14:42:44 -03:00
gonzalo
e8fdbdbca4 Update GenericToken interface to expose directly region methods 2017-10-28 14:42:44 -03:00