Sha256: 23a803f960fd7e84149f1c8de94c489be8b7e43f52718d41d2cdbe2729d01c4f
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
require 'albacore/support/albacore_helper' module NCover class CyclomaticComplexity include YAMLConfig attr_accessor :maximum, :item_type def initialize(params={}) @maximum = 100 @item_type = :View parse_config(params) unless params.nil? super() end def get_coverage_options options = "CyclomaticComplexity" options << ":#{maximum}" unless maximum.nil? options << ":#{item_type}" unless item_type.nil? options end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.0.9 | lib/albacore/ncoverreports/cyclomaticcomplexity.rb |