andycroll/picturehouse_uk

View on GitHub
lib/picturehouse_uk/internal/title_sanitizer.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method remove has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def remove
        [
          /\s\[(AS LIVE:\s*)?[ACPGU1258]+\]/, # regular certificate
          /\s\[R18\]/,                        # R18
          /\s+\(?[23][dD]\)?/,                # 2d or 3d from title
Severity: Minor
Found in lib/picturehouse_uk/internal/title_sanitizer.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status