purpose of whitebox testing code example
Example: whitebox testing
Statement Testing = (Number of Statements Exercised / Total Number of Statements) x 100 %
Branch Testing = (Number of decisions outcomes tested / Total Number of decision Outcomes) x 100 %
Path Coverage = (Number paths exercised / Total Number of paths in the program) x 100 %