Code Coverage Issue in FDK version 9.1.2

We’ve been trying to increase the code coverage for a public app but we’ve been facing issues with that. Even if a specific line of code or a function was executed, the code coverage file is not reflected properly. The coverage file is showing as that particular line of code or function is not executed. (Please find the attachment below)

From the screenshot, Even though the function is called multiple times in the code, the functionality has been executing but the code for that function is not covered.

From the screenshot, we can able to observe that even the require statements are getting covered for some files in our app code.

We are currently using the FDK version is 9.1.2. Could you please help us on this issue?

Hi Team,

On addition to my previous post, when we try to do the code coverage in the FDK version 9.2.0, the previously covered code is now not being covered, and the overall percentage starts decreasing.

FYI

From the screenshot, we can see that there are 0/0 branches available for this file. But as per the code, there are three try catch blocks which should be considered as branches.

These issues blocks us on proceeding with the code coverage for the public app submission.

Can you please help us on resolving this issue?

Regards,
Gowtham

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.