Test Effectiveness = ((Defects removed in a phase) / (Defect injected + Defect escaped)) * 100
Test Efficiency = (Test Defects / (Test Defects + Acceptance Defects)) * 100
Test defects = Unit + Integration + System defects
Acceptance Defects = Bugs found by the customer
Test Coverage: You might have to use some instrumentation insert some hooks in the code (functions/branches) which will give the report of the Test Coverage.
Metrics By definition = # of testable branches tested / total # of branches.