一句话:提出轻量级代码库监控工具 Triggr,支持分布式、可定制、细粒度的规则与告警。
多开发者协作修改代码库时,现有代码质量监控工具往往集中管理且不够灵活:维护者无法定义局部规则,分析粒度也通常只能到文件级。本文提出 Triggr,它是作者先前工具 CodeAware 的轻量级重实现,沿用同一范式。Triggr 以基于事件的方式监听代码库的共享仓库,允许开发者本地定义规则,并在特定代码区域发生变更时向订阅者发送定制告警,从而实现分布式、可定制和细粒度的监控。工具已开源并提供演示视频,摘要未报告定量实验评估。
Existing tools for monitoring the quality of codebases modified by multiple developers tend to be centralized and inflexible. These tools increase the visibility of quality by producing effective reports and visualizations when a change is made to the codebase and triggering alerts when undesirable situations occur. However, their configuration is invariably both (a) centrally managed in that individual maintainers cannot define local rules to receive customized feedback when a change occurs in a specific part of the code in which they are particularly interested, and (b) coarse-grained in that analyses cannot be turned on and off below the file level. Triggr, the tool proposed in this paper, addresses these limitations by allowing distributed, customized, and fine-grained monitoring. It is a lightweight re-implementation of our previous tool, CodeAware, which adopts the same paradigm. The tool listens on a codebase’s shared repository using an event-based approach, and can send alerts to subscribed developers based on rules defined locally by them. Triggr is open-source and available at https://github.com/lyzerk/Triggr. A demonstration video can be found at https://youtu.be/qQs9aDwXJjY.
DOI 原文 ·
@inproceedings{paperbot4776,
title = {Lightweight source code monitoring with Triggr},
author = {Alim Ozdemir and Ayse Tosun and Hakan Erdogmus and Rui Abreu},
booktitle = {ASE},
year = {2018},
doi = {10.1145/3238147.3240486}
}