Repository navigation
Cognitive complexity metric for Java - #850
Conversation
e4845c0 to
ca0cf88
Compare
|
@dburriss any plans to finish this? |
|
Hi @marco-c |
49ce25c to
1b3821c
Compare
|
Hello @dburriss, thank you for your hard work! I think that if you insert test methods inside a class, you would get the correct average value. Something like this: class X {
public static void print(boolean a, boolean b, boolean c, boolean d){ // +1
if (a && !(b && c)) { // +3 (+1 &&, +1 &&)
printf(\"test\");
}
}
} |
|
Hi @Luni-4 |
It worked! |
438bc74 to
9ef21cf
Compare
|
@Luni-4 thanks for the review. I have made the requested improvements. |
Luni-4
left a comment
There was a problem hiding this comment.
Ok, last change and we are ready to merge in!
|
@marco-c the task expired before a worker was made available for the checks. Should I push another commit to trigger or is there an issue (and trying again could make it worse). |
|
I retriggered it manually and it passed. |
Last metric for #359
Tests and API have changed a fair bit since I started work on this so tracking some additional tasks: