GSA/christopher

View on GitHub
_plugins/TeamTag.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method render has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def render(context)
      team = context.registers[:site].collections["team"].docs
      ordering_values = team.collect { |member| member["ordering"] }.uniq.sort
      grouped_team = ordering_values.collect do |ordering_value|
        team.select { |member| member["ordering"] == ordering_value }
Severity: Minor
Found in _plugins/TeamTag.rb - About 1 hr to fix

There are no issues that match your filters.

Category
Status