Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PHPUnit] Fix some false bad code coverage #465

Merged
merged 1 commit into from
Jan 10, 2023

Conversation

rbayet
Copy link
Collaborator

@rbayet rbayet commented Jan 10, 2023

No description provided.

@github-actions github-actions bot added the backend PR targets backend application label Jan 10, 2023
@rbayet rbayet requested a review from romainruaud January 10, 2023 06:10
@rbayet rbayet requested a review from PierreGauthier January 10, 2023 06:10
@rbayet rbayet marked this pull request as ready for review January 10, 2023 06:12
@github-actions
Copy link

github-actions bot commented Jan 10, 2023

Coverage report for commit: 896ac91
File: api/coverage/coverage.xml

Summary - Lines: 88.59% 🔼 | Methods: 85.97% 🔼
FilesLinesMethodsBranchs
/api/src/Elasticsuite/Premium
   .php-cs-fixer.dist.php---
/api/src/Elasticsuite/Premium/VirtualCategory/src/Decoration/Entity/GraphQl/Type/Definition/Filter
   CategoryTypeDefaultFilterInputType.php83.33%50.00%-
/api/src/Elasticsuite/Premium/VirtualCategory/src/Decoration/Repository/CategoryProductPositionIndexer
   CategoryProductPositionIndexerRepository.php100.00%100.00%-
/api/src/Elasticsuite/Premium/VirtualCategory/src/DependencyInjection
   ElasticsuiteVirtualCategoryExtension.php---
/api/src/Elasticsuite/Premium/VirtualCategory/src/Elasticsearch/Request/Aggregation/ConfigResolver
   CategoryAggregationConfigResolver.php100.00%100.00%-
/api/src/Elasticsuite/Premium/VirtualCategory/src
   ElasticsuiteVirtualCategoryBundle.php---
/api/src/Elasticsuite/Premium/VirtualCategory/src/Service
   CategoryQueryProvider.php100.00%100.00%-
/api/src/Elasticsuite/Standard
   .php-cs-fixer.dist.php---
/api/src/Elasticsuite/Standard/src/Analysis/Service
   Config.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Bundle/DataProvider
   ExtraBundleDataProvider.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Cache/Command
   ClearAllCommand.php---
   ClearTagsCommand.php---
   CreateCacheObjectCommand.php---
/api/src/Elasticsuite/Standard/src/Cache/EventSubscriber
   AddProxyCacheTagsSubscriber.php87.50%66.67%-
   ResponseSubscriber.php83.33%50.00%-
/api/src/Elasticsuite/Standard/src/Cache/Service
   CacheManager.php43.48%16.67%-
   ProxyCacheManager.php93.33%66.67%-
/api/src/Elasticsuite/Standard/src/Catalog/DataPersister
   LocalizedCatalogDataPersister.php95.00%80.00%-
/api/src/Elasticsuite/Standard/src/Catalog/Exception
   NoCatalogException.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Catalog/Model
   Catalog.php55.56%77.78%-
   LocalizedCatalog.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Catalog/Repository
   CatalogRepository.php100.00%100.00%-
   LocalizedCatalogRepository.php58.82%66.67%-
/api/src/Elasticsuite/Standard/src/Catalog/Service
   DefaultCatalogProvider.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Category/Controller
   CategoryConfigurationGet.php82.35%50.00%-
   CategoryProductPositionGet.php100.00%100.00%-
   CategoryProductPositionSave.php100.00%100.00%-
   GetCategoryTree.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Category/DataProvider
   CategorySortingOptionDataProvider.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Category/Decoration
   SyncCategoryDataAfterBulk.php100.00%100.00%-
   SyncCategoryDataAfterBulkDelete.php100.00%100.00%-
   SyncCategoryDataAfterInstall.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Category/EventSubscriber
   ReindexPosition.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Category/Exception
   SyncCategoryException.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Category/Model
   Category.php100.00%100.00%-
   CategoryTree.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Category/Model/Category
   Configuration.php100.00%100.00%-
   ProductMerchandising.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Category/OpenApi
   CategoryDecorator.php20.00%50.00%-
