# humbug/humbug

Humbug is a Mutation Testing framework for PHP to measure the real effectiveness of your test suites and assist in their improvement. It eats Code Coverage for breakfast.

Repository: https://github.com/humbug/humbug
Canonical: https://ross.abutalabs.com/products/humbug
Language: PHP
License: BSD-3-Clause
License Family: permissive
Topics: mutation-testing, php, coverage, testing, mutation-analysis
Archived: true
Last push: 2017-12-31T15:29:08+00:00

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

## Adoption (not part of the score)
Stars 1126, forks 69 (observed 2026-08-28T04:03:41.148437+00:00)

## What it is
Humbug is a mutation testing framework for PHP that measures the real effectiveness of test suites by injecting small defects and checking whether tests detect them. It is deprecated in favor of the Infection project.

## Use cases
- measure the real effectiveness of my php test suite
- run mutation testing on a php codebase
- find gaps in unit tests beyond code coverage
- check if my tests catch injected bugs
- improve test quality with mutation analysis

## When to choose
- you maintain a legacy PHP project already configured with Humbug

## When to avoid
- you are starting a new PHP project - use Infection instead
- you need an actively maintained mutation testing tool

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: testing, benchmarking
- domain: testing, developer-tools
- platform: php, cli
- tags: mutation-testing, php, code-coverage, deprecated

## Member repositories
- humbug/humbug (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:41.148437+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-30T06:39:12.018542+00:00, confidence not recorded.
  - readme: https://github.com/humbug/humbug (fetched 2026-08-28T04:03:41.148437+00:00, sha ac0cb2724651)
- Data as of 2026-08-30T08:39:29.467469+00:00.
