influxdb/influxdb-php

View on GitHub
src/InfluxDB/Client.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method fromDSN has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function fromDSN($dsn, $timeout = 0, $verifySSL = false, $connectTimeout = 0)
    {
        $connParams = parse_url($dsn);

        if ($connParams === false) {
Severity: Minor
Found in src/InfluxDB/Client.php - About 1 hr to fix

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

            $host,
            $port = 8086,
            $username = '',
            $password = '',
            $ssl = false,
    Severity: Major
    Found in src/InfluxDB/Client.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status