/api/src/Elasticsuite/Standard/src/Category/Repository
   CategoryConfigurationRepository.php100.00%100.00%-
   CategoryProductMerchandisingRepository.php100.00%100.00%-
   CategoryRepository.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Category/Repository/CategoryProductPositionIndexer
   CategoryProductPositionIndexerRepository.php71.43%33.33%-
/api/src/Elasticsuite/Standard/src/Category/Resolver
   CategoryTreeResolver.php100.00%100.00%-
   ConfigurationResolver.php94.44%50.00%-
   PositionGetResolver.php100.00%100.00%-
   PositionSaveResolver.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Category/Service
   CategoryProductPositionManager.php95.45%85.71%-
   CategoryProductsSortingOptionsProvider.php75.00%66.67%-
   CategorySynchronizer.php100.00%100.00%-
   CategoryTreeBuilder.php98.33%80.00%-
   CurrentCategoryProvider.php85.71%66.67%-
/api/src/Elasticsuite/Standard/src/Category/Validator
   DefaultSortingFieldConstraintValidator.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Configuration/DataProvider
   ConfigurationDataProvider.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/DependencyInjection
   Configuration.php---
   ElasticsuiteExtension.php---
   GenericFactory.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src
   ElasticsuiteBundle.php---
/api/src/Elasticsuite/Standard/src/Entity/Constant
   SourceFieldAttributeMapping.php---
/api/src/Elasticsuite/Standard/src/Entity/Filter
   BooleanFilter.php30.00%50.00%-
   RangeFilterWithDefault.php6.00%50.00%-
   SearchColumnsFilter.php96.00%--
   SearchFilterWithDefault.php6.25%50.00%-
   VirtualSearchFilter.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Entity/GraphQl/Type/Definition/Filter
   AbstractFilter.php94.59%90.91%-
   BoolFilterInputType.php100.00%100.00%-
   BoolTypeFilterInputType.php100.00%100.00%-
   CategoryTypeDefaultFilterInputType.php100.00%100.00%-
   DateTypeFilterInputType.php56.67%66.67%-
   EntityFilterInterface.php---
   FloatTypeFilterInputType.php100.00%100.00%-
   IntegerTypeFilterInputType.php46.88%75.00%-
   PriceTypeDefaultFilterInputType.php95.83%80.00%-
   SelectTypeDefaultFilterInputType.php100.00%100.00%-
   StockTypeDefaultFilterInputType.php100.00%100.00%-
   TextTypeFilterInputType.php71.43%66.67%-
/api/src/Elasticsuite/Standard/src/Entity/Model/Attribute
   AttributeFactory.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Entity/Model/Attribute/Type
   AbstractAttribute.php100.00%100.00%-
   AbstractStructuredAttribute.php88.89%66.67%-
   BooleanAttribute.php85.71%50.00%-
   CategoryAttribute.php100.00%100.00%-
   FloatAttribute.php85.71%50.00%-
   IntAttribute.php85.71%50.00%-
   NestedAttribute.php100.00%100.00%-
   PriceAttribute.php100.00%100.00%-
   SelectAttribute.php100.00%100.00%-
   StockAttribute.php100.00%100.00%-
   TextAttribute.php88.89%50.00%-
/api/src/Elasticsuite/Standard/src/Entity/Model/Doctrine
   QueryBuilder.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Entity/Service
   PriceGroupProvider.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Example/Command/Cache
   DeleteCommand.php---
   GetCommand.php---
   GetCustomCommand.php---
   GetOtherCommand.php---
   InvalidateTagsCommand.php---
   InvalidateTagsInjectedCommand.php---
/api/src/Elasticsuite/Standard/src/Exception
   LogicException.php---
/api/src/Elasticsuite/Standard/src/Fixture/Service
   ElasticsearchFixtures.php16.33%30.00%-
   EntityIndicesFixtures.php54.55%50.00%-
