Code Coverage is a way of determining the part of the code which is left out of testing or not tested properly.
Karma uses Istanbul reporter tool to create code coverage reports.
With Karma we can produce the code coverage reports using CLI command:
ng test --code-coverage
Once the CLI command is executed it creates index.html in /coverage folder.