Sha256: 2558d3b0d182002c4150f2f53afe15485f931fa3d3825f01486207ca6c00753f

Contents?: true

Size: 993 Bytes

Versions: 6

Compression:

Stored size: 993 Bytes

Contents

# A calculated magnitude based on number of assignments,
# branches, and conditions.
Metrics/AbcSize:
  Enabled: true
  Max: 54.28

# This cop checks if the length of a block exceeds some maximum value.
Metrics/BlockLength:
  Enabled: false

# Avoid excessive block nesting.
Metrics/BlockNesting:
  Enabled: true
  Max: 4

# Avoid classes longer than 100 lines of code.
Metrics/ClassLength:
  Enabled: false

# A complexity metric that is strongly correlated to the number
# of test cases needed to validate a method.
Metrics/CyclomaticComplexity:
  Enabled: true
  Max: 13

# Avoid methods longer than 10 lines of code.
Metrics/MethodLength:
  Enabled: false

# Avoid modules longer than 100 lines of code.
Metrics/ModuleLength:
  Enabled: false

# Avoid parameter lists longer than three or four parameters.
Metrics/ParameterLists:
  Enabled: true
  Max: 8

# A complexity metric geared towards measuring complexity for a human reader.
Metrics/PerceivedComplexity:
  Enabled: true
  Max: 14

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
rubocop-digitalhospital-0.2.0 rubocop-metrics.yml
gitlab-styles-4.3.0 rubocop-metrics.yml
rubocop-digitalhospital-0.1.0 rubocop-metrics.yml
gitlab-styles-4.2.0 rubocop-metrics.yml
gitlab-styles-4.1.0 rubocop-metrics.yml
gitlab-styles-4.0.0 rubocop-metrics.yml