/api/src/Elasticsuite/Standard/src/GraphQl/Decoration/Resolver/Stage
   ReadStage.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/GraphQl/Decoration/Serializer
   SerializerContextBuilder.php94.74%66.67%-
/api/src/Elasticsuite/Standard/src/GraphQl/Decoration/Type
   RenameGraphQlQuery.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Hydra/Decoration/Serializer
   DocumentationNormalizer.php92.45%60.00%-
/api/src/Elasticsuite/Standard/src/Index/Command
   IndexClearCommand.php---
   MappingGenerateCommand.php---
   MappingStatusCommand.php---
/api/src/Elasticsuite/Standard/src/Index/Converter/SourceField
   BasicSourceFieldConverter.php100.00%100.00%-
   CategorySourceFieldConverter.php100.00%100.00%-
   ImageSourceFieldConverter.php100.00%100.00%-
   ObjectSourceFieldConverter.php50.00%50.00%-
   PriceSourceFieldConverter.php100.00%100.00%-
   ReferenceSourceFieldConverter.php100.00%100.00%-
   SelectSourceFieldConverter.php100.00%100.00%-
   StockSourceFieldConverter.php100.00%100.00%-
   TextSourceFieldConverter.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Index/DataPersister
   DocumentDataPersister.php42.86%50.00%-
   IndexDataPersister.php71.43%75.00%-
/api/src/Elasticsuite/Standard/src/Index/DataProvider
   IndexDataProvider.php100.00%100.00%-
   MappingStatusDataProvider.php83.33%75.00%-
/api/src/Elasticsuite/Standard/src/Index/DataTransformer
   CreateIndexInputDataTransformer.php73.68%33.33%-
   InstallIndexDataTransformer.php100.00%100.00%-
   RefreshIndexDataTransformer.php100.00%100.00%-
   SelfReIndexDataTransformer.php85.71%66.67%-
/api/src/Elasticsuite/Standard/src/Index/Decoration/Metadata/Document/Factory
   AttributeDocumentMetadataFactory.php76.19%50.00%-
/api/src/Elasticsuite/Standard/src/Index/Dto/Bulk
   Request.php100.00%100.00%-
   Response.php81.48%57.14%-
/api/src/Elasticsuite/Standard/src/Index/Helper
   IndexSettings.php90.00%77.27%-
/api/src/Elasticsuite/Standard/src/Index/Model
   Index.php87.10%88.24%-
   IndexDocument.php---
/api/src/Elasticsuite/Standard/src/Index/Model/Index
   Mapping.php97.33%91.67%-
   SelfReindex.php77.78%80.00%-
/api/src/Elasticsuite/Standard/src/Index/Model/Index/Mapping
   Field.php93.41%86.36%-
   Status.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Index/MutationResolver
   BulkDeleteIndexMutation.php100.00%100.00%-
   BulkIndexMutation.php96.55%75.00%-
   CreateIndexMutation.php68.75%50.00%-
   InstallIndexMutation.php85.71%50.00%-
   RefreshIndexMutation.php85.71%50.00%-
   SelfReindexMutation.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Index/Repository/Document
   DocumentRepository.php9.52%33.33%-
/api/src/Elasticsuite/Standard/src/Index/Repository/Index
   IndexRepository.php90.43%66.67%-
/api/src/Elasticsuite/Standard/src/Index/Service
   IndexOperation.php98.33%83.33%-
   IndexSettings.php87.50%81.25%-
   MetadataManager.php100.00%100.00%-
   SelfReindexOperation.php87.88%33.33%-
/api/src/Elasticsuite/Standard/src/Locale/EventSubscriber
   LocaleSubscriber.php92.31%66.67%-
   ResponseSubscriber.php85.71%50.00%-
/api/src/Elasticsuite/Standard/src/Menu/Controller
   MenuController.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Menu/Model
   Menu.php100.00%100.00%-
   MenuItem.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Menu/Resolver
   MenuResolver.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Menu/Service
   MenuBuilder.php93.75%50.00%-
