Title :
On a Feature-Oriented Characterization of Exception Flows in Software Product Lines
Author :
Melo, Hugo ; Coelho, Roberta ; Kulesza, Uirá
Author_Institution :
Dept. of Inf. & Appl. Math. (DIMAp), Fed. Univ. of Rio Grande do Norte (UFRN), Natal, Brazil
Abstract :
The Exception Handling (EH) is a widely used mechanism for building robust systems. In Software Product Line (SPL) context it is not different. As EH mechanisms are embedded in most of mainstream programming languages, we can find exception signalers and handlers spread over code assets associated to common and variable SPL features. When exception signalers and handlers are added to an SPL in an unplanned way, one of the possible consequences is the generation of faulty family instances (i.e., instances on which common or variable features signal exceptions that are mistakenly caught inside the system). This paper reports a first systematic study, based on manual inspection and static code analysis, in order to categorize the possible ways exceptions flow in SPLs, and analyze its consequences. Fault-prone exception handling flows were consistently detected during this study, such as flows on which a variable feature signaled an exception a different variable feature handled it.
Keywords :
exception handling; fault diagnosis; product development; program diagnostics; software reusability; EH mechanisms; SPL context; SPL features; code assets; exception flow feature-oriented characterization; exception handlers; exception signalers; fault-prone exception handling flows; faulty family instance generation; manual inspection; software product lines; static code analysis; Computer architecture; Feature extraction; Inspection; Java; Manuals; Software; Systematics; Code Inspection; Exception Handling; Software Product Line; Static Analysis;
Conference_Titel :
Software Engineering (SBES), 2012 26th Brazilian Symposium on
Conference_Location :
Natal
Print_ISBN :
978-1-4673-4472-2
DOI :
10.1109/SBES.2012.15