Can Latent Topics in Source Code Predict Missing Architectural Tactics?

被引:14
|
作者
Gopalakrishnan, Raghuram [1 ]
Sharma, Palak [1 ]
Mirakhorli, Mehdi [1 ]
Galster, Matthias [2 ]
机构
[1] Rochester Inst Technol, Rochester, NY 14623 USA
[2] Univ Canterbury, Christchurch, New Zealand
基金
美国国家科学基金会;
关键词
Architectural design and implementation; tactic recommender; emergent design; ARTIFICIAL NEURAL-NETWORKS; RECOMMENDER SYSTEMS; SOFTWARE ARCHITECTURE; ALGORITHM;
D O I
10.1109/ICSE.2017.10
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Architectural tactics such as heartbeat, resource pooling, and scheduling provide solutions to satisfy reliability, security, performance, and other critical characteristics of a software system. Current design practices advocate rigorous up-front analysis of the systems quality concerns to identify tactics and where in the code they should be used. In this paper, we explore a bottom-up approach to recommend architectural tactics based on latent topics discovered in the source code of projects. We present a recommender system developed by building predictor models which capture relationships between topical concepts in source code and the use of specific architectural tactics in that code. Based on an extensive analysis of over 116,000 open source systems, we identify significant correlations between latent topics in source code and the usage of architectural tactics. We use this information to construct a predictor for generating tactic recommendations. Our approach is validated through a series of experiments which demonstrate the ability to generate package-level tactic recommendations. We provide further validation via two large-scale studies of Apache Hive and Hadoop to illustrate that our recommender system predicts tactics that are actually implemented by developers in later releases.
引用
收藏
页码:15 / 26
页数:12
相关论文
共 50 条
  • [31] A Study on Low Complexity Models to Predict Flaws in the Linux Source Code
    Kanashiro, Lucas
    Ribeiro, Athos
    Silva, David
    Meirelles, Paulo
    Terceiro, Antonio
    2017 12TH IBERIAN CONFERENCE ON INFORMATION SYSTEMS AND TECHNOLOGIES (CISTI), 2017,
  • [32] Semantic Clone Detection: Can Source Code Comments Help?
    Ghosh, Akash
    Kuttal, Sandeep Kaur
    2018 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC), 2018, : 315 - 317
  • [33] An Approach to Source-Code Plagiarism Detection and Investigation Using Latent Semantic Analysis
    Cosma, Georgina
    Joy, Mike
    IEEE TRANSACTIONS ON COMPUTERS, 2012, 61 (03) : 379 - 394
  • [34] Using latent semantic analysis to identify similarities in source code to support program understanding
    Maletic, JI
    Marcus, A
    12TH IEEE INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2000, : 46 - 53
  • [35] Recovering documentation-to-source-code traceability links using latent semantic indexing
    Marcus, A
    Maletic, JI
    25TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2003, : 125 - 135
  • [36] Clustering Source Code Files to Predict Change Propagation during Software Maintenance
    Bailey, Megan
    Lin, King-Ip
    Sherrell, Linda
    PROCEEDINGS OF THE 50TH ANNUAL ASSOCIATION FOR COMPUTING MACHINERY SOUTHEAST CONFERENCE, 2012,
  • [37] Can Source Code Analysis Indicate Programming Skills? A Survey with Developers
    Oliveira, Johnatan
    Souza, Mauricio
    Flauzino, Matheus
    Durelli, Rafael
    Figueiredo, Eduardo
    QUALITY OF INFORMATION AND COMMUNICATIONS TECHNOLOGY, QUATIC 2022, 2022, 1621 : 156 - 171
  • [38] Can CT predict the source of arterial hemorrhage in patients with pelvic fractures?
    Sheridan M.
    Blackmore C.C.
    Linnau K.F.
    Hoffer E.K.
    Lomoschitz F.
    Jurkovich G.J.
    Emergency Radiology, 2002, 9 (4) : 188 - 194
  • [39] Source Code Metrics to Predict the Properties of FPGA/VHDL-Based Synthesized Products
    Perez-Cham, Oscar E.
    Soubervielle-Montalvo, Carlos
    Nunez-Varela, Alberto S.
    Puente, Cesar
    Ontanon-Garcia, Luis J.
    2018 6TH INTERNATIONAL CONFERENCE IN SOFTWARE ENGINEERING RESEARCH AND INNOVATION (CONISOFT 2018), 2018, : 93 - 98
  • [40] Open-source Code Repository Attributes Predict Impact of Computer Science Research
    Bhattarai, Prajjwal
    Ghassemi, Mohammed
    Alhanai, Tuka
    2022 ACM/IEEE JOINT CONFERENCE ON DIGITAL LIBRARIES (JCDL), 2022,