Betty is a Perl-based coding style checker that enforces the Holberton School coding style (inspired by the Linux kernel style) for C code and documentation. It identifies inconsistencies, style violations, and formatting issues in C source files. You should be aware that by default, some text editors are using spaces instead of tabs. For instance, when you press tab key on emacs, by default, leading spaces will be put, and that will cause Betty to raise a lot of warnings. Please find some help in the Tools section. Outside of comments and documentation, spaces are never used for indentation, and the above example is deliberately broken.

Features

  • Validates C source code adherence to Betty (Holberton) style format
  • Checks code issues such as indentation, naming conventions, and function length
  • Provides style feedback for both code (betty-style) and documentation (betty-doc)
  • Executable via simple CLI commands for file or batch validation
  • Licensed under GPL-3.0 and written in Perl for portability
  • Helps learners develop cleaner, standardized coding habits through automation

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow Betty

Betty Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Betty!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Perl

Related Categories

Perl Software Development Software

Registered

2025-09-10