SimpleCov allows the use of a token in the source file such as :nocov: which delimits blocks of codes that should not be considered when calculating code coverage. Why I look at the HTML report produced by SimpleCov, lines inside :nocov: blocks are correctly shown as skipped. On Scrutinizer CI, these blocks are displayed in red as not covered.
SimpleCov allows the use of a token in the source file such as
:nocov:which delimits blocks of codes that should not be considered when calculating code coverage. Why I look at the HTML report produced by SimpleCov, lines inside:nocov:blocks are correctly shown as skipped. On Scrutinizer CI, these blocks are displayed in red as not covered.