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 条
  • [31] Metadata services on the Grid
    Santos, N
    Koblitz, B
    NUCLEAR INSTRUMENTS & METHODS IN PHYSICS RESEARCH SECTION A-ACCELERATORS SPECTROMETERS DETECTORS AND ASSOCIATED EQUIPMENT, 2006, 559 (01) : 53 - 56
  • [32] The AMGA Metadata Service
    Koblitz, B.
    Santos, N.
    Pose, V.
    JOURNAL OF GRID COMPUTING, 2008, 6 (01) : 61 - 76
  • [33] Metadata for Energy Disaggregation
    Kelly, Jack
    Knottenbelt, William
    2014 38TH ANNUAL IEEE INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE WORKSHOPS (COMPSACW 2014), 2014, : 578 - 583
  • [34] Description of Geoinformation with Metadata
    Cetl, Vlado
    Roic, Miodrag
    GEODETSKI LIST, 2005, 59 (02) : 149 - 161
  • [35] Universal Metadata Definition
    Rehman, Mohib ur
    Anwer, Mohamrnad Haseeb
    Iftikhar, Nadeem
    PROCEEDINGS OF WORLD ACADEMY OF SCIENCE, ENGINEERING AND TECHNOLOGY, VOL 5, 2005, 5 : 144 - 146
  • [36] The AMGA Metadata Service
    B. Koblitz
    N. Santos
    V. Pose
    Journal of Grid Computing, 2008, 6 : 61 - 76
  • [37] Educational metadata in use
    Wantz, LJ
    Miller, M
    COMPUTER NETWORKS AND ISDN SYSTEMS, 1998, 30 (1-7): : 701 - 703
  • [38] Localizing Failures with Metadata
    Grusho, N. A.
    Grusho, A. A.
    Timonina, E. E.
    AUTOMATIC CONTROL AND COMPUTER SCIENCES, 2020, 54 (08) : 988 - 992
  • [39] Universal Metadata Standard
    Poleev, A. V.
    SCIENTIFIC AND TECHNICAL INFORMATION PROCESSING, 2011, 38 (02) : 119 - 122
  • [40] AlouetteCanada Metadata Toolkit
    Jordan, Mark
    PROCEEDINGS OF THE 7TH ACM/IEE JOINT CONFERENCE ON DIGITAL LIBRARIES: BUILDING & SUSTAINING THE DIGITAL ENVIRONMENT, 2007, : 482 - 482