Modus Operandi¶
Modus Operandi is the method of operation. It’s the signature for how you work with the codebase and lets you discover trends and risks in the type of coding you do.
What is Modus Operandi?¶
Forensic psychologists refer to Modus Operandi as the method of operation, a criminal signature. Software teams have a modus operandi, too. Our analyses help you uncover it to better understand how the team works. The information will never be precise, but lets you ask the right questions and guide your discussions by opening a new perspective on your daily work.
Inspect Trends in Your Commit Messages¶
CodeScene’s JIRA integration (see Project Management Analyses) lets you discover trends in the type of work you do. However, not all organizations use JIRA. There may also be work-related information that isn’t available in JIRA.
Thus, CodeScene provides a second data source for work-related trends: your commit messages. Your commit messages is an interesting data source too, as illustrated in Fig. 99
![A Git commit log](../../_images/modus-operandi-commit-log.png)
Fig. 99 Your commit messages contains work-related information.
By default, CodeScene will identify all commit messages that contain the texts bug, fix, or defect as illustrated in Fig. 100. Please note that the matches are always case insensitive. That is, if you specify bug, CodeScene will match both bug and Bug.
![A commit message trend](../../_images/modus-operandi-commit-message-trend.png)
Fig. 100 Inspect all commits that mention a particular word or phrase.
You can configure CodeScene to match any word or phrase that you want. You just specify a regular expression in the Modus Operandi section of the project configuration.