https://www.mdu.se/

mdu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Thesis for the Degree of Bachelor of Science in Computer Science by Peter Charbachi and Linus Eklund: PAIRWISE TESTING FOR PLC EMBEDDED SOFTWARE
Mälardalen University, School of Innovation, Design and Engineering.
Mälardalen University, School of Innovation, Design and Engineering.
2016 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

In this thesis we investigate the use of pairwise testing for PLC embedded software. We compare these automatically generated tests with tests created manually by industrial engineers. The tests were evaluated in terms of fault detection, code coverage and cost. In addition, we compared pairwise testing with randomly generated tests of the same size as pairwise tests. In order to automatically create test suites for PLC software a previously created tool called Combinatorial Test Tool (CTT) was extended to support pairwise testing using the IPOG algorithm. Once test suites were created using CTT they were executed on real industrial programs. The fault detection was measured using mutation analysis. The results of this thesis showed that manual tests achieved better fault detection (8% better mutation score in average) than tests generated using pairwise testing. Even if pairwise testing performed worse in terms of fault detection than manual testing, it achieved better fault detection in average than random tests of the same size. In addition, manual tests achieved in average 97.29% code coverage compared to 93.95% for pairwise testing, and 84.79% for random testing. By looking closely on all tests, manual testing performed equally good as pairwise in terms of achieved code coverage. Finally, the number of tests for manual testing was lower (12.98 tests in average) compared to pairwise and random testing (21.20 test in average). Interestingly enough, for the majority of the programs pairwise testing resulted in fewer tests than manual testing.

Place, publisher, year, edition, pages
2016. , p. 30
Keywords [en]
pairwise testing, testing, pairwise, plc, t-way, test, test suite, test case
National Category
Embedded Systems Computer Systems
Identifiers
URN: urn:nbn:se:mdh:diva-32054OAI: oai:DiVA.org:mdh-32054DiVA, id: diva2:938297
Subject / course
Computer Science
Supervisors
Examiners
Available from: 2016-06-20 Created: 2016-06-16 Last updated: 2016-06-20Bibliographically approved

Open Access in DiVA

fulltext(1732 kB)473 downloads
File information
File name FULLTEXT01.pdfFile size 1732 kBChecksum SHA-512
539c124e18c4f64cfdfd102d2ce6d2f292171c3e3e424e27e21d93e027ae40f50d588665e96e0c84f3d07f4507b1908cbcff8dae67cd251f36708a71e0373fe5
Type fulltextMimetype application/pdf

By organisation
School of Innovation, Design and Engineering
Embedded SystemsComputer Systems

Search outside of DiVA

GoogleGoogle Scholar
Total: 473 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 608 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf