10493 Commits

Author SHA1 Message Date
oowekyala
4b3ee62abe Refactored CycloMetric according to #445 2017-06-18 15:57:07 +02:00
oowekyala
a374fd308b Merge branch 'master' of https://github.com/pmd/pmd into metrics 2017-06-18 00:06:17 +02:00
oowekyala
ae7c21b326 Refactored NcssMethodCountRule to use metrics 2017-06-18 00:01:55 +02:00
Juan Martín Sotuyo Dodero
5aa72289ce Merge branch 'pr-447' 2017-06-17 15:22:01 -03:00
Juan Martín Sotuyo Dodero
04831b20e0 Merge branch 'pr-446' 2017-06-17 15:14:44 -03:00
Andreas Dangel
c8a0bc9b13 cpd: fix line number issue, add tests for apex cpd
Fixes #427
2017-06-17 19:42:07 +02:00
oowekyala
4f517f98fb Refactored NcssMethodCountRule 2017-06-17 13:15:55 +02:00
oowekyala
edb3e42349 Moved keys out 2017-06-17 13:14:09 +02:00
Andreas Dangel
0f9a4a97c0 cpp: skip line continuation character in grammar
Fixes #431

Note: the tokens separate by such continuation characters are not
merged and appear as two separate tokens, which could lead to false
negatives in duplication detection.

ContinuationReader is deleted, since skipping characters in the stream
makes it difficult to provide accurate line numbers/positions.
2017-06-17 12:42:13 +02:00
Andreas Dangel
2c861a2f6c cpp: add missing "finally" token, move ID Token to beginning of file 2017-06-17 12:27:47 +02:00
Juan Martín Sotuyo Dodero
5a8054cfcc Merge branch 'pr-430' 2017-06-16 20:40:02 -03:00
Andreas Dangel
afbb3eb600 Enhance ruleset schema validation test
refs #440
2017-06-16 21:10:57 +02:00
oowekyala
8f6d023685 Merge branch 'master' into metrics 2017-06-16 19:14:59 +02:00
oowekyala
6349ef27ab Pull corrections 2017-06-16 19:11:05 +02:00
Andreas Dangel
ff9d1b47d4 Add simple test to check ruleset schema
refs #440
2017-06-16 19:03:41 +02:00
Andreas Dangel
7f7afc66e9 Merge branch 'pr-440' 2017-06-16 17:44:27 +02:00
Andreas Dangel
c477eddfc0 Update changelog, refs #440 2017-06-16 17:44:15 +02:00
Andreas Dangel
da310bee91 Merge branch 'ruleset-3.0.0' of https://github.com/oowekyala/pmd into pr-440 2017-06-16 17:42:10 +02:00
Andreas Dangel
64c1c976cd Merge branch 'pr-436' 2017-06-16 17:40:13 +02:00
Andreas Dangel
ac5f37c99c Update changelog, refs #436 2017-06-16 17:32:36 +02:00
Andreas Dangel
135db3f4ce Merge branch 'metrics' of https://github.com/oowekyala/pmd into pr-436 2017-06-16 17:31:20 +02:00
oowekyala
2eb06ada55 Corrections from review #436 2017-06-16 14:21:15 +02:00
Andreas Dangel
e9248b4124 Merge branch 'metrics' of https://github.com/oowekyala/pmd into pr-436 2017-06-16 09:47:26 +02:00
Juan Martín Sotuyo Dodero
c1e30b833b Merge branch 'pr-443' 2017-06-14 21:58:28 -03:00
Juan Martín Sotuyo Dodero
6fc280d479 Update changelof, refs #443 2017-06-14 21:58:12 -03:00
Bendegúz Nagy
6c7ec75339 Java, typeres: optimize visit(ASTName) by skipping package and import declarations 2017-06-15 00:44:23 +02:00
oowekyala
52777e84e1 NCSS + LOC 2017-06-15 00:00:08 +02:00
Juan Martín Sotuyo Dodero
f57d05d2b3 Merge branch 'pr-423' 2017-06-14 17:41:52 -03:00
Juan Martín Sotuyo Dodero
9517884137 Update changelog, refs #423 2017-06-14 17:40:44 -03:00
Bendegúz Nagy
41ed666d48 Java, typeres: add field visibility test, fix tests 2017-06-14 18:11:20 +02:00
Bendegúz Nagy
2291dd2a38 Java, typeres: cleanup non-generic field tests 2017-06-14 14:56:01 +02:00
oowekyala
ddba34b9b7 Merge branch 'metrics' into metrics-cyclo 2017-06-14 12:28:12 +02:00
oowekyala
03033bd1fa Simple options, without generics 2017-06-14 12:26:40 +02:00
oowekyala
64a6dd19ee Created ruleset schema 3.0.0 2017-06-13 18:17:44 +02:00
Juan Martín Sotuyo Dodero
d53c0c2fe6 Merge branch 'pr-435' 2017-06-12 19:21:05 -03:00
Juan Martín Sotuyo Dodero
53687afeb8 Update changelog, include changed rules info 2017-06-12 19:20:07 -03:00
Juan Martín Sotuyo Dodero
435373faf7 Prefer multicatch for brevity 2017-06-12 19:11:15 -03:00
Juan Martín Sotuyo Dodero
6d86d85479 Merge branch 'pr-425' 2017-06-12 19:04:20 -03:00
Juan Martín Sotuyo Dodero
c9d20c8964 Update changelog, refs #425 2017-06-12 19:04:01 -03:00
dreniers
38447ca3ee PR18522: [java] Fixed false positive for PreserveStackTraceRule when using builder pattern. 2017-06-12 19:00:15 -03:00
Juan Martín Sotuyo Dodero
0553073208 Merge branch 'pr-426' 2017-06-12 18:11:09 -03:00
Juan Martín Sotuyo Dodero
0776ef8dac Update changelog, refs #426 2017-06-12 18:09:10 -03:00
Juan Martín Sotuyo Dodero
7c3e96e02d Update message and description for UnnecessaryFinalModifier 2017-06-12 18:08:26 -03:00
oowekyala
04f72c1509 Added nested class test case 2017-06-12 20:54:58 +02:00
oowekyala
f9095f4480 Use stack in MetricsVisitor 2017-06-12 20:50:14 +02:00
oowekyala
2df67c5092 Checkstyle passes but the XML schema does not know metrics yet 2017-06-12 02:29:59 +02:00
oowekyala
310ed26053 Implemented CYCLO metrics 2017-06-12 02:12:53 +02:00
Juan Martín Sotuyo Dodero
494040fe92 Merge pull request #434 from adangel/issue-410
[java] ImmutableField: False positive with lombok (fixes #410)
2017-06-11 23:11:47 +02:00
oowekyala
8e495cb5e1 Checkstyle fixes 2017-06-11 16:41:07 +02:00
oowekyala
8e9313791f Completed tests for signatures 2017-06-11 15:51:33 +02:00