Внедряйте статический анализ в процесс, а не ищите с его помощью баги https://habr.com/ru/post/436868/
Producing Spreadsheet Reports Using Xylophone https://dzone.com/articles/producing-spreadsheet-reports-using-xylophone