当前位置: X-MOL 学术Softw. Pract. Exp. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Architecture violations detection and visualization in the continuous integration pipeline
Software: Practice and Experience ( IF 2.6 ) Pub Date : 2021-05-31 , DOI: 10.1002/spe.3004
Camilo Mendoza 1 , José Bocanegra 1 , Kelly Garcés 1 , Rubby Casallas 1
Affiliation  

New code in projects can introduce violations that deviate the code implementation from the intended architecture. This process is known as architecture erosion. In this article, we propose an approach for recovering the implemented architecture, and detecting violations when comparing it with the intended architecture. Given a code repository, the continuous integration pipeline calls the solution to detect the incidences of architecture violations as well as some quality and social metrics. This data is presented in metric-centered views that help development teams to manage architecture erosion. Our approach is based on model-driven engineering techniques since models serve to represent the code, and a model-based pattern language helps us to automate the search for violation occurrences and execute corresponding actions (e.g., creation/assignment of issues). We confirm the approach benefits in a real project implemented by a software developing company, in a sample project available on the internet, and in a software development course, including 20 projects, where every single project decreases its architecture violations density through time.

中文翻译:

持续集成管道中的架构违规检测和可视化

项目中的新代码可能会引入违反预期架构的代码实现。这个过程被称为架构侵蚀。在本文中,我们提出了一种恢复已实现架构的方法,并在将其与预期架构进行比较时检测违规。给定代码存储库,持续集成管道调用解决方案来检测架构违规的发生率以及一些质量和社会指标。这些数据以指标为中心的视图显示,可帮助开发团队管理架构侵蚀。我们的方法基于模型驱动的工程技术,因为模型用于表示代码,并且基于模型的模式语言帮助我们自动搜索违规事件并执行相应的操作(例如,创建/分配问题)。我们确认了该方法在软件开发公司实施的实际项目、互联网上可用的示例项目和软件开发课程中的好处,包括 20 个项目,其中每个项目都随着时间的推移降低其架构违规密度。
更新日期:2021-07-02
down
wechat
bug