/api/src/Elasticsuite/Standard/src/Metadata/DataPersister
   SourceFieldDataPersister.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Metadata/EventSubscriber
   GenerateSourceFieldSearch.php81.25%57.14%-
   SpreadSourceFieldData.php100.00%100.00%-
   ValidateSourceFieldCode.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Metadata/Model
   Metadata.php46.67%71.43%-
   SourceField.php76.62%83.33%-
   SourceFieldLabel.php100.00%100.00%-
   SourceFieldOption.php63.64%83.33%-
   SourceFieldOptionLabel.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Metadata/Model/SourceField
   Type.php100.00%100.00%-
   Weight.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Metadata/Repository
   MetadataRepository.php90.00%50.00%-
   SourceFieldLabelRepository.php100.00%100.00%-
   SourceFieldOptionLabelRepository.php100.00%100.00%-
   SourceFieldOptionRepository.php100.00%100.00%-
   SourceFieldRepository.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/OpenApi/Helper
   Documentation.php---
/api/src/Elasticsuite/Standard/src/Product/DataProvider/Facet
   OptionDataProvider.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Product/DataProvider
   ProductDataProvider.php90.91%66.67%-
/api/src/Elasticsuite/Standard/src/Product/Decoration/GraphQl
   AddEntityTypeInContext.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Product/GraphQl/Type/Definition
   FieldFilterInputType.php100.00%100.00%-
   ProductRequestTypeEnumType.php100.00%100.00%-
   SortInputType.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Product/GraphQl/Type/Definition/SortOrder
   CategoryDefaultSortOrderProvider.php100.00%100.00%-
   PriceDefaultSortOrderProvider.php100.00%100.00%-
   ScalarSortOrderProvider.php100.00%100.00%-
   SelectDefaultSortOrderProvider.php100.00%100.00%-
   SortOrderProviderInterface.php---
   StockDefaultSortOrderProvider.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Product/Model
   Product.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Product/Serializer
   ProductDenormalizer.php91.89%66.67%-
/api/src/Elasticsuite/Standard/src/Product/Service/GraphQl
   FilterManager.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Product/Service
   ProductDefaultSortingOptionProvider.php92.86%50.00%-
/api/src/Elasticsuite/Standard/src/RequestContext/EventSubscriber
   AddRequestContextHeadersInVary.php88.89%66.67%-
/api/src/Elasticsuite/Standard/src/RequestContext/Service
   RequestContextManager.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/ResourceMetadata/Service
   ResourceMetadataManager.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/RuleEngine/Controller
   RuleEngineGraphQlFiltersController.php80.00%50.00%-
   RuleEngineOperatorsController.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/RuleEngine/GraphQl/Type/Definition
   RuleFilterInterface.php---
/api/src/Elasticsuite/Standard/src/RuleEngine/Model
   RuleEngineGraphQlFilters.php66.67%75.00%-
   RuleEngineOperators.php83.33%87.50%-
/api/src/Elasticsuite/Standard/src/RuleEngine/OpenApi
   RuleEngineDecorator.php28.57%50.00%-
/api/src/Elasticsuite/Standard/src/RuleEngine/Resolver
   RuleEngineGraphQlFiltersResolver.php85.71%50.00%-
   RuleEngineOperatorsResolver.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/RuleEngine/Service
   RuleEngineManager.php96.67%88.89%-
/api/src/Elasticsuite/Standard/src/RuleEngine/Service/RuleType
   AbstractRuleType.php66.67%--
   AttributeRule.php98.28%90.00%-
   CombinationRule.php72.73%80.00%-
   RuleTypeInterface.php---
/api/src/Elasticsuite/Standard/src/Search/Compiler
   GetContainerConfigurationFactory.php---
/api/src/Elasticsuite/Standard/src/Search/Constant
   FilterOperator.php---
/api/src/Elasticsuite/Standard/src/Search/DataPersister/Facet
   ConfigurationDataPersister.php80.95%50.00%-
/api/src/Elasticsuite/Standard/src/Search/DataProvider
   DocumentDataProvider.php100.00%100.00%-
   Paginator.php79.31%55.56%-
