Skip to main content

Module messages

Module messages 

Expand description

messages analysis — code-maat parity. Match commit messages against a user-supplied regex; count one row per (file, matching-commit). High match counts surface files repeatedly touched by commits matching the regex — useful for “where do my bug-fix commits land?” or “which files get the most refactor mentions?”.

§Activation

Requires --expression-to-match REGEX (the Options.message_regex field). Calling run_messages without a regex returns an error.

Research basis: see docs/research-foundations.md entry “messages” (Mockus & Votta, ICSM 2000 — identifying reasons for software changes from commit messages; Hindle et al., MSR 2011 — automated topic naming).

Structs§

MessagesRow

Functions§

run_messages