Nome completo do aluno
|
Djan Almeida Santos
|
Título do trabalho
|
Comprehensibility of Source Code with Feature Dependency in Configurable Systems
|
Resumo do trabalho
|
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.
|
Orientador
|
Cláudio Nogueira Sant'Anna
|
Co-orientador
|
Márcio de Medeiros Ribeiro (UFAL)
|
Membro Titular Externo 1 (com afiliação)
|
Rohit Gheyi
|
Link para o curriculum lattes
|
http://lattes.cnpq.br/
|
Membro Titular Externo 2 (com afiliação)
|
Flávio Mota Medeiros (IFAL)
|
Link para o curriculum lattes
|
http://lattes.cnpq.br/
|
Membro Titular Interno 1 ou Titular Externo 3 (com afiliação)
|
Eduardo Santana de Almeida (UFBA)
|
Link para o curriculum lattes
|
http://lattes.cnpq.br/
|
Membro Titular Interno 2 ou Titular Externo 4 (com afiliação)
|
Ivan do Carmo Machado
|
Link para o curriculum lattes
|
http://lattes.cnpq.br/
|
Membro Suplente Externo 1 (com afiliação)
|
Uira Kulesza (UFRN)
|
Link para o curriculum lattes
|
http://lattes.cnpq.br/
|
Membro Suplente Externo 2 (com afiliação)
|
Marcos Barbosa Dósea (UFS)
|
Link para o curriculum lattes
|
http://lattes.cnpq.br/
|
Membro Suplente Interno 1 ou Suplente Externo 3 (com afiliação)
|
Rita Suzana Pitangueira Maciel (UFBA)
|
Link para o curriculum lattes
|
http://lattes.cnpq.br/
|
Membro Suplente Interno 2 ou Suplente Externo 4 (com afiliação)
|
Danilo Barbosa Coimbra
|
Link para o curriculum lattes
|
http://lattes.cnpq.br/
|
Data da defesa
|
28 Mar, 2023
|
Horário da defesa
|
8:00 AM
|