Banca de DEFESA: DJAN ALMEIDA SANTOS

Uma banca de DEFESA de DOUTORADO foi cadastrada pelo programa.
STUDENT : DJAN ALMEIDA SANTOS
DATE: 28/03/2023
TIME: 08:00
LOCAL: Conferência web
TITLE:

Comprehensibility of Source Code with Feature Dependency in Configurable Systems


KEY WORDS:

Configurable systems, source code comprehensibility, feature dependency, empirical studies


PAGES: 112
BIG AREA: Ciências Exatas e da Terra
AREA: Ciência da Computação
SUBÁREA: Metodologia e Técnicas da Computação
SPECIALTY: Engenharia de Software
SUMMARY:

Conditional compilation is often used to implement variability in configurable systems. This technique relies on #ifdefs to delimit feature code. Previous studies have shown that #ifdefs may hinder code comprehensibility. However, those studies did not explicitly take feature dependencies into account. Feature dependency occurs when different features refer to the same program element, such as a variable. Comprehensibility may be even more affected in the presence of feature dependency, as the developer must reason about different scenarios affecting the same variable. Our goal is to understand how feature dependency affects the comprehensibility of configurable system source code. We conducted four complementary empirical studies. In Study 1, forty-six developers responded an online survey. They executed tasks in which they had to analyze programs containing #ifdefs with and without feature dependency. However, feature dependencies may be of different types depending on the scope of the shared variable. In Study 1, we were not concerned with different types of dependency. Thus, in Study 2, we carried out an experiment in which 30 developers debugged programs with different types of feature dependency. Each program included a different type of feature dependency: global, intraprocedural or interprocedural. We used an eye-tracking device to record developers' gaze movements while they debugged programs. However, feature dependencies do not differ from each other only in terms of types. They can also present differences in terms of number of dependent variables and degree of variability, among others. To address those characteristics, we complemented Study 1 and 2 by means of Studies 3 and 4. In Study 3, we executed a controlled experiment with 12 participants who analyzed programs with different numbers of dependent variables and number of uses of dependent variables. In Study 4, we carried out an experiment in which 12 developers analyzed programs with different degrees of variability. Our results show that: (i) analyzing programs containing #ifdefs and feature dependency required more time than programs containing #ifdefs but without feature dependency, (ii) debugging programs with #ifdefs and global or interprocedural dependency required more time and higher visual effort than programs with intraprocedural dependency, (iii) the higher the number of dependent variables the more difficult it was to understand programs with feature dependency, and (iv) the degree of variability did not affect the comprehensibility of programs with feature dependency. In summary, our studies showed that #ifdefs affected comprehensibility of configurable systems in different degrees depending on the presence or not of feature dependency, on the type of feature dependency, and on the number of dependent variables.


COMMITTEE MEMBERS:
Presidente - 1710389 - CLAUDIO NOGUEIRA SANT ANNA
Interno - 4769482 - IVAN DO CARMO MACHADO
Interno - 1708936 - EDUARDO SANTANA DE ALMEIDA
Externo à Instituição - FLÁVIO MOTA MEDEIROS - IFAl
Externo à Instituição - ROHIT GHEYI - UFCG
Notícia cadastrada em: 22/03/2023 13:42
SIGAA | STI/SUPAC - - | Copyright © 2006-2024 - UFBA