# alibaba/p3c

Alibaba Java Coding Guidelines pmd implements and IDE plugin

Repository: https://github.com/alibaba/p3c
Canonical: https://ross.abutalabs.com/products/p3c
Homepage: https://github.com/alibaba/p3c/wiki
Language: Kotlin
License: Apache-2.0
License Family: permissive
Last push: 2024-08-06T08:22:02+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3358, "days_push": 757, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 30850, forks 7971 (observed 2026-08-28T04:11:56.495819+00:00)

## What it is
Alibaba's Java Coding Guidelines implemented as PMD rules plus IntelliJ IDEA and Eclipse plugins. It enforces Alibaba's internal Java best practices for code quality, naming, concurrency, and collections usage.

## Use cases
- enforce java coding standards in intellij
- run pmd rules for alibaba java guidelines
- check code style in eclipse
- lint java projects for best practices
- static analysis for java code quality

## When to choose
- your team wants to adopt Alibaba's Java coding guidelines
- you use IntelliJ IDEA or Eclipse and want inline guideline enforcement
- you already use PMD and want additional Java rules

## When to avoid
- you need a general-purpose linter for non-Java languages
- you want fully customizable rule sets unrelated to Alibaba's guidelines
- you need actively developed features - releases are infrequent

## Facets
- artifact type: plugin
- maturity: maintenance
- function: linter, code-review, developer-tools
- domain: developer-tools, programming-languages
- platform: jvm, editor-plugin, cross-platform
- tags: java, pmd, intellij-idea-plugin, eclipse-plugin, coding-guidelines, static-analysis, code-style, code-quality

## Member repositories
- alibaba/p3c (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:56.495819+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-29T16:52:36.448633+00:00, confidence not recorded.
  - readme: https://github.com/alibaba/p3c (fetched 2026-08-28T04:11:56.495819+00:00, sha 915ee04cff25)
  - homepage: https://github.com/alibaba/p3c/wiki (fetched 2026-08-29T07:49:30.488967+00:00, sha 65d91aeca093)
- Data as of 2026-08-30T08:39:29.467469+00:00.
