In Controller Tester, there are cases that function call coverage is 100% but function coverage is not 100%. This difference occurs because there are difference in measurement of function call coverage and function coverage. In the case of function coverage, Controller Tester measures whether the function was actually called during the test. Function call coverage is measured whether the code block(a node in the control flow graph) that calls the function is executed.

ex) if ( a()==1 || b()==1 )

If you have the above code, there are cases that function call coverage and function coverage are not consistent. If a()==1 is true, skip without calling b(). At this time, since a() and b() are the same code block, the function call coverage is displayed as 2/2, but since only a() was actually called, the function coverage is displayed as 1/2.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.