Software bug: Difference between revisions

Content deleted Content added
review: thin unsourced
Tag: Reverted
m Reverted edit by Kvng (talk) to last version by OAbot
Line 149:
=== Static analysis ===
 
Tools for [[static code analysis]] help developers by inspecting the program text beyond the compiler's capabilities to spot potential problems. Although in general the problem of finding all programming errors given a specification is not solvable (see [[halting problem]]), these tools exploit the fact that human programmers tend to make certain kinds of simple mistakes when writing software.<!--[[User:Kvng/RTH]]-->
 
=== Instrumentation ===
 
Tools to monitor the performance of the software as it is running, either specifically to find problems such as [[Bottleneck (engineering)|bottlenecks]] or to give assurance as to correct working, may be embedded in the code explicitly (perhaps as simple as a statement saying <code>PRINT "I AM HERE"</code>), or provided as tools.<!--[[User:Kvng/RTH]]--> It is often a surprise to find where most of the time is taken by a piece of code, and this removal of assumptions might cause the code to be rewritten.
 
=== Open source ===