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 条
  • [31] RuleML annotation for automatic collection levels on METS metadata
    Nakabasami, C
    RULES AND RULE MARKUP LANGUAGES FOR THE SEMANTIC WEB, 2003, 2876 : 164 - 171
  • [32] Bioassay protocol metadata annotation: Proposed standards adoption
    Balakrishnan, Rama
    Berg, Ellen L.
    Butler, Christopher C.
    Clark, Alex M.
    Denker, Sheryl P.
    Feierberg, Isabella
    Harris, Jason
    Ikeda, Timothy P.
    Jeschonek, Samantha
    Makarov, Vladimir A.
    Southan, Christopher
    Vanderwall, Dana
    Winstanley, Peter
    SLAS DISCOVERY, 2024, 29 (08)
  • [33] CoaCor: Code Annotation for Code Retrieval with Reinforcement Learning
    Yao, Ziyu
    Peddamail, Jayavardhan Reddy
    Sun, Huan
    WEB CONFERENCE 2019: PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE (WWW 2019), 2019, : 2203 - 2214
  • [34] An image annotation approach using location references to enhance geographic knowledge discovery
    Lee, Chung-Hong
    Yang, Hsin-Chang
    Wang, Shih-Hao
    EXPERT SYSTEMS WITH APPLICATIONS, 2011, 38 (11) : 13792 - 13802
  • [35] GTH and FSA Transparency Code
    Kemkes-Matthes, Bettina
    Tiede, Andreas
    HAMOSTASEOLOGIE, 2017, 37 (03): : 223 - 223
  • [36] Transparency in Messengers - A Metadata Analysis Based on the Example of Telegram
    Schaefer, Karla
    Choi, Jeong-Eun
    34TH ACM CONFERENCE ON HYPERTEXT AND SOCIAL MEDIA, HT 2023, 2023,
  • [37] Empowering Transparency: Annotation for Transparent Inquiry (ATI)
    Kapiszewski, Diana
    Karcher, Sebastian
    PS-POLITICAL SCIENCE & POLITICS, 2021, 54 (03) : 473 - 478
  • [38] A metadata-driven approach to efficiently detect code-reuse attacks on ARM multiprocessors
    Oh, Hyunyoung
    Cho, Yeongpil
    Paek, Yunheung
    JOURNAL OF SUPERCOMPUTING, 2021, 77 (07): : 7287 - 7314
  • [39] An Enhanced Content Distribution Method Using Metadata Annotation in CDN
    Lim, Jung-Eun
    Choi, O-Hoon
    Na, Hong-Seok
    Baik, Doo-Kwon
    ADVANCES IN SOFTWARE ENGINEERING, 2009, 30 : 1 - +
  • [40] A Metadata and Annotation Extractor from PDF Document for Semantic Web
    Shukla, Archana
    PROCEEDINGS OF THE FIRST AMRITA ACM-W CELEBRATION OF WOMEN IN COMPUTING IN INDIA (A2WIC), 2010,