holderdeord/hdo-site

View on GitHub
lib/hdo/stats/vote_counts.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Class VoteCounts has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

    class VoteCounts
      attr_reader :for_count, :against_count, :absent_count

      def initialize(vote)
        @for_count     = vote.for_count     || 0
Severity: Minor
Found in lib/hdo/stats/vote_counts.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status