380 Commits

Author SHA1 Message Date
Andreas Dangel
ade0d7d029 Update compiler plugin, use "release" option, adjust java.version properties
No need for the toolchain plugin anymore
2017-09-23 19:24:17 +02:00
Clément Fournier
0349ad74c1 Forgot stuff in n.s.pmd 2017-09-14 15:28:40 +02:00
Clément Fournier
6a162c238c Moved properties to n.s.pmd.properties 2017-09-14 00:05:55 +02:00
Andreas Dangel
59b12b7bcd Apply schema for apex rules tests 2017-09-11 21:56:06 +02:00
Clément Fournier
9d5b2a5e7c Add AbstractMetric to topple the class hierarchy of metrics 2017-08-24 22:28:43 +02:00
Clément Fournier
9b05d5264e Corrections for PR #567 2017-08-19 20:23:38 +02:00
oowekyala
d33039870b Fixed tests 2017-08-18 14:44:57 +02:00
oowekyala
f747129e8c Internal builder for MetricOptions 2017-08-18 14:44:57 +02:00
oowekyala
8bac632333 Documentation 2017-08-18 14:44:57 +02:00
oowekyala
ceba5afece MetricOptions bundle, decorator doesn't work
The decorator needs some work because the decorated visitor takes over control to visit the children
2017-08-18 14:44:57 +02:00
oowekyala
6408b57b8e Varargs options -> bad 2017-08-18 14:44:57 +02:00
Andreas Dangel
f29dcd549f Remove remaining references to pmd-build-tools-plugin 2017-08-15 14:31:03 +02:00
Andreas Dangel
cfa4e15d54 [doc] [apex] Adjust externalInfoUrl properties to new site - Part 5
Note: I also took the chance to fix tab damage
2017-08-15 14:31:03 +02:00
Andreas Dangel
3d9511a0e5 [doc] Remove old maven site 2017-08-15 14:31:03 +02:00
oowekyala
54ec57bb3e Corrections for PR #545 2017-08-13 16:58:59 +02:00
oowekyala
2598c2dcce Merge branch 'master' of https://github.com/pmd/pmd into PR-apex 2017-08-13 16:57:59 +02:00
Andreas Dangel
d070c35112 Merge remote-tracking branch 'origin/master' into apex-update 2017-08-12 19:10:32 +02:00
Andreas Dangel
9a71a6fd75 [apex] Handle blockstatements without curly braces
The new parser seems to always return a BlockStatement, regardless
whether it's a real block or just an expression statement.
2017-08-12 18:48:38 +02:00
Andreas Dangel
174184d9bc [apex] fix syntax errors in unit tests
Note: the test case in VariableNamingConvetion with a
custom annotation type is not relevant
for apex, since there are no custom annotations.
2017-08-12 17:52:33 +02:00
oowekyala
51bc82c889 Custom namespace when they're unknown 2017-08-07 19:49:11 +02:00
oowekyala
904b7f84fa Merge branch 'master' of https://github.com/pmd/pmd into metrics-apex 2017-08-07 18:15:32 +02:00
oowekyala
b937d84515 Documentation 2017-08-07 18:01:29 +02:00
oowekyala
05b502e247 Fix Apex module 2017-08-04 22:26:58 +02:00
oowekyala
35e2610473 Merge branch metrics-abstraction 2017-08-03 18:56:00 +02:00
oowekyala
a0c6437c0e Cyclo rule + more stuff 2017-08-01 17:02:51 +02:00
oowekyala
68452939ab More work 2017-08-01 17:01:10 +02:00
oowekyala
e1c985c7d5 Adapted components to AST 2017-08-01 16:56:21 +02:00
oowekyala
e4e3fd33d8 Marker interface for class and interface 2017-08-01 16:55:30 +02:00
Clément Fournier
acd710a8f3 Fix broken Apex visitor adapter 2017-08-01 15:41:56 +02:00
oowekyala
162f4bc3f0 Memoization tests ok 2017-07-30 23:05:43 +02:00
oowekyala
1bee5d7e39 Minimal tests 2017-07-30 18:56:00 +02:00
oowekyala
8f8e129e4f Metric keys 2017-07-30 16:45:12 +02:00
oowekyala
d9273add4f Façade and Computer 2017-07-30 15:25:58 +02:00
oowekyala
e02dfae300 Visitor 2017-07-30 15:14:55 +02:00
oowekyala
e9fab949b7 Operation signatures 2017-07-30 15:02:03 +02:00
oowekyala
7fd85f77a3 Groundwork: qualifiednames 2017-07-30 00:13:56 +02:00
Andreas Dangel
16d1d80062 Merge branch 'typesafe-properties' of https://github.com/oowekyala/pmd into pr-479 2017-07-17 20:18:37 +02:00
Andreas Dangel
fba00843bb [apex] Disable logging of jorje apex lexer
Fixes #500
2017-07-16 21:17:05 +02:00
oowekyala
e39cbba24a Added overloads of setProperty for multivalued properties 2017-07-13 14:54:05 +02:00
Clément Fournier
824f87995d Merge branch 'master' into typesafe-properties 2017-07-11 16:05:17 +02:00
Andreas Dangel
c47866e474 [apex] Add test for Apex Lexer/Parser/Compiler
The compiler seems to have a problem with Soql expressions
See ApexCompilerSoqlTest
2017-07-07 10:54:52 +02:00
Andreas Dangel
2f69324a4a [apex] Upgrade Apex to use new jorje compiler v224
There are some AST changes:
* no DottedExpression anymore
* NewNameValueObjectExpression has been renamed to NewKeyValueObjectExpression
* no TestNode anymore
* new types: CastExpression, ConstructorPreamble, IllegalStoreExpression,
  MethodBlockStatement, Modifier, MultiStatement, NestedExpression,
  NestedSToreExpression, StatementExecuted
2017-07-07 10:54:23 +02:00
Andreas Dangel
0f36c9ae2b [apex] CPD: Prepared option to switch on case sensitive check 2017-07-07 10:38:49 +02:00
Andreas Dangel
e669b28341 [apex] Adjust CPD Tests with using ApexLexer
Note: comments are comments now and not compared anymore
2017-07-07 10:38:49 +02:00
Andreas Dangel
c32cf3703a [apex] Use ApexLexer for CPD tokenizer 2017-07-07 10:38:49 +02:00
oowekyala
b103d8f011 Specialised BasicPropertyDescriptorFactory 2017-06-28 17:48:11 +02:00
Andreas Dangel
7f1292b212 Update version to 6.0.0-SNAPSHOT 2017-06-24 22:29:36 +02:00
Andreas Dangel
f3b9231b69 [maven-release-plugin] prepare for next development iteration 2017-06-24 22:26:42 +02:00
Andreas Dangel
6dd0bc8bfd [maven-release-plugin] prepare release pmd_releases/5.8.0 2017-06-24 22:26:34 +02:00
Andreas Dangel
c8a0bc9b13 cpd: fix line number issue, add tests for apex cpd
Fixes #427
2017-06-17 19:42:07 +02:00