For one APEX class there can be multiple test methods. So each test method showing different code coverage using Tooling API.
Is there any way to calculate the code coverage for APEX class including test classes?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
ApexCodeCoverageAggregate object to see the aggregated code coverage for your classes and triggers.