Deskcheck
Deskcheck is a manual method used in software development to verify the correctness of an algorithm or piece of code by simulating its execution without running it on a computer. Practitioners read the code, select representative inputs, and trace how data and control flow change as each statement executes. The goal is to catch logical errors, boundary cases, and misunderstandings of the algorithm early in the development process.
Process: create or copy the code onto paper or a whiteboard; annotate initial values for variables; step
Relation to other activities: desk checks are informal, non-automated checks performed before or alongside debugging and
Limitations: human error can be introduced, and desk checks may not scale well to large codebases, concurrent
Examples: a simple function that sums an array can be walked with a sample input, tracking total