0cc065e682
Add a local maven repo to avoid using system scope dependencies
2016-04-02 12:26:20 +02:00
9a5b2a7dbd
Add Modifiers information (public, private, ...)
2016-04-02 12:06:37 +02:00
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
74b922af35
Fixed ExcessiveParameterListRule
2016-04-01 17:21:44 +02:00
d22bfe7b70
Temporarilly removed length rules due to issue #14
2016-04-01 17:10:55 +02:00
cdb52e23b3
Fixed ExcessivePublicCountRule and some minor changes
2016-04-01 16:45:52 +02:00
1fbfdf3842
Added ExcessivePublicCountRule
2016-04-01 13:33:32 +02:00
1b1f3454d7
Removed NcssCountRules and NPathComplexityRule
2016-04-01 12:02:12 +02:00
4593909dcc
Fixed StdCyclomaticComplexityRule
2016-04-01 11:42:40 +02:00
8f7ad9c1ab
Added Unused code port (don't compile)
2016-03-31 17:18:18 +02:00
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
2acbc44b0a
.
2016-03-31 17:08:31 +02:00
b22274c972
Fixed Naming Rules
2016-03-31 17:05:43 +02:00
44dbe2283c
Merge branch 'master' of https://github.com/Up2Go/pmd.git
2016-03-31 14:53:27 +02:00
6458f90d23
small rule improvements
2016-03-31 14:52:44 +02:00
e3da2619dd
CDP is also running for Apex (CLI and GUI)
2016-03-31 14:50:31 +02:00
b77fef6338
Ported very useful AvoidDeeplyNestedIfStmtsRule
2016-03-31 11:17:36 +02:00
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
83931857e3
Fixed https://github.com/Up2Go/pmd/issues/16
2016-03-30 10:52:50 +02:00
62aaf95e11
Fixed MethodNamingConventionsRule (isOverriddenMethod)
2016-03-29 17:14:54 +02:00
0b81c72f40
Changed root node from (AST)UserClass to (AST)Compilation
2016-03-29 16:18:01 +02:00
98899afca1
Added missing notes to AbstractApexRule
2016-03-29 11:48:36 +02:00
ce2b823193
Added missing notes to visitor
2016-03-29 11:34:54 +02:00
cef6824f78
Added Apex test class for parser test
2016-03-29 10:54:12 +02:00
995e500eb4
Small improvements
2016-03-28 13:44:18 +02:00
523dcc8fe0
Started porting naming rules
2016-03-28 00:39:13 +02:00
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
acacf1906e
Fix unit tests of AvoidSoqlInLoopsRule
2016-03-27 17:24:42 +02:00
aad2059731
Fix visitor - the jjtAccept methods have to be in the
...
concrete subclasses
2016-03-27 17:14:26 +02:00
87c85c8aff
Fix compile errors
2016-03-27 15:54:27 +02:00
eb5491378a
Merge branch 'master' of https://github.com/Up2Go/pmd.git
2016-03-25 22:48:19 +01:00
7be1510a65
Started working on first non-Java rule: AvoidSoqlInLoopsRule
2016-03-25 22:48:05 +01:00
50c47371cc
Fixed cyclomatic complexity rule
2016-03-24 15:36:13 +01:00
01be142231
Added Cyclomatic complexity rules
2016-03-24 11:40:54 +01:00
1748a072a1
Focus on porting codesize test from java to apex
2016-03-23 23:58:32 +01:00
ebab8d0edb
Next step towards real world rules
2016-03-23 16:20:08 +01:00
9c6c3af8cc
Added missing notes
2016-03-23 15:27:18 +01:00
e648ab4b74
Update README.md
2016-03-23 15:01:37 +01:00
a48224bf01
Added ported code size tests
2016-03-23 10:53:26 +01:00
ea5f7017a6
Fixed imports
2016-03-23 10:29:40 +01:00
00e3d9edc2
Renamed
2016-03-23 09:58:22 +01:00
ff62b2545c
Added some codesize rules (with compile errors)
2016-03-23 09:54:47 +01:00
c310c51ea0
Forgot to push
2016-03-22 15:53:42 +01:00
3bf1495cc2
Added minimal nodes but real life code doesn't parse yet
2016-03-22 09:40:19 +01:00
202230e1db
Fix unit test
2016-03-21 21:23:24 +01:00
ce3727e10a
Revert "Fix compilation - remove the deleted projects - only keep apex"
...
This reverts commit 9faf05bfcb37724894e7b3833b4d7473e093679b.
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
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 89fcd45f75f79f5f223e4f572ef332f75869dcef.
The apex files have not been reverted.
2016-03-21 20:57:34 +01:00
378c903e9c
I guess we need more AST nodes to make parsing of real world classes
...
work ;-)
2016-03-21 17:18:09 +01:00
18da883596
.
2016-03-21 16:56:05 +01:00
03e61f1684
Format source code
2016-03-21 11:58:24 +01:00