4341 Commits

Author SHA1 Message Date
abosch
c0b0344f10 Use detekt as code quality assurance tool 2017-02-21 12:20:18 +01:00
abosch
b3444308b7 Remove feature envy for current M7 build 1 2017-02-21 11:52:48 +01:00
abosch
2745c76d7c Make build ready for bintray continuous deployment - #87 2017-02-21 11:52:28 +01:00
abosch
4b7ec0c9f4 Apply idea quickfix 2017-02-21 11:50:36 +01:00
abosch
92de8cdfe4 Introduce new code smell finding type with reference and metric - #36 2017-02-16 22:08:57 +01:00
abosch
8aa58312f3 Add feature envy to code-smell provider - #36 2017-02-16 21:47:46 +01:00
abosch
136cc18811 Make feature envy rule configurable - #36 2017-02-16 21:43:36 +01:00
abosch
8a281827df Find on feature envy in test case - #36 2017-02-16 21:26:30 +01:00
abosch
4b8547fc16 Change collectByType to work on ktElements - #36 2017-02-16 21:20:27 +01:00
abosch
c6bc05cc96 Extract ktElement extensions from feature envy to junk - #36 2017-02-16 21:17:10 +01:00
abosch
47538e0452 Rename inner classes for feature envy- #36 2017-02-16 21:16:22 +01:00
abosch
df87575453 Calculate feature envy factor - #36 2017-02-16 21:14:20 +01:00
abosch
e20e506224 Find all variables on which envy is put on - #36 2017-02-16 18:49:36 +01:00
abosch
a660350d59 Write test case for feature envies - #36 2017-02-16 18:48:45 +01:00
abosch
dee4c07a60 Use file suppress in naming convention test case 2017-02-16 18:19:40 +01:00
abosch
022df1ca37 Implement function to collect all function calls - #36 2017-02-15 23:21:53 +01:00
abosch
92ccee828a Implement class baselines for feature envy detection - #36 2017-02-15 22:49:45 +01:00
abosch
afcd4a1c27 Integrate debug ruleset provider into cli - Closes#70 2017-01-30 11:31:13 +01:00
abosch
12287db1a2 Support weights for rules and rule sets in subconfig 'build' - Closes#83 2017-01-30 11:06:31 +01:00
abosch
501177d7ee Update to Kotlin 1.0.6 and increment milestone to M7 2017-01-30 09:48:16 +01:00
Artur Bosch
a5d4b1ea22 Merge branch 'maven-pluginRepo' into 'master'
Add pluginRepository for Maven

See merge request !3
2017-01-30 08:04:04 +00:00
Sean Flanigan
5bba75753b Add pluginRepository for Maven 2017-01-30 12:29:31 +10:00
abosch
b1a395925f Change Runner object to class 2017-01-23 20:12:20 +01:00
Artur Bosch
aca44d9c42 Merge branch 'config-from-classpath' into 'master'
Load config file from classpath (for Maven multi-module support)

See merge request !2
2017-01-23 19:07:00 +00:00
abosch
aff7216804 Merge branch 'seanf/detekt-serialVersionUID' 2017-01-23 19:17:43 +01:00
Artur Bosch
9ed16ed5c2 Update .gitlab-ci.yml 2017-01-23 18:03:01 +00:00
Artur Bosch
e487f04658 Add build badget 2017-01-23 17:54:35 +00:00
Artur Bosch
67432ed5d6 Update .gitlab-ci.yml 2017-01-23 17:52:46 +00:00
Artur Bosch
ab822a0d91 Add gitlab-ci.yml 2017-01-23 17:48:12 +00:00
Sean Flanigan
7af5f063ea Add option for config from classpath resource 2017-01-23 22:51:37 +10:00
Sean Flanigan
5440f3e544 Update .gitignore 2017-01-23 22:49:02 +10:00
Sean Flanigan
4884237ce4 Use long option names 2017-01-23 22:49:02 +10:00
Sean Flanigan
2705e8d161 Allow const 'serialVersionUID' 2017-01-23 21:04:29 +10:00
abosch
645ff4b571 Include bintray badge 2017-01-04 18:49:42 +01:00
abosch
5c705cefd0 Use getResource for path in test case M6 2017-01-04 12:55:13 +01:00
abosch
b0757ec4a0 Add my bintray code-analysis maven url 2017-01-04 12:38:12 +01:00
abosch
64c130a80b Update readme and changelog to meet milestone 6 features - #74, #80 2017-01-04 10:21:04 +01:00
abosch
71ba51da9e Mention OptionalXXX rules in FormattingProvider - #72 2017-01-04 09:29:19 +01:00
abosch
d77470b00e Move OptionalXXX rules to formatting project and make them auto correctable - #72 2017-01-04 09:19:32 +01:00
abosch
4e75f34e7d Move formatting rules to own detekt-formatting project - #73 2017-01-03 16:54:53 +01:00
abosch
057d29b59c Introduce progress tracking through a FileProcessListener interface in Detekt - #68 2017-01-03 15:51:30 +01:00
abosch
b76e6067e5 Introduce compactWithSignature()-method for findings which is now used when generating output format - #77 2017-01-03 13:26:03 +01:00
abosch
8425630ef2 Fix white- and blacklisted filtering by using list.contains() - Closes#81 2017-01-03 13:14:09 +01:00
abosch
77d45eb5c0 Always measure running time of detekt - Closes#81 2017-01-02 21:55:53 +01:00
abosch
6049e6cb16 Fail fast if using --output and/or --baseline the --report path must be given - Closes#76 2017-01-02 21:46:53 +01:00
abosch
151f7cf0c5 Separate parameters for smell baseline: -rp now just specifies the report directory, -b generates a baseline and -o generates a findings report - #76 2017-01-02 21:41:53 +01:00
abosch
ea4ff8a501 Filter findings with ids of smell baseline to print only the new smells - #76 2017-01-02 21:19:24 +01:00
abosch
afeef666a3 Implement smell baseline - #76 2017-01-02 20:09:32 +01:00
abosch
9088f0d58e Add detekt findings report 2017-01-02 17:20:40 +01:00
abosch
dddd79244b Allow only kotlin files to be compiled (ending must be kt and length == 2) - Closes#78 2017-01-02 17:20:05 +01:00