arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.08141cs.SE
收藏

通过软件城市可视化在代码评审中实现静态与动态软件分析的可视化集成

Visual Integration of Static and Dynamic Software Analysis in Code Reviews via Software City Visualization

Alexander Krause-Glau, Lukas Damerau, Malte Hansen, Wilhelm Hasselbring

AI总结:

针对现有代码评审可视化工具仅支持静态分析、与工作流集成不足的问题,提出基于Web的软件城市可视化方法,整合静动态分析数据并对接Git服务,通过扩展ExplorViz实现,可提升分布式系统代码评审效率。

摘要:

用于代码评审的软件可视化方法通常作为独立应用实现,多采用静态代码分析技术。其目标是可视化拉取/合并请求引入的结构变更,以简化评审流程。例如,通过这种方式可以更轻松地识别阻碍代码演进的结构变更,但理解变更后的程序行为仍主要依赖阅读代码。若要让软件可视化在代码评审中发挥作用,所提供的工具不能仅停留在代码变更的替代呈现层面,还必须与开发者的日常工作流良好集成。\n本文介绍了一种新颖且处于开发阶段的基于Web的方法的设计与实现,该方法能够在软件城市可视化中结合静态与动态分析数据。我们的工具架构设计融入了现代Web技术,例如与常见Git托管服务的集成。由此,代码评审人员可以探索被修改软件的演进过程并执行其用例,这对分布式软件系统尤为有用。在此场景下,开发者可以从Git托管服务的问题追踪系统直接链接到对应的软件城市可视化界面。该方法省去了重复的手动数据收集与配置操作。我们通过扩展基于Web的软件可视化工具ExplorViz来实现这一设计,并邀请其他研究者扩展我们的开源软件,共同研究该方法。视频链接:https://youtu.be/DYxijdCEdrY

英文摘要:

Software visualization approaches for code reviews are often implemented as standalone applications, which use static code analysis. The goal is to visualize the structural changes introduced by a pull / merge request to facilitate the review process. In this way, for example, structural changes that hinder code evolution can be more easily identified, but understanding the changed program behavior is still mainly done by reading the code. For software visualization to be successful in code review, tools must be provided that go beyond an alternative representation of code changes and integrate well into the developers' daily workflow. In this paper, we report on the novel and in-progress design and implementation of a web-based approach capable of combining static and dynamic analysis data in software city visualizations. Our architectural tool design incorporates modern web technologies such as the integration into common Git hosting services. As a result, code reviewers can explore how the modified software evolves and execute its use cases, which is especially helpful for distributed software systems. In this context, developers can be directly linked from the Git hosting service's issue tracking system to the corresponding software city visualization. This approach eliminates the recurring action of manual data collection and setup. We implement our design by extending the web-based software visualization tool ExplorViz. We invite other researchers to extend our open source software and jointly research this approach. Video URL: https://youtu.be/DYxijdCEdrY

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