The current available implementation of jdt2famix does not calculate the metric cyclomatic complexity. In this patch we fix this issue, implementing the algorithm detailed in "Empirical analysis of the relationship between CC and SLOC in a large corpus of Java methods and C functions". D Landman, A Serebrenik, E Bouwers, JJ Vinju. Journal of Software: Evolution and Process 28 (7), 589-618
Coverage increased (+0.2%) to 51.927% when pulling f194aded626d77c5e7c6d6ef7467bb4bac2d9fde on refactoring-towards-language-evolution:cyclomatic-complexity into 5e1e2be40f4f0510b9832f6b2663e156a800c732 on feenkcom:master.
The current available implementation of jdt2famix does not calculate the metric cyclomatic complexity. In this patch we fix this issue, implementing the algorithm detailed in "Empirical analysis of the relationship between CC and SLOC in a large corpus of Java methods and C functions". D Landman, A Serebrenik, E Bouwers, JJ Vinju. Journal of Software: Evolution and Process 28 (7), 589-618