detekt
Static code analysis for Kotlin (by arturbosch)
sonarlint-intellij
SonarLint for IntelliJ (by SonarSource)
detekt | sonarlint-intellij | |
---|---|---|
9 | - | |
6,499 | 621 | |
0.8% | 0.0% | |
9.7 | 9.7 | |
6 days ago | 5 days ago | |
Kotlin | Java | |
Apache License 2.0 | GNU Lesser General Public License v3.0 only |
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.
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?
sonarlint-intellij
Posts with mentions or reviews of sonarlint-intellij.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning sonarlint-intellij yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
When comparing detekt and sonarlint-intellij you can also consider the following projects:
ktlint - An anti-bikeshedding Kotlin linter with built-in formatter
ktfmt-gradle - A Gradle plugin to apply ktfmt to your builds, and reformat you Kotlin source code like a glimpse 🧹🐘
Credit Card Scanner - Android Credit Card Scanner using CameraX and ML Kit
KotlinW - A small wrapper for the Kotlin compiler that can be used to execute .kts scripts
detekt-hint - Detection of design principle violations in Kotlin as a plugin to detekt.