# alx-tools/Betty

Holberton-style C code checker written in Perl

Repository: https://github.com/alx-tools/Betty
Canonical: https://ross.abutalabs.com/products/alx-tools-betty
Language: Perl
License: GPL-3.0
License Family: copyleft
Topics: coding-style, betty, holberton, c
Last push: 2023-12-01T22:30:11+00:00

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

## Adoption (not part of the score)
Stars 1258, forks 1738 (observed 2026-08-28T04:04:09.547114+00:00)

## What it is
Betty is a C code and documentation style checker written in Perl, based on the Holberton School style guide which is largely inspired by the Linux Kernel coding style. It provides two command-line tools, betty-style and betty-doc, that check C source files for style and documentation compliance.

## Use cases
- check C code against Holberton style guide
- lint C files for Linux kernel-style formatting
- validate C documentation comments
- run a coding style checker from the command line
- enforce consistent C style in student projects

## When to choose
- you are a Holberton/ALX student needing to pass Betty style checks
- you want a lightweight Perl-based C style linter inspired by Linux Kernel style
- you need to check both code style and doc comment style for C

## When to avoid
- you need a general-purpose modern C linter like clang-tidy or cppcheck
- your project does not follow the Holberton/Betty style guide
- you need linting for languages other than C

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: linter, cli, developer-tools
- domain: developer-tools, education
- platform: cli
- tags: c-coding-style, linux-kernel-style, holberton-school, documentation-style, static-analysis, command-line, linux, macos, perl

## Member repositories
- alx-tools/Betty (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:09.547114+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-30T05:05:34.111100+00:00, confidence not recorded.
  - readme: https://github.com/alx-tools/Betty (fetched 2026-08-28T04:04:09.547114+00:00, sha a5588b488b65)
- Data as of 2026-08-30T08:39:29.467469+00:00.
