Concolic Test Generation for PLC Programs using Coverage Metrics

被引:0
|
作者
Bohlender, Dimitri [1 ]
Simon, Hendrik [1 ]
Friedrich, Nico [1 ]
Kowalewski, Stefan [1 ]
Hauck-Stattelmann, Stefan [2 ]
机构
[1] Rhein Westfal TH Aachen, Informat Embedded Software 11, Aachen, Germany
[2] ABB Corp Res Germany, Ladenburg, Germany
来源
2016 13TH INTERNATIONAL WORKSHOP ON DISCRETE EVENT SYSTEMS (WODES) | 2016年
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This paper presents a technique for fully automated generation of test cases for PLC programs adhering to the IEC 61131-3 standard. While previous methods strive for completeness and therefore struggle with the state explosion we pursue a symbolic execution based approach, dropping completeness but nevertheless achieving similar or even better results in practice. The core component is a symbolic execution engine which chooses the next state to execute, handles constraints emerging during the execution and derives respective test vectors leading to a state. To make for a high coverage of the generated tests, we adopt techniques from concolic testing, allow for use of heuristics to prioritise promising states but also merge states to alleviate the path explosion. We exploit peculiarities of PLC semantics to determine reasonable merge-points and unlike similar approaches even handle unreachable code. To examine the feasibility of our technique we evaluate it on function blocks used in industry.
引用
收藏
页码:432 / 437
页数:6
相关论文
共 50 条
  • [41] On Use of Coverage Metrics in Assessing Effectiveness of Combinatorial Test Designs
    Czerwonka, Jacek
    IEEE SIXTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2013), 2013, : 257 - 266
  • [42] Well-defined coverage metrics for the glass box test
    Schmidberger, Rainer (rainer.schmidberger@informatik.uni-stuttgart.de), 1600, Springer Verlag (8763):
  • [43] Well-Defined Coverage Metrics for the Glass Box Test
    Schmidberger, Rainer
    TESTING SOFTWARE AND SYSTEMS (ICTSS 2014), 2014, 8763 : 113 - 128
  • [44] Automated test sequence generation using sequencing constraints for concurrent programs
    North Carolina State Univ, Raleigh, United States
    Int Workshop Software Eng Parall Distrib Syst Proc, (97-108):
  • [45] Reggae: Automated Test Generation for Programs using Complex Regular Expressions
    Li, Nuo
    Xie, Tao
    Tillmann, Nikolai
    de Halleux, Jonathan
    Schulte, Wolfram
    2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, : 515 - 519
  • [46] An integration test coverage metric for Java']Java programs
    Mukherjee, Debashis
    Mall, Rajib
    INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2019, 10 (04) : 576 - 601
  • [47] Automated test sequence generation using sequencing constraints for concurrent programs
    Karaçali, B
    Tai, KC
    INTERNATIONAL SYMPOSIUM ON SOFTWARE ENGINEERING FOR PARALLEL AND DISTRIBUTED SYSTEMS, PROCEEDINGS, 1999, : 97 - 108
  • [48] Visualization of PLC programs using XML
    Younis, MB
    Frey, G
    PROCEEDINGS OF THE 2004 AMERICAN CONTROL CONFERENCE, VOLS 1-6, 2004, : 3082 - 3087
  • [49] Test Input Generation for Programs with Pointers
    Vanoverberghe, Dries
    Tillmann, Nikolai
    Piessens, Frank
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2009, 5505 : 277 - +
  • [50] Automated test generation for Scratch programs
    Adina Deiner
    Patric Feldmeier
    Gordon Fraser
    Sebastian Schweikl
    Wengran Wang
    Empirical Software Engineering, 2023, 28