An Approach for Code Annotation Validation with Metadata Location Transparency

被引:2
|
作者
de Siqueira, Jose Lazaro, Jr. [1 ]
Silveira, Fabio Fagundes [1 ]
Guerra, Eduardo Martins [2 ]
机构
[1] Fed Univ Sao Paulo UNIFESP, Sao Jose Dos Campos, Brazil
[2] Natl Inst Space Res, Sao Jose Dos Campos, Brazil
关键词
!text type='Java']Java[!/text; Code annotation; Metadata; Validation; Framework;
D O I
10.1007/978-3-319-42089-9_30
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The use of metadata in software development, specially by code annotations, has emerged to complement some limitations of object-oriented programming. A recent study revealed that a lack of validation on the configured metadata can lead to bugs hard to identify and correct. There are approaches to optimize metadata configuration that add the annotation out of the target code element, such as its definition on the enclosing code element or indirectly inside other annotations. Annotation validation rules that rely on the presence of other annotations are specially hard to perform when it is possible to configure it out of the target element. Available approaches for annotation validation in the literature consider their presence only in the target element. This paper presents a validation of code annotations approach in object-oriented software with location transparency, whereas definitions can occur in different parts of source code related to the target element. An evaluation with a meta-framework supports our hypothesis that the approach is capable of decoupling the annotation location from the validation rules.
引用
收藏
页码:422 / 438
页数:17
相关论文
共 50 条
  • [1] An approach to semantic annotation for metadata in relational databases
    Zhang Lei
    Yang Xiaoying
    2008 INTERNATIONAL SYMPOSIUM ON INFORMATION PROCESSING AND 2008 INTERNATIONAL PACIFIC WORKSHOP ON WEB MINING AND WEB-BASED APPLICATION, 2008, : 635 - +
  • [2] Towards a Uniform Code Annotation Approach with Configurable Annotation Granularity
    Juhar, Jan
    Vokorokos, Liberios
    2017 IEEE 14TH INTERNATIONAL SCIENTIFIC CONFERENCE ON INFORMATICS, 2017, : 152 - 157
  • [3] Achieving Transparency:A Metadata Perspective
    Daniel Gillman
    Data Intelligence, 2023, 5 (01) : 261 - 273
  • [4] Achieving Transparency: A Metadata Perspective
    Gillman, Daniel
    DATA INTELLIGENCE, 2023, 5 (01) : 261 - 274
  • [5] Towards a systematic approach to manual annotation of code smells
    Faculty of Technical Sciences, University of Novi Sad, Serbia
    TechRxiv, 1600,
  • [6] Towards a systematic approach to manual annotation of code smells
    Slivka, Jelena
    Luburic, Nikola
    Prokic, Simona
    Grujic, Katarina-Glorija
    Kovacevic, Aleksandar
    Sladic, Goran
    Vidakovic, Dragan
    SCIENCE OF COMPUTER PROGRAMMING, 2023, 230
  • [7] An Automated Architectural Evaluation Approach Based on Metadata and Code Analysis
    Pinto, Felipe
    Kulesza, Uira
    Guerra, Eduardo
    ENTERPRISE INFORMATION SYSTEMS, ICEIS 2013, 2014, 190 : 490 - 505
  • [8] MetaData Retrieval: A Software Prototype for the Annotation of Maps with Social Metadata
    Meo, Rosa
    Roglia, Elena
    Ponassi, Enrico
    MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES, PT III, 2011, 6913 : 642 - 645
  • [9] Instagram Hashtags as Image Annotation Metadata
    Giannoulakis, Stamatios
    Tsapatsoulis, Nicolas
    ARTIFICIAL INTELLIGENCE APPLICATIONS AND INNOVATIONS, 2015, 458 : 206 - 220
  • [10] A new semantic annotation approach for software vulnerability source code
    Zhang C.
    Chen J.
    Zhang L.
    Chen S.
    Zhang Z.
    International Journal of Simulation and Process Modelling, 2021, 16 (01) : 1 - 13