Robert Sösemann
68bad8ae6a
Fixed typos
2016-04-08 17:47:24 +02:00
Robert Sösemann
18bc0dfe94
Ignore test classes
2016-04-08 17:13:50 +02:00
Robert Sösemann
591da4f364
Added two more Salesforce.com specific rules AvoidGlobalModifier and
...
AvoidLogicInTrigger
2016-04-08 17:01:45 +02:00
Robert Sösemann
243f1928b7
Added Ncss rules
2016-04-08 15:15:09 +02:00
Robert Sösemann
9e6b25ce7f
Added Ncss Rules
2016-04-08 15:11:06 +02:00
David Renz
4bbcdfdb49
Fixed ExcessiveParameterListRule
2016-04-08 14:09:32 +02:00
David Renz
1d3e3d2989
Restored ExcessiveClassLengthRule and formatted test code
2016-04-08 11:52:50 +02:00
Robert Sösemann
b624880ff5
Replace Length methods with (still failing) Ncss rules
2016-04-08 00:42:11 +02:00
Robert M und David R
fafc3a2470
Added regression test for #30
2016-04-07 22:32:57 +02:00
David Renz
c6b31a8cfe
Fixed #29
2016-04-07 17:26:54 +02:00
David Renz
da9c5c5f77
Added test #29
2016-04-07 17:00:34 +02:00
David Renz
6b72013429
Added test #23
2016-04-07 16:15:11 +02:00
Robert Sösemann
5e9df4a446
Improved accuracy of UserClass startLine by not returning the LOC of the
...
UserClass but its first ModifierNode child.
2016-04-07 13:17:57 +02:00
Robert M und David R
e8686552e7
Fixed #26
2016-04-06 21:56:46 +02:00
David Renz
dc7c36f65c
Added test #26
2016-04-06 18:11:49 +02:00
Robert Sösemann
747eb9b509
Fixed #25
2016-04-06 17:01:08 +02:00
Robert Sösemann
1dc61fe071
Auto-Format classes
2016-04-06 15:17:08 +02:00
Robert Sösemann
f926a6d7cc
Added class and method length dependant rules
2016-04-06 15:14:16 +02:00
David Renz
236ccecfb8
VariableNamingConvetionRule now can handle exception classes
2016-04-06 14:37:59 +02:00
David Renz
5ff244fb70
Removed some console output
2016-04-06 14:00:08 +02:00
David Renz
c970180626
Fixed ruleset.xml
2016-04-06 12:09:50 +02:00
@rsoese (Twitter handle)
d70e2b16ab
Added Apex to Readme
2016-04-06 09:59:34 +02:00
Robert Sösemann
e28183b1cf
Added default version so CLI won't fail with Nullpointer
2016-04-04 12:02:06 +02:00
Robert M und David R
9f0071893e
Remove "unused rules" as they are to hard to finalize before the planned
...
pull request
2016-04-03 15:58:42 +02:00
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