Software Error Detection through Testing and Analysis / Edition 1

Hardcover (Print)
Buy New
Buy New from BN.com
$85.16
Used and New from Other Sellers
Used and New from Other Sellers
from $74.88
Usually ships in 1-2 business days
(Save 26%)
Other sellers (Hardcover)
  • All (11) from $74.88   
  • New (7) from $74.87   
  • Used (4) from $85.15   

Overview

An In-Depth Review of Key Techniques in Software Error Detection

Software error detection is one of the most challenging problems in software engineering. Now, you can learn how to make the most of software testing by selecting test cases to maximize the probability of revealing latent errors. Software Error Detection through Testing and Analysis begins with a thorough discussion of test-case selection and a review of the concepts, notations, and principles used in the book. Next, it covers:

Code-based test-case selection methods

Specification-based test-case selection methods

Additional advanced topics in testing

Analysis of symbolic trace

Static analysis

Program instrumentation

Each chapter begins with a clear introduction and ends with exercises for readers to test their understanding of the material. Plus, appendices provide a logico-mathematical background, glossary, and questions for self-assessment. Assuming a basic background in software quality assurance and an ability to write nontrivial programs, the book is free of programming languages and paradigms used to construct the program under test.

Software Error Detection through Testing and Analysis is suitable as a professional reference for software testing specialists, software engineers, software developers, and software programmers. It is also appropriate as a textbook for software engineering, software testing, and software quality assurance courses at the advanced undergraduate and graduate levels.

Read More Show Less

Product Details

  • ISBN-13: 9780470404447
  • Publisher: Wiley
  • Publication date: 5/26/2009
  • Edition number: 1
  • Pages: 259
  • Product dimensions: 6.30 (w) x 9.30 (h) x 0.70 (d)

Table of Contents

Preface ix

1 Concepts, Notation, and Principles 1

1.1 Concepts, Terminology, and Notation 4

1.2 Two Principles of Test-Case Selection 8

1.3 Classification of Faults 10

1.4 Classification of Test-Case Selection Methods 11

1.5 The Cost of Program Testing 12

2 Code-Based Test-Case Selection Methods 14

2.1 Path Testing 16

2.2 Statement Testing 17

2.3 Branch Testing 21

2.4 Howden's and McCabe's Methods 23

2.5 Data-Flow Testing 26

2.6 Domain-Strategy Testing 36

2.7 Program Mutation and Fault Seeding 39

2.8 Discussion 46

Exercises 51

3 Specification-Based Test-Case Selection Methods 53

3.1 Subfunction Testing 55

3.2 Predicate Testing 68

3.3 Boundary-Value Analysis 70

3.4 Error Guessing 71

3.5 Discussion 72

Exercises 73

4 Software Testing Roundup 76

4.1 Ideal Test Sets 77

4.2 Operational Testing 80

4.3 Integration Testing 82

4.4 Testing Object-Oriented Programs 84

4.5 Regression Testing 88

4.6 Criteria for Stopping a Test 88

4.7 Choosing a Test-Case Selection Criterion 90

Exercises 93

5 Analysis of Symbolic Traces 94

5.1 Symbolic Trace and Program Graph 94

5.2 The Concept of a State Constraint 96

5.3 Rules for Moving and Simplifying Constraints 99

5.4 Rules for Moving and Simplifying Statements 110

5.5 Discussion 114

5.6 Supporting Software Tool 126

Exercises 131

6 Static Analysis 132

6.1 Data-Flow Anomaly Detection 134

6.2 Symbolic Evaluation (Execution) 137

6.3 Program Slicing 141

6.4 Code Inspection 146

6.5 Proving Programs Correct 152

Exercises 161

7 Program Instrumentation 163

7.1 Test-Coverage Measurement 164

7.2 Test-Case Effectiveness Assessment 165

7.3 Instrumenting Programs forAssertion Checking 166

7.4 Instrumenting Programs for Data-Flow-Anomaly Detection 169

7.5 Instrumenting Programs for Trace-Subprogram Generation 181

Exercises 192

Appendix A Logico-Mathematical Background 194

Appendix B Glossary 213

Appendix C Questions for Self-Assessment 220

Bibliography 237

Index 253

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)