/api/src/Elasticsuite/Standard/src/Search/DataProvider/Facet
   ConfigurationCollectionDataProvider.php85.71%66.67%-
   ConfigurationItemDataProvider.php94.12%66.67%-
   OptionDataProvider.php97.83%66.67%-
/api/src/Elasticsuite/Standard/src/Search/Decoration/GraphQl
   AddAggregationsData.php98.77%75.00%-
   AddAggregationsInContext.php100.00%100.00%-
   AddAggregationsType.php100.00%100.00%-
   AddSortInfoData.php100.00%100.00%-
   AddSortInfoType.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch
   Adapter.php71.43%50.00%-
   ContextInterface.php---
   Request.php89.29%83.33%-
   RequestFactory.php100.00%100.00%-
   RequestInterface.php---
   ResponseInterface.php---
   Spellchecker.php95.83%88.89%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Adapter/Common/Request/Aggregation
   Assembler.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Adapter/Common/Request/Aggregation/Assembler/Bucket
   DateHistogram.php100.00%100.00%-
   Histogram.php100.00%100.00%-
   MultiTerms.php100.00%100.00%-
   QueryGroup.php100.00%100.00%-
   ReverseNested.php100.00%100.00%-
   SignificantTerms.php100.00%100.00%-
   Terms.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Adapter/Common/Request/Aggregation/Assembler
   Metric.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Adapter/Common/Request/Aggregation/Assembler/Pipeline
   BucketSelector.php100.00%100.00%-
   MaxBucket.php100.00%100.00%-
   MovingFunction.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Adapter/Common/Request
   Mapper.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Adapter/Common/Request/Query
   Assembler.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Adapter/Common/Request/Query/Assembler
   AbstractComplexAssembler.php100.00%100.00%-
   Boolean.php100.00%100.00%-
   Common.php100.00%100.00%-
   Exists.php100.00%100.00%-
   Filtered.php100.00%100.00%-
   FunctionScore.php100.00%100.00%-
   MatchPhrasePrefix.php100.00%100.00%-
   MatchQuery.php100.00%100.00%-
   Missing.php100.00%100.00%-
   MoreLikeThis.php100.00%100.00%-
   MultiMatch.php100.00%100.00%-
   Nested.php100.00%100.00%-
   Not.php100.00%100.00%-
   Range.php100.00%100.00%-
   Term.php100.00%100.00%-
   Terms.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Adapter/Common/Request/SortOrder
   Assembler.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Adapter/Common/Response
   Aggregation.php100.00%100.00%-
   BucketValue.php80.00%75.00%-
   QueryResponse.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Builder/Request/Aggregation
   AggregationBuilder.php94.87%75.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Builder/Request/Query/Filter
   FilterQueryBuilder.php97.40%66.67%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Builder/Request/Query/Fulltext
   FulltextQueryBuilder.php95.24%77.78%-
   FuzzyFieldFilter.php100.00%100.00%-
   SearchableFieldFilter.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Builder/Request/Query
   QueryBuilder.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Builder/Request
   RequestBuilder.php---
   SimpleRequestBuilder.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Builder/Request/SortOrder
   Nested.php100.00%100.00%-
   Script.php100.00%100.00%-
   SortOrderBuilder.php100.00%100.00%-
   Standard.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Builder/Response
   AggregationBuilder.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Request/Aggregation/Bucket
   AbstractBucket.php100.00%100.00%-
   DateHistogram.php100.00%100.00%-
   Histogram.php100.00%100.00%-
   MultiTerms.php100.00%100.00%-
   QueryGroup.php100.00%100.00%-
   ReverseNested.php100.00%100.00%-
   SignificantTerms.php100.00%100.00%-
   Terms.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Request/Aggregation/ConfigResolver
   CategoryAggregationConfigResolver.php6.25%33.33%-
   DateAggregationConfigResolver.php33.33%50.00%-
   FieldAggregationConfigResolverInterface.php---
   NumericAggregationConfigResolver.php100.00%100.00%-
   PriceAggregationConfigResolver.php100.00%100.00%-
   SelectAggregationConfigResolver.php100.00%100.00%-
   StockAggregationConfigResolver.php50.00%50.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Request/Aggregation
   Coverage.php100.00%100.00%-
   CoverageProvider.php100.00%100.00%-
   Metric.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Request/Aggregation/Modifier
   Coverage.php100.00%100.00%-
   ViewMore.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Request/Aggregation/Pipeline
   AbstractPipeline.php100.00%100.00%-
   BucketSelector.php100.00%100.00%-
   MaxBucket.php100.00%100.00%-
   MovingFunction.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Request/Aggregation/Provider
   CoverageAggregationProvider.php100.00%100.00%-
   FilterableSourceFields.php100.00%100.00%-
   GenericAggregationProvider.php---
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Request
   AggregationFactory.php100.00%100.00%-
   ContainerConfigurationInterface.php---
   PipelineInterface.php---
   QueryFactory.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Request/Container/Configuration
   ContainerConfigurationProvider.php91.67%66.67%-
   GenericContainerConfiguration.php85.71%83.33%-
   GenericContainerConfigurationFactory.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Request/Container/RelevanceConfiguration
   FuzzinessConfig.php85.71%75.00%-
   GenericRelevanceConfiguration.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Request/Query
   Boolean.php100.00%100.00%-
   Common.php100.00%100.00%-
   Exists.php100.00%100.00%-
   Filtered.php100.00%100.00%-
   FunctionScore.php100.00%100.00%-
   MatchPhrasePrefix.php100.00%100.00%-
   MatchQuery.php100.00%100.00%-
   Missing.php100.00%100.00%-
   MoreLikeThis.php100.00%100.00%-
   MultiMatch.php100.00%100.00%-
   Nested.php100.00%100.00%-
   Not.php100.00%100.00%-
   Range.php100.00%100.00%-
   Term.php100.00%100.00%-
   Terms.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Elasticsearch/Spellchecker
   Request.php100.00%100.00%-
   RequestFactory.php100.00%100.00%-
   RequestInterface.php---
