wikimedia/mediawiki-extensions-Wikibase

View on GitHub
repo/includes/Rdf/RdfVocabulary.php

Summary

Maintainability
C
7 hrs
Test Coverage

Method __construct has 103 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct(
        array $conceptUris,
        array $dataUris,
        EntitySourceDefinitions $entitySourceDefinitions,
        array $rdfTurtleNodePrefixes,
Severity: Major
Found in repo/includes/Rdf/RdfVocabulary.php - About 4 hrs to fix

    File RdfVocabulary.php has 275 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    namespace Wikibase\Repo\Rdf;
    
    use DataValues\DataValue;
    Severity: Minor
    Found in repo/includes/Rdf/RdfVocabulary.php - About 2 hrs to fix

      Method __construct has 9 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              array $conceptUris,
              array $dataUris,
              EntitySourceDefinitions $entitySourceDefinitions,
              array $rdfTurtleNodePrefixes,
              array $rdfTurtlePredicatePrefixes,
      Severity: Major
      Found in repo/includes/Rdf/RdfVocabulary.php - About 1 hr to fix

        There are no issues that match your filters.

        Category
        Status