Created
May 6, 2020 20:21
-
-
Save wangerekaharun/94dfe217ba145a45052804b4cf9ed1d4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Task :features:home:detekt FAILED | |
Property 'complexity>LongParameterList>threshold' is deprecated. Use 'functionThreshold' and 'constructorThreshold' instead. | |
14 kotlin files were analyzed. | |
/home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/viewmodel/HomeViewModel.kt - 5min debt | |
StringLiteralDuplication - 5/3 - [refreshSponsors] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/viewmodel/HomeViewModel.kt:162:21 | |
/home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt - 1h 45min debt | |
TooManyFunctions - 15/11 - [HomeFragment] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:39:7 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:97:63 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:123:17 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:155:17 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:174:21 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:176:21 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:193:17 | |
ForbiddenComment - [showSponsors] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:212:9 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:250:17 | |
UnusedPrivateMember - [speakerId] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:72:34 | |
/home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/SessionAdapter.kt - 10min debt | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/SessionAdapter.kt:40:56 | |
/home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/OtherSponsorAdapter.kt - 10min debt | |
ExpressionBodySyntax - [areItemsTheSame] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/OtherSponsorAdapter.kt:44:13 | |
ExpressionBodySyntax - [areContentsTheSame] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/OtherSponsorAdapter.kt:48:13 | |
/home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/GoldSponsorAdapter.kt - 10min debt | |
ExpressionBodySyntax - [areItemsTheSame] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/GoldSponsorAdapter.kt:44:13 | |
ExpressionBodySyntax - [areContentsTheSame] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/GoldSponsorAdapter.kt:48:13 | |
Overall debt: 2h 20min | |
complexity - 25min debt | |
StringLiteralDuplication - 5/3 - [refreshSponsors] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/viewmodel/HomeViewModel.kt:162:21 | |
TooManyFunctions - 15/11 - [HomeFragment] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:39:7 | |
style - 1h 55min debt | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:97:63 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:123:17 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:155:17 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:174:21 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:176:21 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:193:17 | |
ForbiddenComment - [showSponsors] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:212:9 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:250:17 | |
UnusedPrivateMember - [speakerId] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/views/HomeFragment.kt:72:34 | |
ForbiddenComment - [<anonymous>] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/SessionAdapter.kt:40:56 | |
ExpressionBodySyntax - [areItemsTheSame] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/OtherSponsorAdapter.kt:44:13 | |
ExpressionBodySyntax - [areContentsTheSame] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/OtherSponsorAdapter.kt:48:13 | |
ExpressionBodySyntax - [areItemsTheSame] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/GoldSponsorAdapter.kt:44:13 | |
ExpressionBodySyntax - [areContentsTheSame] at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/src/main/java/com/android254/droidconKE2020/home/ui/adapters/GoldSponsorAdapter.kt:48:13 | |
Overall debt: 2h 20min | |
Complexity Report: | |
- 787 lines of code (loc) | |
- 637 source lines of code (sloc) | |
- 424 logical lines of code (lloc) | |
- 29 comment lines of code (cloc) | |
- 80 McCabe complexity (mcc) | |
- 16 number of total code smells | |
- 4% comment source ratio | |
- 188 mcc per 1,000 lloc | |
- 37 code smells per 1,000 lloc | |
Project Statistics: | |
- number of kt files: 14 | |
- number of packages: 5 | |
- number of classes: 25 | |
- number of functions: 53 | |
- number of properties: 63 | |
Successfully generated HTML report at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/build/reports/detekt/detekt.html | |
Successfully generated Checkstyle XML report at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/build/reports/detekt/detekt.xml | |
Successfully generated plain text report at /home/harun/AndroidStudioProjects/droidconKE2020App/features/home/build/reports/detekt/detekt.txt | |
Execution failed for task ':features:home:detekt'. | |
> [31mBuild failed with 16 weighted issues (threshold defined was 0).[0m | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment