Metadata Invariants: Checking and Inferring Metadata Coding Conventions

被引:0
|
作者
Song, Myoungkyu [1 ]
Tilevich, Eli [1 ]
机构
[1] Virginia Tech, Dept Comp Sci, Blacksburg, VA 24061 USA
来源
2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE) | 2012年
关键词
software maintenance; bug finding; refactoring; enhancement; frameworks; domain-specific languages; metadata; invariants; VALIDATION;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
As the prevailing programming model of enterprise applications is becoming more declarative, programmers are spending an increasing amount of their time and efforts writing and maintaining metadata, such as XML or annotations. Although metadata is a cornerstone of modern software, automatic bug finding tools cannot ensure that metadata maintains its correctness during refactoring and enhancement. To address this shortcoming, this paper presents metadata invariants, a new abstraction that codifies various naming and typing relationships between metadata and the main source code of a program. We reify this abstraction as a domain-specific language. We also introduce algorithms to infer likely metadata invariants and to apply them to check metadata correctness in the presence of program evolution. We demonstrate how metadata invariant checking can help ensure that metadata remains consistent and correct during program evolution; it finds metadata-related inconsistencies and recommends how they should be corrected. Similar to static bug finding tools, a metadata invariant checker identifies metadata-related bugs as a program is being refactored and enhanced. Because metadata is omnipresent in modern software applications, our approach can help ensure the overall consistency and correctness of software as it evolves.
引用
收藏
页码:694 / 704
页数:11
相关论文
共 50 条
  • [41] Metadata Quality for Biobanks
    Shekhovtsov, Volodymyr A.
    Eder, Johann
    APPLIED SCIENCES-BASEL, 2022, 12 (19):
  • [42] Where is the value in metadata?
    Lytras, Miltiadis D.
    Sicilia, Miguel-Angel
    International Journal of Metadata, Semantics and Ontologies, 2007, 2 (04) : 235 - 241
  • [43] The Machinic Temporality of Metadata
    Celis, Claudio
    TRIPLEC-COMMUNICATION CAPITALISM & CRITIQUE, 2015, 13 (01): : 101 - 111
  • [44] Metadata, Metaphor, and Metonymy
    Campbell, D.
    CATALOGING & CLASSIFICATION QUARTERLY, 2005, 40 (3-4) : 57 - 73
  • [45] Localisation Standards and Metadata
    Anastasiou, Dimitra
    Vazquez, Lucia Morado
    METADATA AND SEMANTIC RESEARCH, 2010, 108 : 255 - 274
  • [46] Metadata Requirements for Portals
    Benson, Tim
    DIGITAL HEALTHCARE EMPOWERING EUROPEANS, 2015, 210 : 577 - 581
  • [47] The Metadata Model for Directgov
    Lippell, Helen
    Jordan, Peter
    LEGAL INFORMATION MANAGEMENT, 2010, 10 (01) : 7 - 9
  • [48] Metadata and reference linking
    Blake, ME
    Knudson, FL
    LIBRARY COLLECTIONS ACQUISITIONS & TECHNICAL SERVICES, 2002, 26 (03) : 219 - 230
  • [49] Localizing Failures with Metadata
    N. A. Grusho
    A. A. Grusho
    E. E. Timonina
    Automatic Control and Computer Sciences, 2020, 54 : 988 - 992
  • [50] Reflection on Metadata Construction-Taking Beijing Hutong Metadata Project as an Example
    Chang, Ziyi
    Zhang, Lan
    Luo, Wenliang
    Zhang, Meng
    Sun, Fengjiao
    Yao, Shengnan
    2018 3RD DIGITAL HERITAGE INTERNATIONAL CONGRESS (DIGITALHERITAGE) HELD JOINTLY WITH 2018 24TH INTERNATIONAL CONFERENCE ON VIRTUAL SYSTEMS & MULTIMEDIA (VSMM 2018), 2018, : 330 - 332