0% found this document useful (0 votes)
5 views3 pages

Video Reflection

Uploaded by

snehabasude123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views3 pages

Video Reflection

Uploaded by

snehabasude123
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Student Name MASURAM UDAY

Student Registration Number AUP23SCMCA067 Class & Section: MCA-B


Study Level : UG/PG PG Year & Term: 2ND YEAR & 1ST TERM
Subject Name Software Testing Methodologies

Name of the Assessment Video Reflection


Date of Submission 11-11-2024

VIDEO REFLECTION
White Box Testing Overview
White box testing, also known as clear, glass, or structural testing,
inspects the code’s structure to validate each function, loop, path, and
condition. Since the tester has knowledge of the code, this approach is
essential for pinpointing specific bugs within code logic, improving
efficiency, and ensuring the software meets quality standards.

What White Box Testing Verifies


White box testing is used to verify:
 Control flow: Ensures program paths and branches behave as
expected.
 Data flow: Checks for proper data handling throughout the code.
 Boundary conditions: Verifies that code behaves as intended at upper
and lower data limits.
 Error handling: Confirms that functions and conditions work
correctly under abnormal conditions or errors.

White Box Testing Techniques and Examples


 Statement Coverage: Ensures each statement is executed at least
once. For example, in a function with several steps, testers would
ensure each line is activated in at least one test.
 Branch Coverage: Tests all branches (like true/false paths in
conditionals). In an if-else statement, for instance, both the true and
false branches are tested.
 Path Coverage: Ensures every possible path in a program is executed,
including loops, conditionals, and other logical structures.
 Condition Coverage: Evaluates each Boolean condition independently
to test different outcomes of each condition.

Advantages of White Box Testing


 Thoroughness: Examines the code at a granular level, often revealing
hidden bugs.
 Optimization: Identifies areas for performance and memory usage
improvements.
 Early Bug Detection: Finds critical issues in the development phase,
minimizing costly fixes later.
 Security Assurance: Helps detect vulnerabilities in code that could be
exploited.

Disadvantages of White Box Testing


 Requires Code Knowledge: Testers must understand the codebase,
making it less accessible for non-developers.
 Time-Intensive: Since it involves in-depth code analysis, it is time-
consuming, particularly for complex systems.
 Costly for Frequent Changes: Code changes require retesting, which
adds up in time and costs.
 Complexity in Large Systems: Testing all possible paths and branches
in complex systems can be challenging.

You might also like