Robert M und David R
37cf87dc4c
Fixed Naming tests
2016-04-03 15:46:32 +02:00
Andreas Dangel
0cc065e682
Add a local maven repo to avoid using system scope dependencies
2016-04-02 12:26:20 +02:00
Andreas Dangel
9a5b2a7dbd
Add Modifiers information (public, private, ...)
2016-04-02 12:06:37 +02:00
Andreas Dangel
46c24f3a85
Improve node position beginLine. RootNodes are handled special, they
...
cover the full source code. Other nodes go from their start until the start
of the next sibling.
ModifierNodes not very accurate, but Methods look quiet good now.
References #14 (https://github.com/Up2Go/pmd/issues/14 )
2016-04-02 12:05:57 +02:00
David Renz
74b922af35
Fixed ExcessiveParameterListRule
2016-04-01 17:21:44 +02:00
Robert Sösemann
d22bfe7b70
Temporarilly removed length rules due to issue #14
2016-04-01 17:10:55 +02:00
David Renz
cdb52e23b3
Fixed ExcessivePublicCountRule and some minor changes
2016-04-01 16:45:52 +02:00
David Renz
1fbfdf3842
Added ExcessivePublicCountRule
2016-04-01 13:33:32 +02:00
David Renz
1b1f3454d7
Removed NcssCountRules and NPathComplexityRule
2016-04-01 12:02:12 +02:00
David Renz
4593909dcc
Fixed StdCyclomaticComplexityRule
2016-04-01 11:42:40 +02:00
Robert Sösemann
8f7ad9c1ab
Added Unused code port (don't compile)
2016-03-31 17:18:18 +02:00
Robert Sösemann
ecd7fbc59d
Merge branch 'master' of https://github.com/Up2Go/pmd.git
...
Conflicts:
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexParserVisitorAdapter.java
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/AbstractApexRule.java
2016-03-31 17:13:21 +02:00
Robert Sösemann
2acbc44b0a
.
2016-03-31 17:08:31 +02:00
Robert Sösemann
b22274c972
Fixed Naming Rules
2016-03-31 17:05:43 +02:00
David Renz
44dbe2283c
Merge branch 'master' of https://github.com/Up2Go/pmd.git
2016-03-31 14:53:27 +02:00
David Renz
6458f90d23
small rule improvements
2016-03-31 14:52:44 +02:00
Robert Sösemann
e3da2619dd
CDP is also running for Apex (CLI and GUI)
2016-03-31 14:50:31 +02:00
Robert Sösemann
b77fef6338
Ported very useful AvoidDeeplyNestedIfStmtsRule
2016-03-31 11:17:36 +02:00
Robert Sösemann
9069f53a23
Added PMD configuration file which will be the default used by the
...
CodeClimate engine if the user src doesn't contain an overriding file
2016-03-31 09:49:47 +02:00
Robert Sösemann
83931857e3
Fixed https://github.com/Up2Go/pmd/issues/16
2016-03-30 10:52:50 +02:00
David Renz
62aaf95e11
Fixed MethodNamingConventionsRule (isOverriddenMethod)
2016-03-29 17:14:54 +02:00
David Renz
0b81c72f40
Changed root node from (AST)UserClass to (AST)Compilation
2016-03-29 16:18:01 +02:00
David Renz
98899afca1
Added missing notes to AbstractApexRule
2016-03-29 11:48:36 +02:00
David Renz
ce2b823193
Added missing notes to visitor
2016-03-29 11:34:54 +02:00
Robert Sösemann
cef6824f78
Added Apex test class for parser test
2016-03-29 10:54:12 +02:00
Robert Sösemann
995e500eb4
Small improvements
2016-03-28 13:44:18 +02:00
Robert Sösemann
523dcc8fe0
Started porting naming rules
2016-03-28 00:39:13 +02:00
Andreas Dangel
26c9d95cfa
Return a fixed linenumber/column until we figure out a reliable way
...
to determine the position of the node in the source code
2016-03-27 17:37:48 +02:00
Andreas Dangel
acacf1906e
Fix unit tests of AvoidSoqlInLoopsRule
2016-03-27 17:24:42 +02:00
Andreas Dangel
aad2059731
Fix visitor - the jjtAccept methods have to be in the
...
concrete subclasses
2016-03-27 17:14:26 +02:00
Andreas Dangel
87c85c8aff
Fix compile errors
2016-03-27 15:54:27 +02:00
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
@rsoese (Twitter handle)
e648ab4b74
Update README.md
2016-03-23 15:01:37 +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
Andreas Dangel
ce3727e10a
Revert "Fix compilation - remove the deleted projects - only keep apex"
...
This reverts commit 9faf05bfcb .
This adds back all the modules in the main pom.xml. Note: apex is only
active for java8 builds
2016-03-21 21:01:39 +01:00
Andreas Dangel
e240a024d6
Revert "Next step towards compile ;-)" so that we don't loose
...
cs, fortran, go, jsp, matlab, php, plsql, python, scala, ui, vm, xml ;)
This reverts commit 89fcd45f75 .
The apex files have not been reverted.
2016-03-21 20:57:34 +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