Assessing fine-grained feature dependencies

被引:10
|
作者
Rodrigues, Iran [1 ]
Ribeiro, Marcio [1 ]
Medeiros, Flavio [3 ]
Borba, Paulo [2 ]
Fonseca, Baldoino [1 ]
Gheyi, Rohit [3 ]
机构
[1] Univ Fed Alagoas, Maceio, Brazil
[2] Univ Fed Pernambuco, Recife, PE, Brazil
[3] Univ Fed Campina Grande, Campina Grande, Brazil
关键词
Preprocessor; Software family; Feature dependency;
D O I
10.1016/j.infsof.2016.05.006
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: Maintaining software families is not a trivial task. Developers commonly introduce bugs when they do not consider existing dependencies among features. When such implementations share program elements, such as variables and functions, inadvertently using these elements may result in bugs. In this context, previous work focuses only on the occurrence of intraprocedural dependencies, that is, when features share program elements within a function. But at the same time, we still lack studies investigating dependencies that transcend the boundaries of a function, since these cases might cause bugs as well. Objective: This work assesses to what extent feature dependencies exist in actual software families, answering research questions regarding the occurrence of intraprocedural, global, and interprocedural dependencies and their characteristics. Method: We perform an empirical study covering 40 software families of different domains and sizes. We use a variability-aware parser to analyze families source code while retaining all variability information. Results: Intraprocedural and interprocedural feature dependencies are common in the families we analyze: more than half of functions with preprocessor directives have intraprocedural dependencies, while over a quarter of all functions have interprocedural dependencies. The median depth of interprocedural dependencies is 9. Conclusion: Given these dependencies are rather common, there is a need for tools and techniques to raise developers awareness in order to minimize or avoid problems when maintaining code in the presence of such dependencies. Problems regarding interprocedural dependencies with high depths might be harder to detect and fix. (C) 2016 Elsevier B.V. All rights reserved.
引用
收藏
页码:27 / 52
页数:26
相关论文
共 50 条
  • [31] Fine-Grained Classification via Hierarchical Feature Covariance Attention Module
    Jung, Yerim
    Syazwany, Nur Suriza
    Kim, Sujeong
    Lee, Sang-Chul
    [J]. IEEE ACCESS, 2023, 11 : 35670 - 35679
  • [32] Learning Feature Embedding with Strong Neural Activations for Fine-Grained Retrieval
    Shen, Chen
    Zhou, Chang
    Jin, Zhongming
    Chu, Wenqing
    Jiang, Rongxin
    Chen, Yaowu
    Hua, Xian-Sheng
    [J]. PROCEEDINGS OF THE THEMATIC WORKSHOPS OF ACM MULTIMEDIA 2017 (THEMATIC WORKSHOPS'17), 2017, : 424 - 432
  • [33] Fine-grained facial landmark detection exploiting intermediate feature representations
    Yan, Yongzhe
    Duffner, Stefan
    Phutane, Priyanka
    Berthelier, Anthony
    Naturel, Xavier
    Blanc, Christophe
    Garcia, Christophe
    Chateau, Thierry
    [J]. COMPUTER VISION AND IMAGE UNDERSTANDING, 2020, 200
  • [34] Effective Breast Cancer Recognition Based on Fine-Grained Feature Selection
    Li, Guangli
    Yuan, Tian
    Li, Chuanxiu
    Zhuo, Jianwu
    Jiang, Ziliang
    Wu, Jinpeng
    Ji, Donghong
    Zhang, Hongbin
    [J]. IEEE ACCESS, 2020, 8 : 227538 - 227555
  • [35] LEARNING DEEP AND SPARSE FEATURE REPRESENTATION FOR FINE-GRAINED OBJECT RECOGNITION
    Srinivas, M.
    Lin, Yen-Yu
    Liao, Hong-Yuan Mark
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON MULTIMEDIA AND EXPO (ICME), 2017, : 1458 - 1463
  • [36] Fine-grained image classification with factorized deep user click feature
    Tan, Min
    Zhou, Jian
    Peng, Zhiyou
    Yu, Jun
    Tang, Fang
    [J]. INFORMATION PROCESSING & MANAGEMENT, 2020, 57 (03)
  • [37] Fine-Grained Image Classification Based on Target Acquisition and Feature Fusion
    Chu, Yan
    Wang, Zhengkui
    Wang, Lina
    Zhao, Qingchao
    Shan, Wen
    [J]. KNOWLEDGE SCIENCE, ENGINEERING AND MANAGEMENT, PT III, 2021, 12817 : 209 - 221
  • [38] DeepFirearm: Learning Discriminative Feature Representation for Fine-grained Firearm Retrieval
    Hao, Jiedong
    Dong, Jing
    Wang, Wei
    Tan, Tieniu
    [J]. 2018 24TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2018, : 3335 - 3340
  • [39] Scene Uyghur Text Detection Based on Fine-Grained Feature Representation
    Wang, Yiwen
    Mamat, Hornisa
    Xu, Xuebin
    Aysa, Alimjan
    Ubul, Kurban
    [J]. SENSORS, 2022, 22 (12)
  • [40] Edge Feature Enhancement for Fine-Grained Segmentation of Remote Sensing Images
    Chen, Zhenxiang
    Xu, Tingfa
    Pan, Yongzhuo
    Shen, Ning
    Chen, Huan
    Li, Jianan
    [J]. IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING, 2024, 62