1992 Commits

Author SHA1 Message Date
Robert M und David R
eb5491378a Merge branch 'master' of https://github.com/Up2Go/pmd.git 2016-03-25 22:48:19 +01:00
Robert M und David R
7be1510a65 Started working on first non-Java rule: AvoidSoqlInLoopsRule 2016-03-25 22:48:05 +01:00
David Renz
50c47371cc Fixed cyclomatic complexity rule 2016-03-24 15:36:13 +01:00
Robert Sösemann
01be142231 Added Cyclomatic complexity rules 2016-03-24 11:40:54 +01:00
Robert M und David R
1748a072a1 Focus on porting codesize test from java to apex 2016-03-23 23:58:32 +01:00
Robert Sösemann
ebab8d0edb Next step towards real world rules 2016-03-23 16:20:08 +01:00
David Renz
9c6c3af8cc Added missing notes 2016-03-23 15:27:18 +01:00
Robert Sösemann
a48224bf01 Added ported code size tests 2016-03-23 10:53:26 +01:00
Robert Sösemann
ea5f7017a6 Fixed imports 2016-03-23 10:29:40 +01:00
Robert Sösemann
00e3d9edc2 Renamed 2016-03-23 09:58:22 +01:00
Robert Sösemann
ff62b2545c Added some codesize rules (with compile errors) 2016-03-23 09:54:47 +01:00
Robert Sösemann
c310c51ea0 Forgot to push 2016-03-22 15:53:42 +01:00
Robert Sösemann
3bf1495cc2 Added minimal nodes but real life code doesn't parse yet 2016-03-22 09:40:19 +01:00
Andreas Dangel
202230e1db Fix unit test 2016-03-21 21:23:24 +01:00
Robert Sösemann
378c903e9c I guess we need more AST nodes to make parsing of real world classes
work ;-)
2016-03-21 17:18:09 +01:00
Robert Sösemann
18da883596 . 2016-03-21 16:56:05 +01:00
Robert Sösemann
03e61f1684 Format source code 2016-03-21 11:58:24 +01:00
Robert Sösemann
03f10491bf Added basic rule 2016-03-21 11:06:59 +01:00
Andreas Dangel
7e609e074e Try to determine position of nodes 2016-03-20 12:24:21 +01:00
Andreas Dangel
2d119a225d Fix test - we have actually 5 methods: 2 in source code, 3 generated by compiler 2016-03-20 12:23:57 +01:00
Andreas Dangel
620c2009e1 Determine name of UserClass and Method 2016-03-20 12:23:20 +01:00
Andreas Dangel
59414f9e5b Add a dump facade to print out the AST tree 2016-03-20 12:22:33 +01:00
Andreas Dangel
d2b182f280 Add java as a dependency for designer - add designer profile
The designer can be started within "pmd-apex" by running

    mvn -P designer exec:java
2016-03-20 11:35:38 +01:00
Andreas Dangel
1a46ef9b05 Make the one apex version the default version 2016-03-20 11:29:09 +01:00
Andreas Dangel
4221e7a00a Add a version for the apex language module 2016-03-20 11:18:20 +01:00
Andreas Dangel
294ae0de92 Mark UserClass as root node, so that XPath rules will work 2016-03-20 11:16:11 +01:00
Andreas Dangel
efbe99b0d2 Add missing AST nodes to be able to parse the samples 2016-03-20 11:15:39 +01:00
Andreas Dangel
d739f11ff4 Implement the apex visitor methods 2016-03-20 11:14:38 +01:00
Andreas Dangel
27fa89a3cb Call traverse on the Apex nodes with an scope (it is required) 2016-03-20 11:14:11 +01:00
Andreas Dangel
50fac3a5cf Make sure, we fail early if we can't parse the code 2016-03-20 11:11:24 +01:00
Andreas Dangel
3d63f1a8bd Add two code samples 2016-03-20 11:11:07 +01:00
Andreas Dangel
4df5999f6b Fix syntax error in code sample 2016-03-20 11:10:37 +01:00
Robert Sösemann
4f0ed30250 Removed jars that are now managed via maven 2016-03-15 16:48:59 +01:00
Robert Sösemann
ea1eca0080 Added dependency entries for each Salesforce lib 2016-03-15 15:06:34 +01:00
Robert Sösemann
e9bfefbbc1 Moved test class to correct package 2016-03-15 11:29:03 +01:00
Robert M und David R
a144493516 Added minimal failing test 2016-03-15 00:46:47 +01:00
Robert M und David R
ba9c8fc1b8 Removed sample code 2016-03-14 20:43:09 +01:00
Robert Sösemann
42273034c7 First simple ast node adapter 2016-03-14 16:37:12 +01:00
Robert Sösemann
bb0302a6e7 Next step towards compile ;-) 2016-03-14 16:15:19 +01:00
Robert Sösemann
89fcd45f75 Next step towards compile ;-) 2016-03-14 12:49:30 +01:00
Robert Sösemann
9e1e5b21db Renamed cloned Ecmascript module classes and merged in Jorje libs
DOESN'T COMPILE
2016-03-12 23:58:04 +01:00
David Renz
b82b641927 Added an Apex module (pmd-apex) 2016-03-11 13:30:05 +01:00