Finally, ensure that your build and continuous integration processes run the static program analysis tools, so that your code won't regress in the future.
Program analysis can be performed without executing the program (static program analysis), during runtime (dynamic program analysis) or in a combination of both.
程序分析可以在不执行程序的情况下进行(静态程序分析),也可在执行时进行(动态程序分析(英语:Dynamic program analysis)),或结合二者。
InfoQ interviewed Spinellis about different approaches for debugging software, how using different compilers or execution platforms can help to debug software, reproducing failures, how find and fix similar faults after solving a failure, why it's better to use a graphical user interface for debugging, how to involve colleagues if you want to find faults in your code, using static program analysis tools of dynamic analysis tools to debug code, and what programmers can do to develop their debugging skills.
Spinellis: Static program analysis tools analyze your program to find many types of problems, from formatting glitches (think of Pylint for Python code) to code constructs that can cause your program to crash or misbehave (Coverity and FindBugs are two well-known tools in this area).
Os exemplos servem apenas como ajuda na tradução da palavra ou da expressão procurada. Eles não são selecionados ou validados por nós e podem conter linguagem inapropriada. Pedimos que reporte exemplos que devem ser modificados ou que não devem ser exibidos. As traduções potencialmente sensivéis, impróprias ou coloquiais geralmente são marcadas em vermelho ou em laranja.