/api/src/Elasticsuite/Standard/src/Search/EventSubscriber
   GenerateFacetConfigurationId.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/GraphQl/Type/Definition
   FieldFilterInputType.php90.00%60.00%-
   SortEnumType.php100.00%100.00%-
   SortInputType.php100.00%100.00%-
   SortOptionType.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/GraphQl/Type/Definition/Filter
   BoolFilterInputType.php100.00%100.00%-
   EqualTypeFilterInputType.php100.00%100.00%-
   ExistFilterInputType.php100.00%100.00%-
   FilterableFieldTrait.php100.00%100.00%-
   MatchFilterInputType.php100.00%100.00%-
   RangeFilterInputType.php88.89%80.00%-
/api/src/Elasticsuite/Standard/src/Search/Hydrator
   FacetConfigurationHydrator.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Model
   Document.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Model/Facet
   Configuration.php87.04%87.50%-
   Option.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Repository/Facet
   ConfigurationRepository.php93.22%80.00%-
/api/src/Elasticsuite/Standard/src/Search/Resolver
   DummyResolver.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Serializer
   DocumentDenormalizer.php83.33%50.00%-
/api/src/Elasticsuite/Standard/src/Search/Service/GraphQl
   FilterManager.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Service
   ReverseSourceFieldProvider.php100.00%100.00%-
   SearchSettingsProvider.php100.00%100.00%-
   ViewMoreContext.php100.00%100.00%-
/api/src/Elasticsuite/Standard/src/Search/Validator
   FilterableFieldConstraintValidator.php42.86%--
   ProductFieldConstraintValidator.php42.86%--
/api/src/Elasticsuite/Standard/src/Security/Model
   Authentication.php90.00%84.62%-
/api/src/Elasticsuite/Standard/src/Security/OpenApi
   JwtDecorator.php8.33%50.00%-
