Sha256: 856c9a802cd57e13fd64b619e423266f1bd2bf76fd90d363057a75e9244c9d1b

Contents?: true

Size: 242 Bytes

Versions: 5

Compression:

Stored size: 242 Bytes

Contents

def executing_code_complexity
  "executing 'flog -a -c -g -m .'"
end

def code_complexity_output
  `cd spec/fixtures/ && flog -a -c -g -m ./#{@filename}`
    .split("\n")
    .reject { |line| line.match(/total|average/) }
    .join("\n")
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
warder-0.1.6 features/step_definitions/detects_code_complexity_steps.rb
warder-0.1.5 features/step_definitions/detects_code_complexity_steps.rb
warder-0.1.4 features/step_definitions/detects_code_complexity_steps.rb
warder-0.1.3 features/step_definitions/detects_code_complexity_steps.rb
warder-0.1.2 features/step_definitions/detects_code_complexity_steps.rb