Multilevel Readability Interpretation Against Software Properties: A Data-Centric Approach

被引:1
|
作者
Karanikiotis, Thomas [1 ]
Papamichail, Michail D. [1 ]
Symeonidis, Andreas L. [1 ]
机构
[1] Aristotle Univ Thessaloniki, Elect & Comp Engn Dept, Informat Proc Lab, Intelligent Syst & Software Engn Labgrp, Thessaloniki, Greece
来源
关键词
Developer-perceived readability; Readability interpretation; Size-based clustering; Support vector regression; SUPPORT;
D O I
10.1007/978-3-030-83007-6_10
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Given the wide adoption of the agile software development paradigm, where efficient collaboration as well as effective maintenance are of utmost importance, the need to produce readable source code is evident. To that end, several research efforts aspire to assess the extent to which a software component is readable. Several metrics and evaluation criteria have been proposed; however, they are mostly empirical or rely on experts who are responsible for determining the ground truth and/or set custom thresholds, leading to results that are context-dependent and subjective. In this work, we employ a large set of static analysis metrics along with various coding violations towards interpreting readability as perceived by developers. Unlike already existing approaches, we refrain from using experts and we provide a fully automated and extendible methodology built upon data residing in online code hosting facilities. We perform static analysis at two levels (method and class) and construct a benchmark dataset that includes more than one million methods and classes covering diverse development scenarios. After performing clustering based on source code size, we employ Support Vector Regression in order to interpret the extent to which a software component is readable against the source code properties: cohesion, inheritance, complexity, coupling, and documentation. The evaluation of our methodology indicates that our models effectively interpret readability as perceived by developers against the above mentioned source code properties.
引用
收藏
页码:203 / 226
页数:24
相关论文
共 50 条
  • [21] A data-centric approach to manage business processes
    Nahla Haddar
    Mohamed Tmar
    Faiez Gargouri
    Computing, 2016, 98 : 375 - 406
  • [22] An Algebraic Approach for Data-Centric Scientific Workflows
    Ogasawara, Eduardo
    Dias, Jonas
    de Oliveira, Daniel
    Porto, Fabio
    Valduriez, Patrick
    Mattoso, Marta
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2011, 4 (12): : 1328 - 1339
  • [23] Data Sharing in Data-Centric Multi-Tenant Software as a Service
    Aslam, Usman
    Mukhtar, Hamid
    SECOND INTERNATIONAL CONFERENCE ON CLOUD AND GREEN COMPUTING / SECOND INTERNATIONAL CONFERENCE ON SOCIAL COMPUTING AND ITS APPLICATIONS (CGC/SCA 2012), 2012, : 113 - 117
  • [24] Re-engineering Software Engineering for a Data-centric World
    Kim, Miryung
    34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : XXXVI - XXXVI
  • [25] Data-Centric Communication and Containerization for Future Automotive Software Architectures
    Kugele, Stefan
    Hettler, David
    Peter, Jan
    2018 IEEE 15TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE (ICSA), 2018, : 65 - 74
  • [26] The Euclid Archive System: A Data-Centric Approach to Big Data
    Nieto, S.
    Belikov, A. N.
    Williams, O. R.
    Altieri, B.
    Boxhoorn, D.
    Buenadicha, G.
    Droge, B.
    McFarland, J. P.
    Salgado, J.
    de Teodoro, P.
    Tsyganov, A.
    Valentijn, E. A.
    ASTRONOMICAL DATA ANALYSIS SOFTWARE AND SYSTEMS XXVI, 2019, 521 : 12 - 15
  • [27] A Computer-Algebraic Approach to Formal Verification of Data-Centric Low-Level Software
    Marx, Oliver
    Villarraga, Carlos
    Stoffel, Dominik
    Kunz, Wolfgang
    2016 ACM/IEEE INTERNATIONAL CONFERENCE ON FORMAL METHODS AND MODELS FOR SYSTEM DESIGN (MEMOCODE), 2016, : 34 - 42
  • [28] Data-centric approach for miscellaneous optical sensing and imaging
    Tanida, Jun
    Horisaki, Ryoichi
    HOLOGRAPHY, DIFFRACTIVE OPTICS, AND APPLICATIONS IX, 2019, 11188
  • [29] Data-centric AI approach for automated wildflower monitoring
    Schouten, Gerard
    Michielsen, Bas S. H. T.
    Gravendeel, Barbara
    PLOS ONE, 2024, 19 (09):
  • [30] A data-centric approach to understanding the pricing of financial options
    Healy, J
    Dixon, M
    Read, B
    Cai, FF
    EUROPEAN PHYSICAL JOURNAL B, 2002, 27 (02): : 219 - 227