WikiEducationFoundation/WikiEduDashboard

View on GitHub
lib/wikidata_summary_parser.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Class WikidataSummaryParser has 30 methods (exceeds 20 allowed). Consider refactoring.
Open

class WikidataSummaryParser
  REVISION_CLASSIFICATIONS = {
    'claims created' => :created_claim?,
    'claims changed' => :changed_claim?,
    'claims removed' => :removed_claim?,
Severity: Minor
Found in lib/wikidata_summary_parser.rb - About 3 hrs to fix

    Method unknown? has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def unknown?
        !created_claim? &&
          !changed_claim? &&
          !removed_claim? &&
          !added_alias? &&
    Severity: Minor
    Found in lib/wikidata_summary_parser.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status