White box testing is the type of testing in which testing is carried out based on the knowledge of the internal architecture of the application. In white-box testing, the tester analyzes the quality of source code on different parameters like code optimization, code coverage, code reusability etc.