Visualization of Source Code Similarity Using 2.5D Semantic Software Maps

被引:3
作者
Atzberger, Daniel [1 ]
Cech, Tim [1 ]
Scheibel, Willy [1 ]
Limberger, Daniel [1 ]
Doellner, Jurgen [1 ]
机构
[1] Univ Potsdam, Digital Engn Fac, Hasso Plattner Inst, Potsdam, Germany
来源
COMPUTER VISION, IMAGING AND COMPUTER GRAPHICS THEORY AND APPLICATIONS, VISIGRAPP 2021 | 2023年 / 1691卷
关键词
Source code mining; Software visualization; Glyph visualization; POINTS;
D O I
10.1007/978-3-031-25477-2_8
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
For various program comprehension tasks, software visualization techniques can be beneficial by displaying aspects related to the behavior, structure, or evolution of software. In many cases, the question is related to the semantics of the source code files, e.g., the localization of files that implement specific features or the detection of files with similar semantics. This work presents a general software visualization technique for source code documents, which uses 3D glyphs placed on a two-dimensional reference plane. The relative positions of the glyphs captures their semantic relatedness. Our layout originates from applying Latent Dirichlet Allocation and Multidimensional Scaling on the comments and identifier names found in the source code files. Though different variants for 3D glyphs can be applied, we focus on cylinders, trees, and avatars. We discuss various mappings of data associated with source code documents to the visual variables of 3D glyphs for selected use cases and provide details on our visualization system.
引用
收藏
页码:162 / 182
页数:21
相关论文
共 55 条
  • [1] Aggarwal C.-C., 2012, Mining text data, P163, DOI [10.1007/978-1-4614-3223-4, DOI 10.1007/978-1-4614-3223-4]
  • [2] anek St.ep., 2020, Technical Report
  • [3] [Anonymous], 2017, Systems and software engineering-Vocabulary: Standard, DOI [10.1109/IEEESTD.2017.8016712, DOI 10.1109/IEEESTD.2017.8016712]
  • [4] Atzberger Daniel, 2021, VINCI 2021: The 14th International Symposium on Visual Information Communication and Interaction, DOI 10.1145/3481549.3481573
  • [5] Visualization of Knowledge Distribution across Development Teams using 2.5D Semantic Software Maps
    Atzberger, Daniel
    Cech, Tim
    Jobst, Adrian
    Scheibel, Willy
    Limberger, Daniel
    Trapp, Matthias
    Doellner, Juergen
    [J]. PROCEEDINGS OF THE 17TH INTERNATIONAL JOINT CONFERENCE ON COMPUTER VISION, IMAGING AND COMPUTER GRAPHICS THEORY AND APPLICATIONS (IVAPP), VOL 3, 2022, : 210 - 217
  • [6] Software Forest: A Visualization of Semantic Similarities in Source Code using a Tree Metaphor
    Atzberger, Daniel
    Cech, Tim
    de La Haye, Merlin
    Soechting, Maximilian
    Scheibel, Willy
    Limberger, Daniel
    Doellner, Juergen
    [J]. IVAPP: PROCEEDINGS OF THE 16TH INTERNATIONAL JOINT CONFERENCE ON COMPUTER VISION, IMAGING AND COMPUTER GRAPHICS THEORY AND APPLICATIONS - VOL. 3: IVAPP, 2021, : 112 - 122
  • [7] Beck Fabian, 2014, 5th International Conference on Information Visualization Theory and Applications (IVAPP 2014). Proceedings, P5
  • [8] Latent Dirichlet allocation
    Blei, DM
    Ng, AY
    Jordan, MI
    [J]. JOURNAL OF MACHINE LEARNING RESEARCH, 2003, 3 (4-5) : 993 - 1022
  • [9] Carroll JD, 1998, Handbook of Perception and Cognition (Second Edition), Measurement, Judgment and Decision Making, P179, DOI [10.1007/978-3-540-33037-0_14, DOI 10.1007/978-3-540-33037-014, 10.1007/978-3-540-33037-014]
  • [10] A survey on the use of topic models when mining software repositories
    Chen, Tse-Hsun
    Thomas, Stephen W.
    Hassan, Ahmed E.
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2016, 21 (05) : 1843 - 1919