The metric of cyclomatic complexity is a bit difficult to understand for me, so I looked for relevant information, especially the official description of jacoco. In the information I noticed that jcoco expects to calculate the cyclomatic complexity using the following formula:[image: temp_image_20241029133452.png]
But after I looked through the relevant code, I found that the actual implementation was not completely consistent with the description. The code actually ended with +1. Is there something I overlooked here? Or does the document need some modifications?[image: temp_img_20241029133657.png]nt -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/jacoco/a0588161-643e-489a-a96a-0f7679bd72ccn%40googlegroups.com.
