Whitebox Testing of A Restaurant Reservation System Using the Basis Path Technique

Authors

  • Surahmat Surahmat Politeknik Negeri Sriwijaya
  • Fakhri Aryva Politeknik Negeri Sriwijaya
  • Sony Oktapriandi Politeknik Negeri Sriwijaya
  • Ravie Kurnia Laday Politeknik Negeri Sriwijaya
  • Indra Satriadi Politeknik Negeri Sriwijaya

Keywords:

Whitebox, Basis Path, Reservation System, Cyclomatic Complexity

Abstract

Software testing is a crucial phase in the system development process to ensure that features and functions operate according to design specifications. This study aims to test a restaurant reservation system using the white box testing method with the basis path technique. The testing was conducted through the analysis of the Control Flow Graph (CFG), calculation of Cyclomatic Complexity, and identification of independent paths representing various reservation scenarios, ranging from successful bookings to failure conditions such as invalid input, unavailable tables, and incomplete customer data. The test results revealed seven paths derived from the basis path technique applied to the restaurant reservation system, all of which produced outcomes that matched expectations, with every test case passing successfully. This confirms that the system’s logic functions properly and reliably across different user interactions. The application of the basis path technique proved effective in validating the system’s control flow and enhancing reliability prior to deployment. This research contributes to the development of more stable systems and improved user experience

Downloads

Published

2025-08-05