Extend the file scanning loop to also cover header and source files under the `include/` directory by using `itertools.chain` to combine both glob patterns, ensuring metrics are computed for all relevant source locations.
Extend the metrics script to scan test/*.wren files, counting test files, TODOs, expectations via EXPECT_PATTERN, non-empty lines, and empty lines. Refactor output to print source and test sections with aligned formatting.
Eliminate all forward declarations and reorder functions so each is defined before its first use, making recursion points explicit. Add semicolon counting to metrics script and include boolean equality test file.