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 条
  • [21] Semantics-based API discovery, matching and composition with linked metadata
    Serrano, Diego
    Stroulia, Eleni
    SERVICE ORIENTED COMPUTING AND APPLICATIONS, 2020, 14 (04) : 283 - 296
  • [22] The Fluid Software Metadata Framework (FSM)
    Feiner, Johannes
    EICS 2010: PROCEEDINGS OF THE 2010 ACM SIGCHI SYMPOSIUM ON ENGINEERING INTERACTIVE COMPUTING SYSTEMS, 2010, : 333 - 336
  • [23] A Framework for the Evaluation of Automatic Metadata Enrichments
    Stiller, Juliane
    Olensky, Marlies
    Petras, Vivien
    METADATA AND SEMANTICS RESEARCH, MTSR 2014, 2014, 478 : 238 - 249
  • [24] Authors vs. Readers - A Comparative Study of Document Metadata and Content in the WWW
    Noll, Michael G.
    Meinel, Christoph
    DOCENG'07: PROCEEDINGS OF THE 2007 ACM SYMPOSIUM ON DOCUMENT ENGINEERING, 2007, : 177 - 186
  • [25] Metadata for Data dIscoverability aNd Study rEplicability in obseRVAtional Studies (MINERVA): Development and Pilot of a Metadata List and Catalogue in Europe
    Pajouheshnia, Romin
    Gini, Rosa
    Gutierrez, Lia
    Swertz, Morris A.
    Hyde, Eleanor
    Sturkenboom, Miriam
    Arana, Alejandro
    Franzoni, Carla
    Ehrenstein, Vera
    Roberto, Giuseppe
    Gil, Miguel
    Macia, Miguel Angel
    Schaefer, Wiebke
    Haug, Ulrike
    Thurin, Nicolas H.
    Lassalle, Regis
    Droz-Perroteau, Cecile
    Zaccagnino, Silvia
    Busto, Maria Paula
    Middelkoop, Bas
    Gembert, Karin
    Sanchez-Saez, Francisco
    Rodriguez-Bernal, Clara
    Sanfelix-Gimeno, Gabriel
    Hurtado, Isabel
    Barreiro-de Acosta, Manuel
    Poblador-Plou, Beatriz
    Carmona-Pirez, Jonas
    Gimeno-Miguel, Antonio
    Prados-Torres, Alexandra
    Schultze, Anna
    Jansen, Ella
    Herings, Ron
    Kuiper, Josine
    Locatelli, Igor
    Jazbar, Janja
    Zerovnik, Spela
    Kos, Mitja
    Smit, Steven
    Lind, Sirje
    Metspalu, Andres
    Simou, Stefania
    Hedenmalm, Karin
    Cochino, Ana
    Alcini, Paolo
    Kurz, Xavier
    Perez-Gutthann, Susana
    PHARMACOEPIDEMIOLOGY AND DRUG SAFETY, 2024, 33 (08)
  • [26] A Comparative Study of UI Testing Framework
    Pelivani, Elis
    Besimi, Adrian
    Cico, Betim
    2022 11TH MEDITERRANEAN CONFERENCE ON EMBEDDED COMPUTING (MECO), 2022, : 184 - 188
  • [27] Comparative Study of Smart City Framework
    Tabloul, Nassima
    Addou, El Houcine
    Kodad, Mohcine
    ADVANCES IN SMART MEDICAL, IOT & ARTIFICIAL INTELLIGENCE, VOL 1, ICSMAI 2024, 2024, 11 : 317 - 325
  • [28] Metadata Development for Ethnophytomedicine Resources Using Metadata Analysis Approach
    Noprisson, Handrie
    Sensuse, Dana Indra
    Sucahyoa, Yudho Giri
    Lukman
    PROCEEDINGS OF 2016 8TH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY AND ELECTRICAL ENGINEERING (ICITEE), 2016,
  • [29] Defining health data elements under the HL7 development framework for metadata management
    Yang, Zhe
    Jiang, Kun
    Lou, Miaomiao
    Gong, Yang
    Zhang, Lili
    Liu, Jing
    Bao, Xinyu
    Liu, Danhong
    Yang, Peng
    JOURNAL OF BIOMEDICAL SEMANTICS, 2022, 13 (01)
  • [30] Defining health data elements under the HL7 development framework for metadata management
    Zhe Yang
    Kun Jiang
    Miaomiao Lou
    Yang Gong
    Lili Zhang
    Jing Liu
    Xinyu Bao
    Danhong Liu
    Peng Yang
    Journal of Biomedical Semantics, 13