In recent years, test-based automatic program repair has attracted widespread attention. However, the test suites in practice are not perfect ways to guarantee correctness of patches generated by tools, and weak lead a large number incorrect produced existing tool. To reduce we propose patch quality evaluation method based on syntax distance metrics, which measures through four features—variabl...