Link to home
Start Free TrialLog in
Avatar of Sathish David  Kumar N
Sathish David Kumar NFlag for India

asked on

what is exits in code review

what is exits in code review ?

I review my code using enerjy . while i review the code its give below image .. what is mean by exits and block ? and its meantion as red why ?
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

You didn't post anything...
Avatar of Sathish David  Kumar N

ASKER

User generated image
think it would be referring to exists from your methods, ie. return statements
Sorry now check ...
Could be System.exit
Sorry i am not getting any point ?
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>>>>>>>>The metric measures the total number of unique methods called by all code in the source file.

What is mean by that ?

In some other package its show green with up arrow . In this package only its show down arrow with red color ?
when you call a method, the method you are in is exitted. It counts those.
the arrow is based on the score, green is good, red is bad
too many exits makes your code too complex
but i have only one return ...
its counting methods calls (they exit your method)
void fn() {
   int y = g();   // <-- this is an exit because the thread leaves the method to call g()
}
i call 2 or 3 method inside a method....

for re useable purpose i use the 2 or method??  is that wrong?
that sounds fine