Cpp function length counter

December 2023

One of the university projects during the first semester was to create a CLI implementation of backgammon. The most annoying requirement was that the functions could not be longer than 555 characters. The lecturer did not provide us with any tool to check the length of the functions, so I decided to create one myself. The tool is a website which accepts many .cpp files and displays a report of function lengths by file and by function. The user can also choose to display the functions' bodies to verify which characters were counted (white characters and comments are omitted). The tool is available on GitHub Pages.