Automatic Dimension Inference and Checking for Object-Oriented Programs

被引:16
|
作者
Hangal, Sudheendra [1 ]
Lam, Monica S. [1 ]
机构
[1] Stanford Univ, Dept Comp Sci, Stanford, CA 94305 USA
关键词
D O I
10.1109/ICSE.2009.5070517
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper introduces UniFi, a tool that attempts to automatically detect dimension errors in Java programs. UniFi infers dimensional relationships across primitive type and string variables in a program, using an inter-procedural, context-sensitive analysis. It then monitors these dimensional relationships as the program evolves, flagging inconsistencies that may be errors. UniFi requires no programmer annotations, and supports arbitrary program-specific dimensions, thus providing fine-grained dimensional consistency checking. UniFi exploits features of object-oriented languages, but can be used for other languages as well. We have run UniFi on real-life Java code and found that it is useful in exposing dimension errors. We present a case study of using UniFi on nightly builds of a 19,000 line code base as it evolved over 10 months.
引用
收藏
页码:155 / 165
页数:11
相关论文
共 50 条
  • [31] On regression testing of object-oriented programs
    Kung, DC
    Gao, J
    Hsia, P
    Toyoshima, Y
    Chen, C
    JOURNAL OF SYSTEMS AND SOFTWARE, 1996, 32 (01) : 21 - 40
  • [32] Visualizing object-oriented programs with Jinsight
    De Pauw, W
    Vlissides, J
    OBJECT-ORIENTED TECHNOLOGY: ECOOP'98 WORKSHOP READER, 1998, 1543 : 541 - 542
  • [33] MAINTENANCE SUPPORT FOR OBJECT-ORIENTED PROGRAMS
    WILDE, N
    HUITT, R
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1992, 18 (12) : 1038 - 1044
  • [34] Generation of distributed object-oriented programs
    Launay, P
    Pazat, JL
    PARALLEL COMPUTING: FUNDAMENTALS, APPLICATIONS AND NEW DIRECTIONS, 1998, 12 : 649 - 654
  • [35] A Refinement Methodology for Object-Oriented Programs
    Tafat, Asma
    Boulme, Sylvain
    Marche, Claude
    FORMAL VERIFICATION OF OBJECT-ORIENTED SOFTWARE, 2011, 6528 : 153 - +
  • [36] A FRAMEWORK FOR TESTING OBJECT-ORIENTED PROGRAMS
    SMITH, MD
    ROBSON, DJ
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1992, 5 (03): : 45 - 53
  • [37] SUPPORT FOR MAINTAINING OBJECT-ORIENTED PROGRAMS
    LEJTER, M
    MEYERS, S
    REISS, SP
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1992, 18 (12) : 1045 - 1052
  • [38] A testing assistant for object-oriented programs
    Alkadi, IS
    Carver, DL
    1998 IEEE AEROSPACE CONFERENCE PROCEEDINGS, VOL 4, 1998, : 149 - 158
  • [39] Infeasible paths in object-oriented programs
    Tip, Frank
    SCIENCE OF COMPUTER PROGRAMMING, 2015, 97 : 91 - 97
  • [40] Automatic detection and demonstrator generation for information flow leaks in object-oriented programs
    Quoc Huy Do
    Bubel, Richard
    Haehnle, Reiner
    COMPUTERS & SECURITY, 2017, 67 : 335 - 349