web/lib/admin/MapGoogle.php

Summary

Maintainability
C
1 day
Test Coverage

Method htmlHeadCode has 222 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function htmlHeadCode() {
        $cat = new \core\CAT();
        \core\common\Entity::intoThePotatoes();
        $retval = "<script type='text/javascript' src='https://maps.googleapis.com/maps/api/js?key=" . \config\Master::APPEARANCE['google_maps_api_key'] . "'></script>
    <script type='text/javascript'>
Severity: Major
Found in web/lib/admin/MapGoogle.php - About 1 day to fix

    File MapGoogle.php has 259 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /*
     * *****************************************************************************
     * Contributions to this work were made on behalf of the GÉANT project, a 
     * project that has received funding from the European Union’s Framework 
    Severity: Minor
    Found in web/lib/admin/MapGoogle.php - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status