/api/src/Elasticsuite/Standard/src/Security/Resolver
   AuthenticationMutationResolver.php75.00%50.00%-
/api/src/Elasticsuite/Standard/src/Stitching/Decoration/GraphQl/Type
   StitchingFieldsBuilder.php97.14%83.33%-
/api/src/Elasticsuite/Standard/src/Stitching/Serializer/GraphQl
   StitchingNormalizer.php89.29%66.67%-
/api/src/Elasticsuite/Standard/src/Stitching/Service
   SerializerService.php97.22%80.00%-
/api/src/Elasticsuite/Standard/src/Test
   AbstractEntityTest.php---
   AbstractEntityTestWithUpdate.php---
   AbstractTest.php---
   ExpectedResponse.php---
   RequestGraphQlToTest.php---
   RequestToTest.php---
/api/src/Elasticsuite/Standard/src/User/Model
   User.php93.33%90.00%-
/api/src/Elasticsuite/Standard/src/User/Repository
   UserRepository.php25.00%50.00%-
/api/src/Elasticsuite/Standard/src/User/Test
   LoginTrait.php96.43%80.00%-

Backend Coverage compared to target branch

@github-actions
Copy link

github-actions bot commented Jan 10, 2023

Frontend PWA Coverage of this branch

File Coverage
All files NaN%

Minimum allowed coverage is 1%

Generated by 🐒 cobertura-action against 896ac91

@github-actions
Copy link

github-actions bot commented Jan 10, 2023

Frontend Coverage of this branch

File Coverage
All files 24%
src/components/App/App.tsx 0%
src/components/Facets/Facet.styled.ts 0%
src/components/Facets/Facet.tsx 0%
src/components/Facets/FacetBoolean.tsx 0%
src/components/Facets/FacetCategory.tsx 0%
src/components/Facets/FacetChoice.tsx 0%
src/components/Facets/FacetLoadMore.tsx 0%
src/components/Facets/FacetSlider.tsx 0%
src/components/Facets/Facets.tsx 0%
src/components/Header/Header.tsx 56%
src/components/Layout/Layout.tsx 0%
src/components/Menu/Menu.tsx 0%
src/components/Menu/MenuItem.tsx 0%
src/components/Menu/MenuList.tsx 0%
src/components/PageLayout/PageLayout.tsx 0%
src/components/PageTitle/PageTitle.tsx 0%
src/components/Products/ProductCard.tsx 0%
src/components/Products/Products.tsx 0%
src/components/Providers/AppProvider/AppProvider.tsx 0%
src/components/Providers/CatalogProvider/CatalogProvider.tsx 0%
src/components/Providers/CategoryProvider/CategoryProvider.tsx 0%
src/components/Providers/SchemaProvider/SchemaProvider.tsx 0%
src/components/Providers/SchemaProvider/RequestedPathProvider/RequestedPathProvider.tsx 0%
src/components/Providers/SearchProvider/SearchProvider.tsx 0%
src/components/Providers/UserProvider/UserProvider.tsx 0%
src/components/SearchBar/SearchBar.tsx 0%
src/components/Title/Title.tsx 0%
src/components/TwoColsLayout/TwoColsLayout.tsx 0%
src/hooks/index.ts 0%
src/hooks/useApi.ts 84%
src/hooks/useGraphql.ts 89%
src/hooks/useProducts.ts 53%
src/hooks/useUser.ts 95%
src/pages/Category/Category.tsx 0%
src/pages/Homepage/Homepage.tsx 0%
src/pages/Login/Login.tsx 0%
src/pages/Search/Search.tsx 0%

Minimum allowed coverage is 1%

Generated by 🐒 cobertura-action against 896ac91

@PierreGauthier PierreGauthier force-pushed the fix-php-unit-coverage-report branch from beeb6a4 to 896ac91 Compare January 10, 2023 08:22
@rbayet rbayet merged commit 995e356 into master Jan 10, 2023
@rbayet rbayet deleted the fix-php-unit-coverage-report branch January 10, 2023 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PR targets backend application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants