The invention belongs to the technical field of software testing, and discloses a software fault detection method and system, a storage medium, a computer program, a terminal and a unified fault detection and repair framework model. Fault detection is considered under the fault detection rate, and an imperfect debugging framework model is repaired and introduced; and five forms are set for the obtained two unified imperfect troubleshooting framework models under initial conditions, and then five condition cumulative fault detection functions are obtained respectively. A unified fault detectionmodel is provided, a single differential equation capable of being used for implementing FDR research is established, then a test model covering fault detection, repair and introduction is established, and a differential equation set capable of implementing FDR research is established. Through the performance of the two types of reliability models under FDR support, it is possible to distinguishdifferent FDR performance, and the importance of establishing the reliability model containing rich test information to improve reliability is verified.