4341 Commits

Author SHA1 Message Date
abosch
cbc9abdb2f Include a table of contents for the readme - #23 2017-05-04 21:18:46 +02:00
abosch
2d9160f292 Increment detekt and kotlin version 2017-05-04 21:18:13 +02:00
abosch
a44269249a Suppress necessary EmptyFunctionBlocks 2017-05-04 19:56:52 +02:00
abosch
2864cf33ad While suppress annotation not found inspect KtAnnotated parents - #6 2017-05-04 19:50:16 +02:00
abosch
44cf09f2ae Write test cases for all suppression levels - #6 2017-05-04 13:28:37 +02:00
abosch
1e01f626b9 Support @Suppress kotlin annotation as primary annotation - #6 2017-05-04 13:20:41 +02:00
abosch
8d520a6179 Find annotated parent and check for suppression - #6 2017-05-04 13:02:20 +02:00
abosch
f0356c97b4 Support suppressing of different rules - #6 2017-05-04 11:11:14 +02:00
abosch
8cb34a87d9 Prototype suppressing of rules on file level 2017-05-02 18:05:11 +02:00
abosch
1f008d0223 Add screenshot using detekt within gradle 2017-04-30 22:03:52 +02:00
abosch
ea4109d92a Prepare M8.1 release 1.0.0.M8.1 2017-04-30 21:27:57 +02:00
abosch
b5a5f0ccca Update gradle wrapper 2017-04-18 10:18:54 +02:00
Artur Bosch
b2f57b208b Merge branch 'divByZero' into 'master'
Prevent division by zero

See merge request !5
2017-04-18 07:54:14 +00:00
Olivier Lemasle
d3062f7e26 Prevent division by zero 2017-04-17 18:12:08 +02:00
abosch
ee3ec5509b Allow to customize NamingConventionViolation - #10 2017-04-12 08:59:06 +02:00
abosch
f01d22a6c3 Add screenshot using detekt in gradle 2017-04-06 13:01:21 +02:00
abosch
941f6bee67 Update readme for milestone 8 - #14 1.0.0.M8 2017-04-03 15:01:14 +02:00
abosch
070fd31f00 Fix top level variable declarations count as constants in objects (NamingConventionViolation) - #15 2017-04-03 14:22:25 +02:00
abosch
d010af1aa4 Introduce complexity report in cli - #5 2017-04-03 14:03:52 +02:00
abosch
948aa3af7d Add two issues for current milestone changelist 2017-04-03 11:41:36 +02:00
abosch
eaf74447c0 Add complex testcase for lloc and mccabe visitors - #5 2017-04-03 11:39:52 +02:00
abosch
7185647e76 Implement mccabe and complexity visitor 2017-04-03 11:10:26 +02:00
abosch
01d9a3d0bb Implement lloc visitor - #5 2017-04-03 10:51:03 +02:00
abosch
2613dac4c9 Implement logical lines of code algorithmus 2017-04-03 10:45:39 +02:00
abosch
a2183448ce Enhance FileProcessListener's to be usable for custom data savings 2017-03-31 22:22:02 +02:00
abosch
c86a99ea52 Enhance Detektion object to include user specific data 2017-03-31 22:10:04 +02:00
abosch
1e6c53baa8 Provide new screenshot of detekt in action 2017-03-24 20:46:18 +01:00
abosch
c4adf43a4a Implement ComplexCondition rule - #4 2017-03-24 20:45:46 +01:00
abosch
b7765a44b0 Correct default configuration yaml file to support complexity ruleset - #4 2017-03-24 18:58:06 +01:00
abosch
13a16bc1be Implement TooManyFunctions rule - #4 2017-03-24 18:56:11 +01:00
abosch
d733f013ce Update detekt version in readme 1.0.0.M7 2017-03-23 23:17:56 +01:00
abosch
b980d2d210 Prepare for next iteration 2017-03-23 23:16:31 +01:00
abosch
838ceb6e63 Fix jcommander specific parameter parsing - #11 2017-03-23 23:08:39 +01:00
abosch
1addb6f4c0 Prepare for M7 release 2017-03-23 23:05:22 +01:00
abosch
1734cd9282 Remove LPL in Detekt 2017-03-23 22:23:12 +01:00
abosch
d5c66f0bc1 Remove NoElseInWhenExpression rule - #10 2017-03-23 22:13:44 +01:00
abosch
0e004af4c3 Rename TooManyFunction2 2017-03-23 22:09:10 +01:00
abosch
a745f6bcc1 Remove KtTestCompiler 2017-03-23 22:06:34 +01:00
abosch
818de988d3 Merge branch 'master' of gitlab.com:arturbosch/detekt
# Conflicts:
#	build.gradle
#	detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/CommonSpec.kt
#	detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/ComplexMethodSpec.kt
#	detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/NamingConventionViolationSpec.kt
#	detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/NoDocOverPublicClassSpec.kt
#	detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/NoDocOverPublicMethodSpec.kt
#	gradle.properties
2017-03-23 21:59:17 +01:00
abosch
dd4a0405aa Merge branch 'master' of gitlab.com:arturbosch/detekt
# Conflicts:
#	build.gradle
#	detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/CommonSpec.kt
#	detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/ComplexMethodSpec.kt
#	detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/NamingConventionViolationSpec.kt
#	detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/NoDocOverPublicClassSpec.kt
#	detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/NoDocOverPublicMethodSpec.kt
#	gradle.properties
2017-03-23 21:58:56 +01:00
abosch
1e06c15286 Add complexity provider 2017-03-23 21:53:49 +01:00
abosch
31a17b9333 Move documentation rules to own package 2017-03-23 21:52:10 +01:00
abosch
2eef51ccff Move rules which clearly affect complexity to own package 2017-03-23 21:47:45 +01:00
Artur Bosch
2c4ac7a8bf Merge branch 'kotlin1.1' into 'master'
Kotlin1.1

See merge request !4
2017-03-23 20:44:55 +00:00
Artur Bosch
9e8d8915fc Kotlin1.1 2017-03-23 20:44:54 +00:00
abosch
f2eee31cea Move style rules to own package 2017-03-23 20:35:02 +01:00
abosch
9110602213 Change kotlin-configuration to kotlinCompile, preventing clash with the kotlin dsl starting from 1.1 - #2 2017-03-16 17:40:14 +01:00
abosch
8e5b364897 Check override-modifier before checking the parameter list - #88 2017-02-21 17:26:20 +01:00
abosch
88a13ac9c9 Add changelog for milestone 7 2017-02-21 13:05:12 +01:00
abosch
3a214bfd7c Use explicit junit5 console dependency 1.0.0.M7.b1 2017-02-21 12:39:28 +01:00