Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 980 Bytes

File metadata and controls

22 lines (14 loc) · 980 Bytes

Solution 01: GoF Approach

Solution 02: Using Callable Classes

Solution 03: Closures

Solution 04: Partial Evaluation

Solution 05: Method passing

Comparison Table

Problem Solution 01 Solution 02 Solution 03 Solution 04
Total Cyclomatic Complexity 53 63 63 52 49
Average Cyclomatic Complexity 2.65 1.75 1.75 1.68 1.75
Average Maintainability Index 83.98 86.62 86.62 89.85 89.83
LOC 212 243 243 221 213
LLOC 164 178 178 160 155
SLOC 151 170 170 152 147