chamilo/chamilo-lms

View on GitHub
public/plugin/zoom/lib/API/JWTClient.php

Summary

Maintainability
A
0 mins
Test Coverage

The method send() has an NPath complexity of 288. The configured NPath complexity threshold is 200.
Open

    public function send($httpMethod, $relativePath, $parameters = [], $requestBody = null)
    {
        $options = [
            CURLOPT_CUSTOMREQUEST => $httpMethod,
            CURLOPT_ENCODING => '',

NPathComplexity

Since: 0.1

The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.

Example

class Foo {
    function bar() {
        // lots of complicated code
    }
}

Source https://phpmd.org/rules/codesize.html#npathcomplexity

There are no issues that match your filters.

Category
Status