cppfbp icon indicating copy to clipboard operation
cppfbp copied to clipboard

complexity management

Open dataf3l opened this issue 6 years ago • 0 comments

in order to make the program maintainable over time, complexity must be managed. one such measure of complexity, is cyclomatic complexity, it's not the only one, it's not the best, but still, it's a measure:

here are some data for this project: can something be done to reduce (or at least avoid the increase) of complexity in the program?

localhost:cppfbp-master b$ ~/scc
───────────────────────────────────────────────────────────────────────────────
Language                 Files     Lines     Code  Comments   Blanks Complexity
───────────────────────────────────────────────────────────────────────────────
C++                         59      5773     4080       573     1120        624
C Header                    41      4747     2674       990     1083         78
C                           33     18382    13824      1987     2571       2879
Lua                          5        83       42        23       18          9
License                      1       201      151         0       50          0
Module-Definition            1         2        2         0        0          0
gitignore                    1        39       25         6        8          0
Markdown                     1       139       90         0       49          0
MSBuild                      1        30       30         0        0          0
C++ Header                   1         9        5         3        1          0
───────────────────────────────────────────────────────────────────────────────
Total                      144     29405    20923      3582     4900       3590
───────────────────────────────────────────────────────────────────────────────
Estimated Cost to Develop $658,037
Estimated Schedule Effort 13.086574 months
Estimated People Required 5.956336
───────────────────────────────────────────────────────────────────────────────

notice the estimate of 624, this feels a bit high in comparison to other projects.

dataf3l avatar Aug 15 '19 12:08 dataf3l