Scrutinizer has already supported tracking changes to your classes, methods and functions to measure the stability of your code. So far, these measures were computed on a per-inspection basis. This algorithm has now been revised to compute them on a per-commit basis.
This provides even more insights as it allows us to determine what kind of change a commit makes. Currently, we label commits as bug fixes and feature additions by inspecting the commit title with the following regular expressions.
You can adapt these patterns to your own workflow via the new changetracking setting in your configuration:
# .scrutinizer.yml
changetracking:
bug_patterns: ["\bfix(?:es|ed)?\b"]
feature_patterns: ["\badd(?:s|ed)?\b", "\bimplement(?:s|ed)?\b"]
We display the data in all code views and they will also be used in the upcoming revision to the code rating algorithm.
I would also like to take this opportunity to thank all our early customers and all our open-source users for their continued support and feedback in building this product. Keep them coming! :)
Last but not least, enjoy the holidays with your family and a merry Christmas!