And this is what lead to the final diagnosis. Code is analysed by a diagnostic check-list of faults. These are wrong use of data, variables and declaration, computations, operation, operators, flow control, and interfaces.