# classgraph/classgraph

An uber-fast parallelized Java classpath scanner and module scanner.

Repository: https://github.com/classgraph/classgraph
Canonical: https://ross.abutalabs.com/products/classgraph
Language: Java
License: MIT
License Family: permissive
Last push: 2026-08-26T18:41:23+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 4399, "days_push": 7, "days_rel": 8, "gap_med": 3.5, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3004, forks 309 (observed 2026-08-28T04:07:37.568065+00:00)

## What it is
ClassGraph is an uber-fast parallelized classpath and module scanner for Java, Scala, Kotlin, and other JVM languages. It inspects classes, annotations, and resources at runtime with zero dependencies and broad JDK/JPMS compatibility.

## Use cases
- scan classpath for annotated classes
- find all classes implementing an interface at runtime
- discover resources in jars and modules
- build plugin systems via classpath discovery
- scan JPMS modules for classes

## When to choose
- you need fast, parallelized classpath scanning on the JVM
- you want a dependency-free scanner supporting Java, Kotlin, and Scala
- you need JPMS/module-path support

## When to avoid
- you only need simple reflection on known classes
- you work outside the JVM ecosystem

## Facets
- artifact type: library
- maturity: stable
- function: parser, developer-tools
- domain: developer-tools
- platform: jvm, cross-platform
- tags: classpath-scanning, reflection, annotation-scanning, jpms, kotlin, scala, jvm, android

## Member repositories
- classgraph/classgraph (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:37.568065+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:30:24.272589+00:00, confidence not recorded.
  - readme: https://github.com/classgraph/classgraph (fetched 2026-08-28T04:07:37.568065+00:00, sha ae28fd8dcb1c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
