opf/openproject

View on GitHub
app/services/users/replace_mentions_service.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method replacements has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def self.replacements
      [
        { class: WorkPackage, column: :description },
        { class: Journal::WorkPackageJournal, column: :description },
        { class: Document, column: :description },
Severity: Minor
Found in app/services/users/replace_mentions_service.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status