the Code Tester repository table QU_CODE_COVERAGE_HDR contains overall data of Code Coverage. You’d need to run a SQL select on that table which will gather the statistics you need.
I’ll use an example SQL select where I have one test definition for my package containing 3 tested functions, having several test cases for each of the functions.
As you can see, there is a harness_guid identifier needed for the select statement. You can get your actual identifier when inspecting the Test definition properties in Code Tester Test explorer.
I got three results that are corresponding to the three functions from the package. Depending on your needs, you may sum up the total code coverage using different methods. In my case, when I compute the sum of the three lines_executed, I get 4+7+6=17 lines executed from the 17 lines total. So it looks like 100% coverage. Of course, my package is pretty simple and the tests are created from the Code Tester Run window, ensuring the code is executed, so it is looking nice.
I’m attaching the testing package source code to this answer for you so you can verify my results as well.
PKG_CODE_COVERAGE_SUM.sql (860 Bytes)