-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NCC in CCM is not correctly computed #449
Comments
@paulodamaso/z please, pay attention to this issue |
@victornoel Could you please fix the title? It is just related to NCC right? |
@paulodamaso yes sorry, it was |
@victornoel Thank you! |
@0crat in |
@paulodamaso Election failed: performer was not elected (see footprint for details) |
@paulodamaso Election failed: performer was not elected (see footprint for details) |
@paulodamaso Election failed: performer was not elected (see footprint for details) |
@paulodamaso Election failed: performer was not elected (see footprint for details) |
@paulodamaso Election failed: performer was not elected (see footprint for details) |
@victornoel it is actually calculating the number of nodes having an edge. And yes, it is completely erroneous. |
@paulodamaso If I understand correctly, the |
@0crat wait for clarification. |
@vzurauskas Yes, it makes sense, let's use java to make these calculations that need graphs |
@victornoel #477 was merged and |
@vzurauskas thx! |
@vzurauskas/z resigned from #449, since the job is not in scope anymore |
@paulodamaso Zerocrat resigned me, but should have asked for quality review and paid me after that. |
@0crat status |
@0crat in |
@0crat status |
@paulodamaso The ticket is still stuck. |
@paulodamaso ping |
@victornoel 2 puzzles #481, #482 are still not solved. |
@paulodamaso ping |
@0crat quality good |
@paulodamaso There is no quality review for #449, no performer |
@victornoel 2 puzzles #511, #512 are still not solved. |
While investigating #447, I noticed a potential error in the xsl file, but I'm not 100% sure it is an error or not because I'm not very good with xsl.
Actually this error has no impact to solve #447 because the number it find is the correct one even though the calculation is wrong. There was another error somewhere else.
Basically, NCC is meant to be the number of connected components (of the graph where methods are the nodes and are connected according to some criteria). See for example https://www.geeksforgeeks.org/connected-components-in-an-undirected-graph/ to understand how to count them. It is not the number of nodes.
NCC is the xsl is defined like this, and it seems to count the number of nodes:
Furthermore it counts them incorrectly because the name of the method is used and some methods have the same name in some of the test classes...
I will create another issue for that problem because it pertains to other metrics I think.actually it doesn't seem to be the case.The text was updated successfully, but these errors were encountered: