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
Field Service+ for MS Dynamics 365 & Salesforce Icon
Field Service+ for MS Dynamics 365 & Salesforce

Empower your field service with mobility and reliability

Resco’s mobile solution streamlines your field service operations with offline work, fast data sync, and powerful tools for frontline workers, all natively integrated into Dynamics 365 and Salesforce.
Learn More
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