Skip to content

KInspector v0.1.0

Latest

Choose a tag to compare

@kairowan kairowan released this 09 Mar 05:59

Overview

KInspector v0.1.0 is the first public MVP release.

KInspector is an engineering health inspection tool for Kotlin and Android multi-module projects. It focuses on project structure governance, dependency health, Gradle consistency, architecture boundary enforcement, and common coroutine anti-pattern detection.

This release provides a working end-to-end toolchain with CLI usage, Gradle plugin integration, baseline/diff support, owner coverage analysis, and multiple report formats for local development and CI.

Highlights

  • Scan Kotlin and Android multi-module Gradle projects
  • Build a module dependency graph and detect circular dependencies
  • Detect architecture boundary violations with:
    • default layer heuristic
    • ownership model
    • allowlist policy
    • explicit architecture dependency rules DSL
  • Generate owner coverage and owner drift reports
  • Support baseline and diff mode for CI workflows
  • Detect Gradle consistency issues such as:
    • missing build files
    • missing plugin declarations
    • inconsistent JVM toolchains
    • inconsistent Android compileSdk / minSdk / targetSdk
    • kapt / ksp / Compose usage consistency issues
  • Detect common coroutine anti-patterns in Kotlin source
  • Generate reports in:
    • terminal
    • JSON
    • HTML
    • Markdown
    • SARIF
  • Support GitHub Actions step summary, PR comment markdown, workflow annotations, and SARIF upload
  • Support Chinese and English report output

Modules

This release includes the following modules:

  • core
  • scanner
  • rules
  • reporter-json
  • reporter-html
  • reporter-markdown
  • reporter-sarif
  • reporter-github
  • cli
  • gradle-plugin

Distribution

KInspector is prepared for two release channels:

  • JitPack for published JVM modules
  • Gradle Plugin Portal for the Gradle plugin

Gradle plugin id:

id("io.github.kariowan.kinspector")