A Metadata Handling API for Framework Development: a Comparative Study

被引:3
|
作者
Guerra, Eduardo [1 ]
Lima, Phyllipe [2 ]
Choma, Joelma [3 ]
Nardes, Marco [3 ]
Silva, Tiago [4 ]
Lanza, Michele [5 ]
Meirelles, Paulo [6 ]
机构
[1] Free Univ Bozen Bolzano, Fac Comp Sci, Bolzano, Italy
[2] Natl Inst Telecommun INATEL, Santa Rita Do Sapucai, Brazil
[3] Natl Inst Space Res INPE, Sao Jose Dos Campos, Brazil
[4] Univ Fed Sao Paulo, Dept Comp Sci, Sao Jose Dos Campos, Brazil
[5] Univ Lugano, Fac Informat, Lugano, Switzerland
[6] Univ Fed Sao Paulo, Sao Paulo Sch Med, Sao Paulo, Brazil
来源
34TH BRAZILIAN SYMPOSIUM ON SOFTWARE ENGINEERING, SBES 2020 | 2020年
基金
巴西圣保罗研究基金会;
关键词
Framework; Metadata; Meta-Framework; Annotations; Code Metrics; Exploratory Experiment; !text type='Java']Java[!/text; METRICS SUITE;
D O I
10.1145/3422392.3422428
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Frameworks play an essential role in software development, providing not only code reuse, but also design reuse. Several Java frameworks and APIs such as Spring, JPA, and CDI rely on the use of metadata, mainly defined by code annotations. These frameworks usually use the Java Reflection API to consume code annotations, which only returns the annotations in a given code element. This strategy, however, is far from the needs of a real framework. The goal of this paper is to propose a novel API, named Esfinge Metadata, to assist in the development of frameworks based on metadata and applications based on custom annotations. Being based on annotations itself, this new API uses them to map metadata to class members. We carried out an experiment to evaluate our API and its impact on aspects such as code structure, complexity, and coupling, while also performing a comparison with the direct use of the Java Reflection API. The participants implemented a metadata-based framework based on realistic requirements in a sequence of 10 tasks that took an average of nine hours. As a result, participants that used our API maintained a more stable code evolution, regarding complexity and coupling as opposed to participants using the Java Reflection API, where the code metrics evolution and structure vary greatly.
引用
收藏
页码:499 / 508
页数:10
相关论文
共 50 条
  • [1] Comparative Study of Metadata Standards and Metadata Repositories
    Pahuja, Gunjan
    2ND INTERNATIONAL CONFERENCE ON METHODS AND MODELS IN SCIENCE AND TECHNOLOGY (ICM2ST-11), 2011, 1414
  • [2] Metadata in SDN API for WSN
    Sneps-Sneppe, Manfred
    Namiot, Dmitry
    2015 7TH INTERNATIONAL CONFERENCE ON NEW TECHNOLOGIES, MOBILITY AND SECURITY (NTMS), 2015,
  • [3] Metadata and network API aspects of a framework for storing and retrieving civil infrastructure monitoring data
    Wong, JM
    Stojadinovic, B
    Smart Structures and Materials 2005: Sensors and Smart Structures Technologies for Civil, Mechanical, and Aerospace, Pts 1 and 2, 2005, 5765 : 948 - 959
  • [4] The analysis of Metadata application framework
    Liu Xiaoming
    Li Jin
    Bao Guangyu
    ICCSE'2006: PROCEEDINGS OF THE FIRST INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE & EDUCATION: ADVANCED COMPUTER TECHNOLOGY, NEW EDUCATION, 2006, : 616 - 619
  • [5] Metadata handling: A video perspective
    Madhwacharyula, Chitra L.
    Davis, Marc
    Clips-Imag, Philippe Mulhem
    Kankanhalli, Mohan S.
    ACM TRANSACTIONS ON MULTIMEDIA COMPUTING COMMUNICATIONS AND APPLICATIONS, 2006, 2 (04) : 358 - 388
  • [6] Plaster: An Integration, Benchmark, and Development Framework for Metadata Normalization Methods
    Koh, Jason
    Hong, Dezhi
    Gupta, Rajesh
    Whitehouse, Kamin
    Wang, Hongning
    Agarwal, Yuvraj
    BUILDSYS'18: PROCEEDINGS OF THE 5TH CONFERENCE ON SYSTEMS FOR BUILT ENVIRONMENTS, 2018, : 1 - 10
  • [7] Pidgin Metadata Framework as a Mediator for Metadata Interoperability
    Lee, Seungmin
    LIBRI-INTERNATIONAL JOURNAL OF LIBRARIES AND INFORMATION STUDIES, 2021, 71 (04): : 375 - 387
  • [8] Study on framework of GIS-based model metadata
    Xie Gangsheng
    Xie Jianwen
    Yu Hailong
    GEOINFORMATICS 2008 AND JOINT CONFERENCE ON GIS AND BUILT ENVIRONMENT: ADVANCED SPATIAL DATA MODELS AND ANALYSES, PARTS 1 AND 2, 2009, 7146
  • [9] Anomaly Detection in Key-Management Activities Using Metadata: A Case Study and Framework
    Baee, Mir Ali Rezazadeh
    Simpson, Leonie
    Armstrong, Warren
    IEEE OPEN JOURNAL OF THE COMPUTER SOCIETY, 2024, 5 : 315 - 328
  • [10] Development and implementation of automatic metadata generation framework for SDI using OSS: a case study of Indian NSDI
    Sonam Agrawal
    Ashutosh Kumar Tripathi
    Rajan Dev Gupta
    Arabian Journal of Geosciences, 2022, 15 (5)