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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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