Code inspection

This page in 2003
Top  Previous  Next

The majority of spreadsheet auditors perform a code inspection: they examine a spreadsheet's formulas, one at a time.

Steps in the process where OAK may be useful are

1Summarize workbook will prepare a table providing the main statistics of the workbook: number of worksheets, distinct formulas and so on.  This is valuable in estimating how much effort will be involved in reviewing the spreadsheet.
2Summarize workbook will also prepare a list of all the distinct formulas in the workbook, which can be divided up among the team members who are going to perform the inspection.
3Code inspectors often like to map the workbook, to give a high level view of how formulas have been copied across the worksheet.
4Build names database will provide a listing of any names that are defined in the workbook.  Many people who perform a code inspection feel the need to check the definition of every one of these names.  Alternatively, OAK can get rid of the names, leaving a coordinate-only version of the model to be checked.
5Summarize workbook will deliver a list of all the values that serve as inputs to the model.  These are candidates for checking one by one against any model data book or other description that has been provided of the model's assumptions.
6Compare workbooks/worksheets, to understand how a new version of the model, which needs to be checked, differs from an older version that has been checked already