3061778587
Memoization tests
2017-07-11 17:02:52 +02:00
341d66b694
Abstracted Metrics to use MetricKeys
2017-07-11 14:47:45 +02:00
1d5ec7f1b6
Cleaned OperationSignature
2017-07-10 21:05:39 +02:00
969c66d363
Merge branch 'metrics' of https://github.com/oowekyala/pmd into pr-482
2017-07-10 20:38:19 +02:00
8136053154
Update getter and setter detection
2017-07-10 19:52:51 +02:00
8b7745cf14
Update tests to reset correctly: depends on #495
2017-07-10 19:18:13 +02:00
58401cecc8
Deleted MetricsForceHook
2017-07-10 18:16:28 +02:00
fdd2a6b637
Merge branch 'pr-486'
2017-07-08 16:25:46 -03:00
f8c8c01c86
Avoid ArrayList instantiation
2017-07-08 15:12:35 -03:00
c6eeed6d48
Merge branch 'issue-412' of https://github.com/Monits/pmd into issue-412
2017-07-08 19:34:18 +02:00
ff870e159e
Small corrections
2017-07-06 14:48:38 +02:00
0c483205da
Java, typres: make MethodType immutable, remove getApplicableMethods overload
2017-07-05 21:19:45 +02:00
2fd1c89ede
Java, typeres: fix checkstyle and mvn tests
2017-07-05 19:49:29 +02:00
4a16fbc9eb
Java, typres: add more method tests
2017-07-05 18:46:23 +02:00
ed9b015c9f
Java, typres: fix mvntest
2017-07-05 13:57:50 +02:00
d90e2e75fb
Fixed failing tests
2017-07-05 00:15:22 +02:00
35597c9ef0
Java, typres: Add simple method type resolution
2017-07-04 00:06:32 +02:00
0c2099ab98
Java, typeres: add method applicability tests
2017-07-03 19:48:45 +02:00
8fd95190b2
Removed AbstractSimpleJavaMetricsRule
2017-07-03 14:44:46 +02:00
cd2f414ace
Merge branch 'master' of https://github.com/pmd/pmd into metrics
2017-07-02 15:58:34 +02:00
a271c49152
Merge branch 'pmd/5.8.x'
2017-07-01 19:27:43 +02:00
3ef33bc37e
[maven-release-plugin] prepare for next development iteration
2017-07-01 19:08:17 +02:00
de28e518d4
[maven-release-plugin] prepare release pmd_releases/5.8.1
2017-07-01 19:08:08 +02:00
f7f46dbe93
Fix anonymous class naming
...
- Properly handle nested anonymous classes
2017-06-30 18:56:18 -03:00
4783c4e14f
Add failing test for nested anonymous classes
2017-06-30 18:56:13 -03:00
2b56f54824
Cleaned up abstract metric
2017-06-30 13:32:38 +02:00
deaa47ebb0
Fix anonymous classes directly from interfaces
...
- Fix the failing scenarios such as new Comaprator<String>() {...
2017-06-30 00:52:13 -03:00
10aab46ba6
Better comments for edge cases
2017-06-29 21:19:43 -03:00
08e8dbc08a
Checkstyle fixes
2017-06-29 20:47:26 -03:00
b6482bb33b
Fixes #477
...
- Allow for references to classes not in the classpath
2017-06-29 20:36:30 -03:00
3bd69b15f1
Rework type resolution
...
- JavaTypeDefinition now lazily resolves generics, meaning less
overhead and avoiding access order problems (ie: class Foo extends <A
extends B, B>). These means you can no longer request the generics list
all at once... but you probably shouldn't anyway
- I took the chance to move most type resolution code dealing with
Java's Type to the JavaTypeDefinition. This makes things a little
clearer and tidier
- There are some minor API changes, but since 5.8.0 is recently out I
doubt these have any impact. Plus, there was no easy way to just patch
away the open issues in the old greedy algorithm
2017-06-29 20:16:23 -03:00
6657d741ab
Merge branch 'master' of https://github.com/WinterGrascph/pmd into issue-471
2017-06-28 21:06:53 +02:00
11e973bf8f
Set version to 5.8.1-SNAPSHOT
2017-06-28 20:59:29 +02:00
40282e77ae
Added NcssCountRule
2017-06-27 09:33:19 +02:00
bc8637d23e
Use ParameterizedMetricKeys again
2017-06-27 08:01:50 +02:00
fbf72de7ca
Rearranged code
2017-06-27 07:02:16 +02:00
d5f69e5f81
Simplified getter and setter detection
2017-06-27 07:01:32 +02:00
a4af2220ec
Merge branch 'master' of https://github.com/pmd/pmd into metrics
2017-06-27 05:58:14 +02:00
39b3f62d33
Java, typeres: fix error with raw types
...
Issue was with determining the upper bounds of raw types when they had type parameters
with circular references, example: GenericClass<E extends Foo<E>>
2017-06-27 03:50:53 +02:00
3c6eed61fc
[java] Detect more unnecessary finals
...
- Mark unnecessary finals in anonymous class methods.
- Mark unnecessary finals in enum instance methods.
- Fixes #412
2017-06-26 15:03:23 -03:00
80f901187a
Merge branch 'pr-379'
2017-06-26 14:11:35 -03:00
df80e52788
Merge branch 'pr-420'
2017-06-26 13:04:53 -03:00
7f1292b212
Update version to 6.0.0-SNAPSHOT
2017-06-24 22:29:36 +02:00
f3b9231b69
[maven-release-plugin] prepare for next development iteration
2017-06-24 22:26:42 +02:00
6dd0bc8bfd
[maven-release-plugin] prepare release pmd_releases/5.8.0
2017-06-24 22:26:34 +02:00
2346176fe5
Added tests for LOC
2017-06-24 22:25:30 +02:00
3ecc9be86f
Added tests for WMC
2017-06-24 22:09:00 +02:00
ccb375d126
Merge branch 'master' of https://github.com/pmd/pmd into metrics
2017-06-24 22:01:31 +02:00
8b27fe0bd7
Merge branch 'pr-444'
2017-06-24 15:43:59 -03:00
a0f8a106bd
Add TODO for future self
2017-06-24 15:31:48 -03:00