From the course: Migrating COBOL Apps

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Measure code complexity

Measure code complexity - COBOL Tutorial

From the course: Migrating COBOL Apps

Start my 1-month free trial

Measure code complexity

- [Instructor] Measuring the complexity of a legacy application provides a guide to the effort required to migrate it. There are a number of recognized methods for measuring complexity. The approach to measure complexity in the 1980s was Function Point Analysis, which uses the formula FC is four times I plus five times R plus 10 times F plus seven times X plus four times Q. Where I is the number of transaction types. R is the number of reports. F is the number of application-specific files. X is the number of externally used files. And Q is the number of query types. There's also an optional value adjustment factor that sometimes apply to the function point calculation, which adjusts for a number of other factors, such as end user efficiency and processing complexity. There is no intrinsic meaning to the value, but for any given development team, it can be measured and used as a predictor of the time taken to develop or…

Contents