Code Analysis: WP OpenAPI 1.0.22

Most Complex Functions

Function Rating Complexity
WPOpenAPI\Spec\Operation::toArray()
C
23
WPOpenAPI\SchemaGenerator::fixComponentsSchemas()
A
15
WPOpenAPI\Spec\Operation::generateParametersFromRouteArgs()
A
14
WPOpenAPI\Filters\FixWPCoreCollectionEndpoints::__construct()
A
9
WPOpenAPI\Spec\Path::generateOperationsFromRouteArgs()
A
8
WPOpenAPI\Spec\Parameter::toArray()
A
8
WPOpenAPI\CallbackFinder::find()
A
8
WPOpenAPI\SchemaGenerator::generate()
A
6
WPOpenAPI::getNamespace()
S
6
WPOpenAPI\Spec\Operation::addRequestSchemaProperties()
S
3
WPOpenAPI\Spec\Info::toArray()
S
5
WPOpenAPI\Util::normalzieInvalidType()
S
4