Files Complexity Coverage
src/ClientDirectives/ClientDirective.php 6 88.24%
src/Console/CacheCommand.php 1 100.00%
src/Console/ClearCacheCommand.php 1 0.00%
src/Console/DirectiveCommand.php 26 3.13%
src/Console/FieldGeneratorCommand.php 3 28.57%
src/Console/IdeHelperCommand.php 19 96.97%
src/Console/InterfaceCommand.php 2 0.00%
src/Console/LighthouseGeneratorCommand.php 10 67.86%
src/Console/MutationCommand.php 1 0.00%
src/Console/PrintSchemaCommand.php 5 89.47%
src/Console/QueryCommand.php 1 0.00%
src/Console/ScalarCommand.php 2 0.00%
src/Console/SubscriptionCommand.php 2 0.00%
src/Console/UnionCommand.php 2 0.00%
src/Console/ValidateSchemaCommand.php 3 100.00%
src/Console/ValidatorCommand.php 2 0.00%
src/Defer/Defer.php 29 97.50%
src/Defer/DeferServiceProvider.php 2 100.00%
src/Defer/DeferrableDirective.php 17 92.50%
src/Events/BuildSchemaString.php 1 100.00%
src/Events/ManipulateAST.php 1 100.00%
src/Events/ManipulateResult.php 1 100.00%
src/Events/StartExecution.php 1 100.00%
src/Events/StartRequest.php 1 100.00%
src/Exceptions/AuthenticationException.php 3 100.00%
src/Exceptions/AuthorizationException.php 2 100.00%
src/Exceptions/DefinitionException.php 2 100.00%
src/Exceptions/DirectiveException.php 2 0.00%
src/Exceptions/GenericException.php 2 0.00%
src/Exceptions/ParseException.php 2 0.00%
src/Exceptions/ValidationException.php 4 100.00%
src/Execution/Arguments/ArgPartitioner.php 22 98.31%
src/Execution/Arguments/Argument.php 5 100.00%
src/Execution/Arguments/ArgumentSet.php 24 100.00%
src/Execution/Arguments/ArgumentSetFactory.php 16 98.04%
src/Execution/Arguments/ArgumentTypeNodeConverter.php 3 100.00%
src/Execution/Arguments/ListType.php 1 100.00%
src/Execution/Arguments/NamedType.php 1 100.00%
src/Execution/Arguments/NestedBelongsTo.php 11 100.00%
src/Execution/Arguments/NestedManyToMany.php 11 100.00%
src/Execution/Arguments/NestedMorphTo.php 3 100.00%
src/Execution/Arguments/NestedOneToMany.php 10 100.00%
src/Execution/Arguments/NestedOneToOne.php 6 100.00%
src/Execution/Arguments/ResolveNested.php 4 100.00%
src/Execution/Arguments/SaveModel.php 10 100.00%
src/Execution/Arguments/UpdateModel.php 3 100.00%
src/Execution/Arguments/UpsertModel.php 4 100.00%
src/Execution/ContextFactory.php 1 100.00%
src/Execution/DataLoader/BatchLoader.php 7 56.52%
src/Execution/DataLoader/BatchLoaderRegistry.php 4 100.00%
src/Execution/DataLoader/PaginatedRelationLoader.php 17 95.77%
src/Execution/DataLoader/RelationBatchLoader.php 6 100.00%
src/Execution/DataLoader/RelationCountLoader.php 8 96.30%
src/Execution/DataLoader/SimpleRelationLoader.php 3 100.00%
src/Execution/ErrorPool.php 4 62.50%
src/Execution/ExtensionErrorHandler.php 5 92.31%
src/Execution/ExtensionsResponse.php 3 100.00%
src/Execution/ReportingErrorHandler.php 7 90.91%
src/Execution/Resolved.php 2 100.00%
src/Execution/SingleResponse.php 1 100.00%
src/Execution/Utils/ModelKey.php 1 100.00%
src/Execution/Utils/Subscription.php 6 75.00%
src/Execution/ValidationRulesProvider.php 3 100.00%
src/GlobalId/GlobalId.php 4 100.00%
src/GlobalId/GlobalIdDirective.php 8 80.00%
src/GlobalId/GlobalIdServiceProvider.php 8 100.00%
src/GlobalId/NodeRegistry.php 6 100.00%
src/GraphQL.php 20 98.70%
src/LighthouseServiceProvider.php 9 68.89%
src/OrderBy/OrderByDirective.php 6 100.00%
src/OrderBy/OrderByServiceProvider.php 2 100.00%
src/Pagination/ConnectionField.php 8 100.00%
src/Pagination/Cursor.php 3 83.33%
src/Pagination/PaginateDirective.php 10 100.00%
src/Pagination/PaginationArgs.php 13 96.55%
src/Pagination/PaginationManipulator.php 24 95.89%
src/Pagination/PaginationServiceProvider.php 3 100.00%
src/Pagination/PaginationType.php 7 87.50%
src/Pagination/PaginatorField.php 2 100.00%
src/Schema/AST/ASTBuilder.php 36 95.65%
src/Schema/AST/ASTHelper.php 45 94.59%
src/Schema/AST/DocumentAST.php 10 94.29%
src/Schema/AST/TypeNodeConverter.php 5 94.44%
src/Schema/Context.php 3 100.00%
src/Schema/DirectiveLocator.php 28 95.06%
src/Schema/Directives/AllDirective.php 2 100.00%
src/Schema/Directives/ArgTraversalDirective.php 6 100.00%
src/Schema/Directives/AuthDirective.php 4 100.00%
src/Schema/Directives/BaseDirective.php 21 94.03%
src/Schema/Directives/BelongsToDirective.php 1 100.00%
src/Schema/Directives/BelongsToManyDirective.php 1 100.00%
src/Schema/Directives/BroadcastDirective.php 2 100.00%
src/Schema/Directives/BuilderDirective.php 2 100.00%
src/Schema/Directives/CacheDirective.php 17 93.88%
src/Schema/Directives/CacheKeyDirective.php 1 100.00%
src/Schema/Directives/CanDirective.php 17 100.00%
src/Schema/Directives/ComplexityDirective.php 3 100.00%
src/Schema/Directives/CountDirective.php 6 100.00%
src/Schema/Directives/CreateDirective.php 3 100.00%
src/Schema/Directives/DeleteDirective.php 11 100.00%
src/Schema/Directives/DeprecatedDirective.php 1 100.00%
src/Schema/Directives/EnumDirective.php 2 100.00%
src/Schema/Directives/EqDirective.php 2 100.00%
src/Schema/Directives/EventDirective.php 3 100.00%
src/Schema/Directives/FieldDirective.php 2 100.00%
src/Schema/Directives/FindDirective.php 4 100.00%
src/Schema/Directives/FirstDirective.php 3 100.00%
src/Schema/Directives/GuardDirective.php 10 84.62%
src/Schema/Directives/HasManyDirective.php 1 100.00%
src/Schema/Directives/HasOneDirective.php 1 100.00%
src/Schema/Directives/HashDirective.php 3 100.00%
src/Schema/Directives/InDirective.php 2 100.00%
src/Schema/Directives/InjectDirective.php 4 77.78%
src/Schema/Directives/InterfaceDirective.php 1 100.00%
src/Schema/Directives/LazyLoadDirective.php 2 25.00%
src/Schema/Directives/LimitDirective.php 12 83.33%
src/Schema/Directives/MethodDirective.php 3 100.00%
src/Schema/Directives/ModelDirective.php 1 100.00%
src/Schema/Directives/ModifyModelExistenceDirective.php 15 80.49%
src/Schema/Directives/MorphManyDirective.php 1 100.00%
src/Schema/Directives/MorphOneDirective.php 1 100.00%
src/Schema/Directives/MorphToDirective.php 1 100.00%
src/Schema/Directives/MorphToManyDirective.php 1 100.00%
src/Schema/Directives/MutationExecutorDirective.php 6 100.00%
src/Schema/Directives/NamespaceDirective.php 8 80.00%
src/Schema/Directives/NeqDirective.php 2 100.00%
src/Schema/Directives/NestDirective.php 2 100.00%
src/Schema/Directives/NodeDirective.php 7 100.00%
src/Schema/Directives/NotInDirective.php 2 100.00%
src/Schema/Directives/RelationDirective.php 21 91.38%
src/Schema/Directives/RenameArgsDirective.php 2 100.00%
src/Schema/Directives/RenameDirective.php 4 100.00%
src/Schema/Directives/SanitizeDirective.php 3 100.00%
src/Schema/Directives/ScalarDirective.php 1 100.00%
src/Schema/Directives/ScopeDirective.php 3 100.00%
src/Schema/Directives/SearchDirective.php 3 100.00%
src/Schema/Directives/SpreadDirective.php 2 100.00%
src/Schema/Directives/SubscriptionDirective.php 1 100.00%
src/Schema/Directives/TransformArgsDirective.php 3 100.00%
src/Schema/Directives/TrimDirective.php 8 100.00%
src/Schema/Directives/UnionDirective.php 1 100.00%
src/Schema/Directives/UpdateDirective.php 3 100.00%
src/Schema/Directives/UpsertDirective.php 3 100.00%
src/Schema/Directives/WhereAuthDirective.php 3 100.00%
src/Schema/Directives/WhereBetweenDirective.php 2 100.00%
src/Schema/Directives/WhereDirective.php 2 100.00%
src/Schema/Directives/WhereJsonContainsDirective.php 2 100.00%
src/Schema/Directives/WhereNotBetweenDirective.php 2 100.00%
src/Schema/Directives/WithCountDirective.php 4 100.00%
src/Schema/Directives/WithDirective.php 3 100.00%
src/Schema/Directives/WithRelationDirective.php 4 100.00%
src/Schema/ExecutableTypeNodeConverter.php 4 100.00%
src/Schema/Factories/ArgumentFactory.php 4 100.00%
src/Schema/Factories/DirectiveFactory.php 5 100.00%
src/Schema/Factories/FieldFactory.php 3 100.00%
src/Schema/FallbackTypeNodeConverter.php 6 100.00%
src/Schema/ResolverProvider.php 6 100.00%
src/Schema/RootType.php 1 100.00%
src/Schema/SchemaBuilder.php 5 100.00%
src/Schema/Source/SchemaStitcher.php 7 100.00%
src/Schema/TypeRegistry.php 47 94.84%
src/Schema/Types/GraphQLSubscription.php 4 100.00%
src/Schema/Types/LaravelEnumType.php 5 82.35%
src/Schema/Types/NotFoundSubscription.php 3 0.00%
src/Schema/Types/Scalars/Date.php 2 100.00%
src/Schema/Types/Scalars/DateScalar.php 10 100.00%
src/Schema/Types/Scalars/DateTime.php 2 100.00%
src/Schema/Types/Scalars/DateTimeTz.php 2 100.00%
src/Schema/Types/Scalars/DateTimeUtc.php 2 100.00%
src/Schema/Types/Scalars/Upload.php 4 100.00%
src/Schema/Values/CacheValue.php 14 98.11%
src/Schema/Values/FieldValue.php 23 95.83%
src/Schema/Values/TypeValue.php 6 100.00%
src/SoftDeletes/ForceDeleteDirective.php 4 100.00%
src/SoftDeletes/RestoreDirective.php 4 100.00%
src/SoftDeletes/SoftDeletesDirective.php 2 100.00%
src/SoftDeletes/SoftDeletesServiceProvider.php 3 100.00%
src/SoftDeletes/TrashedDirective.php 6 83.33%
src/Subscriptions/Authorizer.php 10 70.37%
src/Subscriptions/BroadcastManager.php 7 94.74%
src/Subscriptions/BroadcastSubscriptionJob.php 2 0.00%
src/Subscriptions/Broadcasters/EchoBroadcaster.php 5 80.00%
src/Subscriptions/Broadcasters/LogBroadcaster.php 8 30.00%
src/Subscriptions/Broadcasters/PusherBroadcaster.php 7 12.00%
src/Subscriptions/Events/EchoSubscriptionEvent.php 3 100.00%
src/Subscriptions/ExceptionHandler.php 2 0.00%
src/Subscriptions/Iterators/AuthenticatingSyncIterator.php 5 94.74%
src/Subscriptions/Iterators/SyncIterator.php 3 85.71%
src/Subscriptions/Serializer.php 3 100.00%
src/Subscriptions/Storage/CacheStorageManager.php 21 92.59%
src/Subscriptions/Storage/RedisStorageManager.php 23 96.67%
src/Subscriptions/Subscriber.php 6 92.50%
src/Subscriptions/SubscriptionBroadcaster.php 5 86.21%
src/Subscriptions/SubscriptionGuard.php 4 33.33%
src/Subscriptions/SubscriptionRegistry.php 9 95.12%
src/Subscriptions/SubscriptionResolverProvider.php 6 82.76%
src/Subscriptions/SubscriptionRouter.php 2 37.50%
src/Subscriptions/SubscriptionServiceProvider.php 6 100.00%
src/Support/AppVersion.php 6 91.67%
src/Support/Compatibility/LaravelMiddlewareAdapter.php 3 0.00%
src/Support/Compatibility/LumenMiddlewareAdapter.php 3 0.00%
src/Support/DriverManager.php 16 91.43%
src/Support/Http/Controllers/GraphQLController.php 1 100.00%
src/Support/Http/Controllers/SubscriptionController.php 2 50.00%
src/Support/Http/Middleware/AcceptJson.php 1 100.00%
src/Support/Http/Middleware/AttemptAuthentication.php 6 100.00%
src/Support/Http/Middleware/LogGraphQLQueries.php 2 100.00%
src/Support/Http/Responses/MemoryStream.php 3 100.00%
src/Support/Http/Responses/ResponseStream.php 14 0.00%
src/Support/Http/Responses/Stream.php 3 100.00%
src/Support/Http/routes.php 0 91.67%
src/Support/Traits/GeneratesColumnsEnum.php 8 100.00%
src/Support/Traits/HasArgumentValue.php 2 60.00%
src/Support/Utils.php 13 75.86%
src/Testing/MakesGraphQLRequests.php 18 95.65%
src/Testing/MakesGraphQLRequestsLumen.php 18 0.00%
src/Testing/MockDirective.php 3 100.00%
src/Testing/MockResolver.php 1 0.00%
src/Testing/MocksResolvers.php 4 100.00%
src/Testing/TestResponseMixin.php 5 100.00%
src/Testing/TestResponseUtils.php 2 100.00%
src/Testing/TestSchemaProvider.php 2 100.00%
src/Testing/TestingServiceProvider.php 4 80.00%
src/Testing/UsesTestSchema.php 2 83.33%
src/Tracing/Tracing.php 10 97.30%
src/Tracing/TracingDirective.php 3 86.67%
src/Tracing/TracingServiceProvider.php 2 100.00%
src/Validation/BaseRulesDirective.php 28 98.31%
src/Validation/RulesDirective.php 1 100.00%
src/Validation/RulesForArrayDirective.php 3 100.00%
src/Validation/RulesGatherer.php 22 98.33%
src/Validation/ValidateDirective.php 4 100.00%
src/Validation/ValidationServiceProvider.php 1 100.00%
src/Validation/Validator.php 4 54.55%
src/Validation/ValidatorDirective.php 15 95.35%
src/WhereConditions/SQLOperator.php 11 100.00%
src/WhereConditions/WhereConditionsBaseDirective.php 26 100.00%
src/WhereConditions/WhereConditionsDirective.php 4 75.00%
src/WhereConditions/WhereConditionsServiceProvider.php 4 100.00%
src/WhereConditions/WhereHasConditionsDirective.php 6 88.89%
src/lighthouse.php 0 100.00%
Project Totals (241 files) 1515 89.10%
Loading