Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
See the below links for details and Sample,
on pg# 15,
http://www.salesforce.com/us/developer/docs/api_toolingpre/api_tooling.pdf
https://developer.salesforce.com/docs/atlas.en-us.186.0.api_tooling.meta/api_tooling/sforce_api_objects_apexcodecoverage.htm
http://andyinthecloud.com/2013/02/02/spring-cleaning-apex-code-with-the-tooling-api/
Regards,
Ashish