An Investigation on the Evolutionary Nature of Exception Handling Violations in Software Product Lines

被引:0
|
作者
Sena, Demostenes [1 ]
Coelho, Roberta [1 ]
Kulesza, Uira [1 ]
机构
[1] Univ Fed Rio Grande do Norte, Informat & Appl Math Dept DIMAp, Natal, RN, Brazil
关键词
Exception Handling; Software Product Line; Software Evolution; STATIC ANALYSIS;
D O I
10.1145/2695664.2695933
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The Exception Handling (EH) is a widely used mechanism for building robust systems and it is embedded in most of the mainstream programming languages. In the context of Software Product Lines (SPL), we can find exception handling code associated to common and variable features of an SPL. However, studies have shown that the exception handling code can also become a source of bugs which may affect the system the other way around, making it even less robust. This paper describes an empirical study whose goal was to investigate the evolutionary nature of exception handling violations. Can the exception handling behavior be preserved along SPL evolution scenarios? In order to carry out this study we extended a tool, called PLEA, which statically discovers the exception handling flows on SPLs (those implemented in Java and using annotation techniques), and it was executed over five to seven versions of two distinct SPLs. Our goal was to identify how the different kinds of evolution scenarios affected the exception handling policy initially defined. The results showed that the evolution of the SPLs exception handling code did not occur in a planned way in most of the scenarios. Consequently, it led to violations on the exception handling behavior. This paper points out the need of a set of EH behavior-preserving evolution scenarios for the SPLs exception handling code.
引用
收藏
页码:1616 / 1623
页数:8
相关论文
共 50 条
  • [21] Exception Handling-Based Dynamic Software Watermarking
    Wang, Yilong
    Gong, Daofu
    Lu, Bin
    Xiang, Fei
    Liu, Fenlin
    [J]. IEEE ACCESS, 2018, 6 : 8882 - 8889
  • [22] Software product lines
    Bosch, J
    [J]. TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES - TOOLS 33, PROCEEDINGS, 2000, : 467 - 467
  • [23] Evolutionary many-objective satisfiability solver for configuring software product lines
    Yimou Hou
    Dantong Ouyang
    Xinliang Tian
    Liming Zhang
    [J]. Applied Intelligence, 2022, 52 : 10650 - 10673
  • [24] Evolutionary many-objective satisfiability solver for configuring software product lines
    Hou, Yimou
    Ouyang, Dantong
    Tian, Xinliang
    Zhang, Liming
    [J]. APPLIED INTELLIGENCE, 2022, 52 (09) : 10650 - 10673
  • [25] A modeling approach for exception handling in service-oriented software
    Jiang, Caoqing
    Ying, Shi
    Wen, Jing
    Jia, Xiangyang
    Wang, Yibing
    [J]. Hsi-An Chiao Tung Ta Hsueh/Journal of Xi'an Jiaotong University, 2013, 47 (04): : 118 - 124
  • [26] Software exception handling mechanism for Critical Situations in Healthcare Domain
    Purohit, Preetesh
    Tokekar, Vrinda
    [J]. PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICCS), 2019, : 1418 - 1422
  • [27] Exception handling for PLC-based process control software
    Godena, G
    Colnaric, M
    [J]. MICROPROCESSORS AND MICROSYSTEMS, 2000, 24 (08) : 407 - 414
  • [28] Event-Driven Exception Handling for Software Engineering Processes
    Grambow, Gregor
    Oberhauser, Roy
    Reichert, Manfred
    [J]. BUSINESS PROCESS MANAGEMENT WORKSHOPS, PT I, 2012, 99 : 414 - +
  • [29] Variability Management in Software Product Lines: An Investigation of Contemporary Industrial Challenges
    Chen, Lianping
    Babar, Muhammad Ali
    [J]. SOFTWARE PRODUCT LINES: GOING BEYOND, 2010, 6287 : 166 - +
  • [30] Applying multiobjective evolutionary algorithms to dynamic software product lines for reconfiguring mobile applications
    Pascual, Gustavo G.
    Lopez-Herrejon, Roberto E.
    Pinto, Monica
    Fuentes, Lidia
    Egyed, Alexander
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2015, 103 : 392 - 411