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.
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.
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.