Components of Code Coverage

The different components of Code Coverage are -

  • Statement - Percentile coverage of all the statements executed in the app atleast once.
  • Branch - Percentile coverage of all the branching control statements.
  • Function - Percentile coverage of all the functions being invoked atleast once.
  • Line - Percentile coverage of all the lines in the app which has been executed atleast once.
Code Coverage generated with different componentsCode Coverage generated with different components

The ideal Freshworks Marketplace app should have a coverage meeting 80% in all the components .