wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/includes/Diff/ClaimDifferenceVisualizer.php

Summary

Maintainability
B
4 hrs
Test Coverage

Method visualizeClaimChange has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function visualizeClaimChange(
        ClaimDifference $claimDifference,
        Statement $baseStatement,
        array $path = []
    ) {
Severity: Minor
Found in repo/includes/Diff/ClaimDifferenceVisualizer.php - About 1 hr to fix

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

        private function visualizeReferenceChanges(
            $headerPrefix,
            Diff $changes,
            Snak $oldestMainSnak,
            Snak $newestMainSnak
    Severity: Minor
    Found in repo/includes/Diff/ClaimDifferenceVisualizer.php - About 1 hr to fix

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

          private function visualizeQualifierChanges(
              $headerPrefix,
              Diff $changes,
              Snak $oldestMainSnak,
              Snak $newestMainSnak
      Severity: Minor
      Found in repo/includes/Diff/ClaimDifferenceVisualizer.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status