Skip Navigation


The Computer Journal Advance Access originally published online on May 3, 2005
The Computer Journal 2005 48(4):421-436; doi:10.1093/comjnl/bxh093
This Article
Right arrow Full Text (PDF)
Right arrow All Versions of this Article:
48/4/421    most recent
bxh093v1
Right arrow Alert me when this article is cited
Right arrow Alert me if a correction is posted
Services
Right arrow Email this article to a friend
Right arrow Similar articles in this journal
Right arrow Similar articles in ISI Web of Science
Right arrow Alert me to new issues of the journal
Right arrow Add to My Personal Archive
Right arrow Download to citation manager
Right arrowRequest Permissions
Google Scholar
Right arrow Articles by Hierons, R. M.
Right arrow Articles by Fox, C. J.
Right arrow Search for Related Content
Social Bookmarking
 Add to CiteULike   Add to Connotea   Add to Del.icio.us  
What's this?

© The Author 2005. Published by Oxford University Press on behalf of The British Computer Society. All rights reserved. For Permissions, please email: journals.permissions@oupjournals.org

Branch-Coverage Testability Transformation for Unstructured Programs

R. M. Hierons1 *, M. Harman2 and C. J. Fox3

1 Department of Information Systems and Computing, Brunel University, Uxbridge, Middlesex UB8 3PH, UK, 2 Department of Computer Science, King's College London, Strand, London WC2R 2LS, UK, 3 Department of Computer Science, University of Essex, Colchester CO4 3SQ, UK

Test data generation by hand is a tedious, expensive and error-prone activity, yet testing is a vital part of the development process. Several techniques have been proposed to automate the generation of test data, but all of these are hindered by the presence of unstructured control flow. This paper addresses the problem using testability transformation. Testability transformation does not preserve the traditional meaning of the program, rather it deals with preserving test-adequate sets of input data. This requires new equivalence relations which, in turn, entail novel proof obligations. The paper illustrates this using the branch coverage adequacy criterion and develops a branch adequacy equivalence relation and a testability transformation for restructuring. It then presents a proof that the transformation preserves branch adequacy.


Received 29 April 2004. revised 24 January 2005.

* Email: rob.hierons{at}brunel.ac.uk


Add to CiteULike CiteULike   Add to Connotea Connotea   Add to Del.icio.us Del.icio.us    What's this?




Disclaimer:
Please note that abstracts for content published before 1996 were created through digital scanning and may therefore not exactly replicate the text of the original print issues. All efforts have been made to ensure accuracy, but the Publisher will not be held responsible for any remaining inaccuracies. If you require any further clarification, please contact our Customer Services Department.