34 SOF T WARE ENGINEERING AND TESTING
Coding can be subject to company-wide standards that may define the
entire layout of programs, such as headers for comments in every unit,
naming conventions for variables, classes and functions, the maximum
number of lines in each component, and other aspects of standardization.
Structured programming helps the understandability of programs. The
goal of structured programming is to linearize the control flow in the
program. Single entry-single exit constructs should be used. The constructs
include selection (if-then-else) and iteration (while, repeat-unit).
6. Testing. Testing is the major quality-control measure used during software
development. Its basic function is to detect errors in the ...