andycroll/picturehouse_uk

View on GitHub

Showing 1 of 1 total issue

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
    Severity
    Category
    Status
    Source
    Language