You are required to read and agree to the below before accessing a full-text version of an article in the IDE article repository.

The full-text document you are about to access is subject to national and international copyright laws. In most cases (but not necessarily all) the consequence is that personal use is allowed given that the copyright owner is duly acknowledged and respected. All other use (typically) require an explicit permission (often in writing) by the copyright owner.

For the reports in this repository we specifically note that

  • the use of articles under IEEE copyright is governed by the IEEE copyright policy (available at http://www.ieee.org/web/publications/rights/copyrightpolicy.html)
  • the use of articles under ACM copyright is governed by the ACM copyright policy (available at http://www.acm.org/pubs/copyright_policy/)
  • technical reports and other articles issued by M‰lardalen University is free for personal use. For other use, the explicit consent of the authors is required
  • in other cases, please contact the copyright owner for detailed information

By accepting I agree to acknowledge and respect the rights of the copyright owner of the document I am about to access.

If you are in doubt, feel free to contact webmaster@ide.mdh.se

Automated Test Generation for Structured Text Language using UPPAAL Model Checker

Authors:


Note:

Master Thesis

Publication Type:

Student Thesis


Abstract

In this research we addressed the problem of test case generation for the Structured Text (ST) programming language from the IEC 61131-3 PLC standard. ST is a non-executable programming language with a standardization purpose for the runtime PLC programming languages. Therefore, it needs to be formalized before the test case generation. For that purpose we used UPPAAL model checker because of its analogy with certain elements in ST language and the possibility of deriving test cases for achieving maximum logic coverage. Although UPPAAL model checker is not specifically intended for the purpose of test case generation we overcome this constraint by conducting the transformation defined in this research. In order to achieve maximum logic coverage we use a defined annotation concept for targeted logic elements (clauses and predicates). We also showed how to implement a tool-supported approach suitable for industrial adoption. With that in mind we also conducted test generation results and performance analysis, comparing them with results provided in similar research for IEC 61131-3 FBD programming language. The results in this thesis show performance improvements in terms of generation time and memory consumption when using this novel transformation. With the approach defined in this thesis, test generation for certain type of FBD programs, which are translatable to ST, could be improved in terms of efficiency of generating these tests. Finally, we provided the answer to the question of what is the achievable formalization level from ST to UPPAL model checker.

Bibtex

@mastersthesis{Markovic4777,
author = {Filip Markovic},
title = {Automated Test Generation for Structured Text Language using UPPAAL Model Checker},
note = {Master Thesis},
month = {June},
year = {2015},
url = {http://www.es.mdu.se/publications/4777-}
}