dokka
API documentation engine for Kotlin (by Kotlin)
detekt
Static code analysis for Kotlin (by arturbosch)
dokka | detekt | |
---|---|---|
2 | 9 | |
3,571 | 6,491 | |
0.6% | 0.7% | |
9.2 | 9.7 | |
3 days ago | 5 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dokka
Posts with mentions or reviews of dokka.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-13.
-
Visualize all Kotlin Interface's in a Repo
You could also use https://github.com/Kotlin/dokka/ to similar effect.
-
We’ve redesigned multi-module documentation in the new Dokka!
There's also this issue that we want to fix soon: https://github.com/Kotlin/dokka/issues/1795 long story short is that if we migrate from JSONs to plain .js files, we should be able to view the documentation without the webserver
detekt
Posts with mentions or reviews of detekt.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-01-06.
-
pg-index-health – a static analysis tool for you PostgreSQL database
Static analysis for Java and Kotlin code is now common practice. For Kotlin services, the tool of choice is typically detekt. For Java applications, the range of available tools (often referred to as linters) is broader. The main tools include Checkstyle, PMD, SpotBugs, and Error Prone. You can read more about them in my previous article.
-
How to implement detekt in Spring Boot + Kotlin + Gradle project
Then, download the rules configuration from the detekt GitHub repository and place it in your project directory or wherever you prefer. Next, set the path to the detekt configuration file in build.gradel.kts file.
-
I didn't know it was this exciting !
At first I thought I couldn't make any PR that provides real value to these projects but after chatting with my friend I mentioned earlier he told me it is okay to add any simple small edit it is appreciated and most welcoming to the open source community , so is started looking for issues to work and it was all like building new google for me :D, until I found an opened issue to Detekt Project so I thought why not just cloned the project started looking for the bug and managed to fix it, after pushing the fix to the PR the maintainers were very welcoming and nice to me giving me some great feedback and tips, but after all it was documentation bug, not the big one but this was the kick start.
-
Integrating Code Formatting into Your Android Projects
When our team began migrating to Jetpack Compose, we wanted to avoid common mistakes due to our limited expertise. We discovered detekt and compose-rules for static code analysis which was also added to our pre-commit hook.
-
HRV-Mart
In protection rules, I added build workflow in Require status checks to pass before merging. This is to ensure that before merging code in master branch, build should run successfully. I also added Jacoco Code Coverage to make sure that enough unit tests are available in project and Detekt to make sure that code in project is readable. I added them in build configuration. Even if one of them gives error, build will fail. Whenever, someone push code in pull request, build action will run and check if build is running successfully or not.
-
Modern Android Development in 2023
Detekt
- Change aware code analysis tools?
-
Supercharge your Kotlin Project
ext { // https://github.com/detekt/detekt/releases detektVersion = "1.17.0" } dependencies { classpath 'com.android.tools.build:gradle:7.0.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.32" ## DETEKT DEPENDENCY classpath "io.gitlab.arturbosch.detekt:detekt-gradle- plugin:$detektVersion" }
-
Android Style Guide
I haven't looked through it completely, but have you considered adhering to detekt and ktlint as well?
What are some alternatives?
When comparing dokka and detekt you can also consider the following projects:
Credit Card Scanner - Android Credit Card Scanner using CameraX and ML Kit
ktlint - An anti-bikeshedding Kotlin linter with built-in formatter
kscript - Scripting enhancements for Kotlin
sonarlint-intellij - SonarLint for IntelliJ
EasyDokkaPlugin - Gradle Script plugin to generate documentation by Dokka documentation engine in Javadoc or other formats for Java, Kotlin, Android and non-Android projects. It's very easy, you don't need to add to dependencies section additional classpath or think about compatibility issues, you don't need additional repositories also.
ktfmt-gradle - A Gradle plugin to apply ktfmt to your builds, and reformat you Kotlin source code like a glimpse 🧹🐘