Automated Construction of Reasonable Environment for Java']Java Components

被引:0
作者
Parizek, Pavel [1 ]
Adamek, Jiri [1 ]
Kalibera, Tomas [1 ]
机构
[1] Charles Univ Prague, Dept Software Engn, Distributed Syst Res Grp, Prague, Czech Republic
关键词
Software components; model checking; environment modeling; state explosion; concurrency errors; software metric;
D O I
10.1016/j.entcs.2009.09.033
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In software component verification, one of the challenges is model checking of isolated components. The environment of an isolated component is unknown, and therefore a part of an input to a model checker is missing. This problem can be addressed via automated generation of an artificial environment-component and its environment form a complete program that can be verified using common model checkers. Focusing on concurrency errors in Java components, we propose to automatically generate a reasonable artificial environment that makes efficient detection of concurrency errors with Java PathFinder possible. Such an environment executes in parallel those component's methods that interact via concurrency constructs of Java and thus likely contain concurrency errors. We employ static code analysis to identify sets of methods to be executed in parallel and a metric to order the sets according to the degree of interaction. Benefits of the technique are illustrated on results of experiments performed on real-life Java components.
引用
收藏
页码:145 / 160
页数:16
相关论文
共 22 条
  • [1] ASM, JAV BYT COD MAN FRAM
  • [2] Bradbury J., 2006, P 2 WORKSH MUT AN MU
  • [3] Modular verification of software components in C
    Chaki, S
    Clarke, EM
    Groce, A
    Jha, S
    Veith, H
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2004, 30 (06) : 388 - 402
  • [4] Clarke EM., 2001, MODEL CHECKING
  • [5] Cobleigh J. M., 2003, P 9 INT C TOOLS C TO, V2619
  • [6] Giannakopoulou D., 2004, P 26 ICSE IEEE CS
  • [7] GIANNAKOPOULOU D, 2002, P 17 IEEE INT C AUT
  • [8] Groce A., 2002, P 9 INT SPIN WORKSH, V2318
  • [9] Hughes G., P SOFTMC 2005 ENTCS, V144
  • [10] Mathews M. E., 1995, P 13 PNSQC