module SimpleCov::Configuration
def maximum_coverage_drop(coverage_drop = nil)
Default is 100% (disabled)
SimpleCov will return non-zero if the coverage decreases by more than this threshold.
Defines the maximum coverage drop at once allowed for the testsuite to pass.
def maximum_coverage_drop(coverage_drop = nil) @maximum_coverage_drop ||= (coverage_drop || 100).to_f.round(2) end