sonar-kotlin - SonarQube plugin for Kotlin

  •        307

Read about detekt configuration files here and about detekt baseline formats here. Best ways to get started is to configure the detekt-gradle-plugin in your project and use its detektBaseline and detektGenerateConfig tasks.

https://github.com/arturbosch/sonar-kotlin


Dependencies:

org.sonarsource.sonarqube:sonar-plugin-api:6.7.3
io.gitlab.arturbosch.detekt:detekt-cli:1.0.0.RC8
io.gitlab.arturbosch.detekt:detekt-core:1.0.0.RC8
io.gitlab.arturbosch.detekt:detekt-rules:1.0.0.RC8
org.sonarsource.java:java-jacoco:4.11.0.10660
org.jetbrains.kotlin:kotlin-compiler-embeddable:1.2.60
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.2.60
com.beust:jcommander:1.72

Tags
Implementation
License
Platform

   




Related Projects

detekt - Static code analysis for Kotlin

  •    Kotlin

Meet detekt, a static code analysis tool for the Kotlin programming language. It operates on the abstract syntax tree provided by the Kotlin compiler. Visit https://arturbosch.github.io/detekt/ for installation guides, release notes, migration guides, rule descriptions and configuration options.

Sonarqube - Continuous Code Quality

  •    Java

SonarQube is the open source platform for continuous inspection of code quality. SonarQube provides the capability to not only show health of an application but also to highlight issues newly introduced. With a Quality Gate in place, you can fix the leak and therefore improve code quality systematically. Code analyzers can detect tricky issues such as null-pointers dereferences, logic errors, resource leaks.

awesome-static-analysis - A curated list of static analysis tools, linters and code quality checkers for various programming languages

  •    

This is a collection of static analysis tools and code quality checkers. Pull requests are very welcome! Note: ©️ stands for proprietary software. All other tools are Open Source. To the extent possible under law, Matthias Endler has waived all copyright and related or neighboring rights to this work. Title image Designed by Freepik.


Kakao - Nice and simple DSL for Espresso in Kotlin

  •    Kotlin

At Agoda, we have more than 1000 automated tests to ensure our application's quality and give our best experience to the user. All of them are written with Espresso from Google. Even though Espresso is working really well with our test, the code readability is quite low. Let's look at some of the examples of how we write the test. This is an example just to check the visibility and you can see that it's not looking that good. As Agoda developers, we want to improve not just our codebase quality, but also our implementation of tests as well. This is why we are introducing Kakao. The library that will make you enjoy writing automated tests like you are drinking a hot chocolate.

Sonar - Code quality for all languages

  •    Java

Sonar is an open platform to manage code quality. As such, it covers the 7 axes of code quality: Design, Code duplication, Unit test, Code complexity, Potential bugs, Coding rules, Comments. It has support for multiple languages like .NET, PHP, Java etc.

pylint - It's not just a linter that annoys you!

  •    Python

Pylint is a Python static code analysis tool which looks for programming errors, helps enforcing a coding standard, sniffs for code smells and offers simple refactoring suggestions. It's highly configurable, having special pragmas to control its errors and warnings from within your code, as well as from an extensive configuration file. It is also possible to write your own plugins for adding your own checks or for extending pylint in one way or another.

Kotlin-Realm-Extensions - Kotlin extensions to simplify Realm API.

  •    Kotlin

Kotlin extensions to simplify Realm API. Simplify your code to its minimum expression with this set of Kotlin extensions for Realm. Forget all boilerplate related with Realm API and perform database operations in one line of code with this lightweight library. Full test coverage.

Javalin - A Simple REST API Library for Java / Kotlin

  •    Java

Javalin is a very lightweight web framework for Kotlin and Java, inspired by Sparkjava and koa.js. Javalin is written in Kotlin with a few functional interfaces written in Java. This was necessary to provide an enjoyable and near identical experience for both Kotlin and Java developers.

ktlint - An anti-bikeshedding Kotlin linter with built-in formatter

  •    Kotlin

An anti-bikeshedding Kotlin linter with built-in formatter

reviewdog - :dog: Automated code review tool integrated with any code analysis tools regardless of programming language

  •    Go

"reviewdog" provides a way to post review comments to code hosting service, such as GitHub, automatically by integrating with any linter tools with ease. It uses an output of lint tools and posts them as a comment if findings are in diff of patches to review. reviewdog also supports run in the local environment to filter an output of lint tools by diff.

kotlin-workshop - JetBrains Kotlin Workshop Material

  •    Kotlin

A Kotlin workshop intended to be taught in two days.Both the Instructor Project and the slides have Introduction and Advanced modules included. While the Introduction has a lot of pre-built examples, it also serves as a canvas to show more code while teaching. However, please make sure that if you're a contributing author to this project, that you do not check-in any ad-hoc code. It's also recommended to use Scratch files in IntelliJ IDEA for this purpose.

KAndroid - Kotlin library for Android

  •    Kotlin

Kotlin library for Android providing useful extensions to eliminate boilerplate code in Android SDK and focus on productivity. Library is compatible with Kotlin 1.2.21 build.

kotlin-koi - Koi, a lightweight kotlin library for Android Development.

  •    Kotlin

Koi include many useful extensions and functions, they can help reducing the boilerplate code in Android applications. Specifically, Koi include a powerful extension function named asyncSafe. Latest Version: Compiled with Kotlin 1.1.4.

goreporter - A Golang tool that does static analysis, unit testing, code review and generate code quality report

  •    Go

Install goreporter (see above).You have to confirm that your project is operational. In particular, the problem with vendor, when the package is not found in the default path, goreporter will look again from the possible vendor path.

MaterialDrawerKt - A Kotlin DSL wrapper around the mikepenz/MaterialDrawer library.

  •    Kotlin

Create navigation drawers in your Activities and Fragments without having to write any XML, in pure Kotlin code, with access to all the features of the original library: all sorts of menu items, badges, account headers, and more. You can find the sample app in the Play Store, and its source code in the app module of the project.

Kotlin-for-Android-Developers - Companion App for the book

  •    Kotlin

This is the code you can use to follow the book. Are you tired of using an ancient, inexpressive and unsafe language to develop your Android apps? Do you cry out loud every time you see a Null Pointer Exception in your bug tracker? Then Kotlin is your solution! A language specifically created for Java developers, easy to learn, expressive, null safe and really intuitive. Your productivity will boost and your apps will become more robust. Learn Kotlin the easy way by example and discover the tricks that will make coding easier.