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 条
  • [1] Detecting Metadata Bugs on the Fly
    Song, Myoungkyu
    Tilevich, Eli
    2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 1455 - 1456
  • [2] A Spatialization-based Method for Checking and Updating Metadata
    ZHAO Ren-liang1
    JournalofChinaUniversityofMining&Technology, 2005, (03) : 21 - 24
  • [3] Consistency Checking for Military Metadata Model Based on Ontology
    Wang Ya-ning
    Qi Yu-dong
    Cheng Ji-hong
    Yang Bin
    2010 INTERNATIONAL CONFERENCE ON INFORMATION, ELECTRONIC AND COMPUTER SCIENCE, VOLS 1-3, 2010, : 990 - 993
  • [4] Understanding Metadata and Metadata Schemes
    Greenberg, Jane
    CATALOGING & CLASSIFICATION QUARTERLY, 2005, 40 (3-4) : 17 - 36
  • [5] Inferring metadata for a semantic web peer-to-peer environment
    Brase, J
    Painter, M
    EDUCATIONAL TECHNOLOGY & SOCIETY, 2004, 7 (02): : 61 - 67
  • [6] Structural Integrity Checking Based on Logically Independent Fragment of Metadata
    Zhao X.
    Shi Z.
    Liu J.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2020, 57 (09): : 1961 - 1970
  • [7] METADATA AND METADATA SCHEME FOR LEARNING OBJECTS
    Mesic, Alma
    BOSNIACA-JOURNAL OF THE NATIONAL AND UNIVERSITY LIBRARY OF BOSNIA AND HERZEGOVINA, 2018, (23): : 9 - 16
  • [8] Metadata
    Mayernik, Matthew S.
    KNOWLEDGE ORGANIZATION, 2020, 47 (08): : 696 - 713
  • [9] METADATA
    Mayernik, Matthew
    ANALES DE DOCUMENTACION, 2023, 26 (01):
  • [10] Metadata
    Fourie, Ina
    ELECTRONIC LIBRARY, 2010, 28 (05) : 762 - 763