Do Critical Components Smell Bad? An Empirical Study with Component-based Software Product Lines. Uchôa, A., Assunção, W. K., & Garcia, A. In Proceedings of the 15th Brazilian Symposium on Software Components, Architectures, and Reuse (SBCARS), 2021, Joinville, Brazil, September 27 to October 1, pages 1–10, 2021. Distinguished Paper Award – 2nd Place
Paper doi abstract bibtex 5 downloads Component-based software product line (SPL) consists of a set of software products that share common components. For a proper SPL product composition, each component has to follow three principles: encapsulating a single feature, restricting data access, and be replaceable. However, it is known that developers usually introduce anomalous structures, i.e., code smells, along the implementation of components. These code smells might violate one or more component principles and hinder the SPL product composition. Thus, developers should identify code smells in component-based SPLs, especially those affecting highly interconnected components, which are called critical components. Nevertheless, there is limited evidence of how smelly these critical components tend to be in component-based SPLs. To address this limitation, this paper presents a survey with developers of three SPLs. We inquire these developers about their perceptions of a critical component. Then, we characterize critical components per SPL, and identify nine recurring types of code smells. Finally, we quantitatively assess the smelliness of the critical components. Our results suggest that: (i) critical components are ten times more prone to have code smells than non-critical ones; (ii) the most frequent code smell types affecting critical components violate several component principles together; and (iii) these smell types affect multiple SPL components.
@inproceedings{uchoa2021do,
title={Do Critical Components Smell Bad? An Empirical Study with Component-based Software Product Lines},
author={Anderson Uchôa and Wesley K.G. Assunção and Alessandro Garcia},
booktitle={Proceedings of the 15th Brazilian Symposium on Software Components, Architectures, and Reuse (SBCARS), 2021, Joinville, Brazil, September 27 to October 1},
pages={1--10},
note={<font color="red"> Distinguished Paper Award -- 2nd Place </font>},
year={2021},
abstract={Component-based software product line (SPL) consists of a set of software products that share common components. For a proper SPL product composition, each component has to follow three principles: encapsulating a single feature, restricting data access, and be replaceable. However, it is known that developers usually introduce anomalous structures, i.e., code smells, along the implementation of components. These code smells might violate one or more component principles and hinder the SPL product composition. Thus, developers should identify code smells in component-based SPLs, especially those affecting highly interconnected components, which are called critical components. Nevertheless, there is limited evidence of how smelly these critical components tend to be in component-based SPLs. To address this limitation, this paper presents a survey with developers of three SPLs. We inquire these developers about their perceptions of a critical component. Then, we characterize critical components per SPL, and identify nine recurring types of code smells. Finally, we quantitatively assess the smelliness of the critical components. Our results suggest that: (i) critical components are ten times more prone to have code smells than non-critical ones; (ii) the most frequent code smell types affecting critical components violate several component principles together; and (iii) these smell types affect multiple SPL components.},
url={https://anderson-uchoa.github.io/publications/uchoa2021do.pdf},
doi = {10.1145/3483899.3483907}
}
Downloads: 5
{"_id":"fCXMEoL8ERM4vFJbt","bibbaseid":"ucha-assuno-garcia-docriticalcomponentssmellbadanempiricalstudywithcomponentbasedsoftwareproductlines-2021","author_short":["Uchôa, A.","Assunção, W. K.","Garcia, A."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Do Critical Components Smell Bad? An Empirical Study with Component-based Software Product Lines","author":[{"firstnames":["Anderson"],"propositions":[],"lastnames":["Uchôa"],"suffixes":[]},{"firstnames":["Wesley","K.G."],"propositions":[],"lastnames":["Assunção"],"suffixes":[]},{"firstnames":["Alessandro"],"propositions":[],"lastnames":["Garcia"],"suffixes":[]}],"booktitle":"Proceedings of the 15th Brazilian Symposium on Software Components, Architectures, and Reuse (SBCARS), 2021, Joinville, Brazil, September 27 to October 1","pages":"1–10","note":"<font color=\"red\"> Distinguished Paper Award – 2nd Place </font>","year":"2021","abstract":"Component-based software product line (SPL) consists of a set of software products that share common components. For a proper SPL product composition, each component has to follow three principles: encapsulating a single feature, restricting data access, and be replaceable. However, it is known that developers usually introduce anomalous structures, i.e., code smells, along the implementation of components. These code smells might violate one or more component principles and hinder the SPL product composition. Thus, developers should identify code smells in component-based SPLs, especially those affecting highly interconnected components, which are called critical components. Nevertheless, there is limited evidence of how smelly these critical components tend to be in component-based SPLs. To address this limitation, this paper presents a survey with developers of three SPLs. We inquire these developers about their perceptions of a critical component. Then, we characterize critical components per SPL, and identify nine recurring types of code smells. Finally, we quantitatively assess the smelliness of the critical components. Our results suggest that: (i) critical components are ten times more prone to have code smells than non-critical ones; (ii) the most frequent code smell types affecting critical components violate several component principles together; and (iii) these smell types affect multiple SPL components.","url":"https://anderson-uchoa.github.io/publications/uchoa2021do.pdf","doi":"10.1145/3483899.3483907","bibtex":"@inproceedings{uchoa2021do,\n title={Do Critical Components Smell Bad? An Empirical Study with Component-based Software Product Lines},\n author={Anderson Uchôa and Wesley K.G. Assunção and Alessandro Garcia},\n booktitle={Proceedings of the 15th Brazilian Symposium on Software Components, Architectures, and Reuse (SBCARS), 2021, Joinville, Brazil, September 27 to October 1},\n pages={1--10},\n note={<font color=\"red\"> Distinguished Paper Award -- 2nd Place </font>},\n year={2021},\n abstract={Component-based software product line (SPL) consists of a set of software products that share common components. For a proper SPL product composition, each component has to follow three principles: encapsulating a single feature, restricting data access, and be replaceable. However, it is known that developers usually introduce anomalous structures, i.e., code smells, along the implementation of components. These code smells might violate one or more component principles and hinder the SPL product composition. Thus, developers should identify code smells in component-based SPLs, especially those affecting highly interconnected components, which are called critical components. Nevertheless, there is limited evidence of how smelly these critical components tend to be in component-based SPLs. To address this limitation, this paper presents a survey with developers of three SPLs. We inquire these developers about their perceptions of a critical component. Then, we characterize critical components per SPL, and identify nine recurring types of code smells. Finally, we quantitatively assess the smelliness of the critical components. Our results suggest that: (i) critical components are ten times more prone to have code smells than non-critical ones; (ii) the most frequent code smell types affecting critical components violate several component principles together; and (iii) these smell types affect multiple SPL components.},\n url={https://anderson-uchoa.github.io/publications/uchoa2021do.pdf},\n doi = {10.1145/3483899.3483907}\n}\n\n","author_short":["Uchôa, A.","Assunção, W. K.","Garcia, A."],"key":"uchoa2021do","id":"uchoa2021do","bibbaseid":"ucha-assuno-garcia-docriticalcomponentssmellbadanempiricalstudywithcomponentbasedsoftwareproductlines-2021","role":"author","urls":{"Paper":"https://anderson-uchoa.github.io/publications/uchoa2021do.pdf"},"metadata":{"authorlinks":{}},"downloads":5},"bibtype":"inproceedings","biburl":"https://anderson-uchoa.github.io/publications/UchoaPapers.bib","dataSources":["DrgHbRMTxYfvfLLF5"],"keywords":[],"search_terms":["critical","components","smell","bad","empirical","study","component","based","software","product","lines","uchôa","assunção","garcia"],"title":"Do Critical Components Smell Bad? An Empirical Study with Component-based Software Product Lines","year":2021,"downloads":5}