## Loc Afp x LOCAFP

Step 4. Evaluate Environmental Factors

Instead of the 14 environmental factors used in function point analysis, feature point uses only two: logic complexity and data complexity. The range is from 1 to 5.

Logic Values

1—Simple algorithms and calculations

2—Majority of simple algorithms

3—Average complexity of algorithms

4—Some difficult algorithms

5—Many difficult algorithms Data Values

1—Simple data

2—Numerous variables, but simple relationships

3—Multiple fields, files, and interactions

4—Complex file structures

5—Very complex files and data relationships

Sum the logic and data complexity factor values, yielding a number between 2 and 10. Step 5. Calculate the Complexity Adjustment Factor

Use Table 10-12 to calculate the complexity adjustment factor.

Step 6. Multiply the Raw Feature Point Count by the Complexity Adjustment Factor

 Table 10-12. Feature Point Com plexity Adjustment Factor Sum of Logic and Data Complexity Complexity Adjustment Factor 2 0.6 3 0.7 4 0.8 5 0.9 6 1.0 7 1.1 8 1.2 9 1.3 10 1.4

Step 7. Convert to Lines of Code Using the Function Point Translation Table (Optional)

 Step 1. Count Feature Points Average Feature Points Number of Inputs 12x4 48 Number of Outputs 15x5 75 Number of Files (Data Structures) 22x7 154 Number of Inquiries 17x4 68 Number of Interfaces 8x7 56 Step 2. Count the Number of Algorithms Average Feature Points Number of Algorithms 43x3 129 Total (FP): 530 "Raw" Feature Points Step 3. Weigh Complexity Step 4. Evaluate Environmental Factors Step 5. Calculate the Complexity Adjustment Factor (CAF) Logic Values (Select One) Simple Algorithms and Calculations—1 Majority of Simple Algorithms—2 Average Complexity of Algorithms—3 ^^^ Some Difficult Algorithms—4 Many Difficult Algorithms—5 Data Values (Select One) Simple Data—1 Numerous Variables, but Simple Relationships—2 ^^^ Multiple Fields, Files, and Interactions—3 Complex File Structures—4 Very Complex Files and Data Relationships—5 Total (CAF): 4 + 3 = 7 Complexity Adjustment Factor

Step 1. Count Feature Points

Average

Feature Points

Step 6. Multiply the Raw Feature Point Count by the CAF