Compare e4aec48 ... +7 ... 9758955

Coverage Reach
core/src/main/java/io/neba/core/resourcemodels/mapping/FieldValueMappingCallback.java core/src/main/java/io/neba/core/resourcemodels/mapping/ResourceToModelMapper.java core/src/main/java/io/neba/core/resourcemodels/mapping/NestedMappingSupport.java core/src/main/java/io/neba/core/resourcemodels/mapping/AnnotatedFieldMappers.java core/src/main/java/io/neba/core/resourcemodels/mapping/Mapping.java core/src/main/java/io/neba/core/resourcemodels/mapping/PlaceholderVariableResolvers.java core/src/main/java/io/neba/core/resourcemodels/mapping/ModelPostProcessor.java core/src/main/java/io/neba/core/resourcemodels/mapping/CycleInModelInitializationException.java core/src/main/java/io/neba/core/resourcemodels/metadata/MappedFieldMetaData.java core/src/main/java/io/neba/core/resourcemodels/metadata/ModelStatisticsConsolePlugin.java core/src/main/java/io/neba/core/resourcemodels/metadata/ResourceModelStatistics.java core/src/main/java/io/neba/core/resourcemodels/metadata/ResourceModelMetaDataRegistrar.java core/src/main/java/io/neba/core/resourcemodels/metadata/ResourceModelMetaData.java core/src/main/java/io/neba/core/resourcemodels/metadata/MethodMetaData.java core/src/main/java/io/neba/core/resourcemodels/registration/ModelRegistryConsolePlugin.java core/src/main/java/io/neba/core/resourcemodels/registration/ModelRegistry.java core/src/main/java/io/neba/core/resourcemodels/registration/ModelRegistrar.java core/src/main/java/io/neba/core/resourcemodels/registration/ResourceModelResolverImpl.java core/src/main/java/io/neba/core/resourcemodels/registration/MappableTypeHierarchyChangeListener.java core/src/main/java/io/neba/core/resourcemodels/registration/MappableTypeHierarchy.java core/src/main/java/io/neba/core/resourcemodels/factory/ModelInstantiator.java core/src/main/java/io/neba/core/resourcemodels/factory/ServiceDependency.java core/src/main/java/io/neba/core/resourcemodels/factory/ModelFactory.java core/src/main/java/io/neba/core/resourcemodels/factory/NebaPackagesResourceModelFactoryInjector.java core/src/main/java/io/neba/core/resourcemodels/factory/ClassBasedModelDefinition.java core/src/main/java/io/neba/core/resourcemodels/factory/ModelInstantiationException.java core/src/main/java/io/neba/core/resourcemodels/factory/InvalidModelException.java core/src/main/java/io/neba/core/resourcemodels/views/json/JsonViewServlets.java core/src/main/java/io/neba/core/resourcemodels/views/json/JsonViewSupport.java core/src/main/java/io/neba/core/resourcemodels/views/json/Jackson2ModelSerializer.java core/src/main/java/io/neba/core/resourcemodels/views/json/LazyLoadingSerializer.java core/src/main/java/io/neba/core/resourcemodels/views/json/ResourceSerializer.java core/src/main/java/io/neba/core/resourcemodels/adaptation/ResourceToModelAdapterUpdater.java core/src/main/java/io/neba/core/resourcemodels/adaptation/ResourceToModelAdapter.java core/src/main/java/io/neba/core/resourcemodels/adaptation/AmbiguousModelAssociationException.java core/src/main/java/io/neba/core/resourcemodels/caching/RequestScopedResourceModelCache.java core/src/main/java/io/neba/core/util/ReflectionUtil.java core/src/main/java/io/neba/core/util/ResourcePaths.java core/src/main/java/io/neba/core/util/Annotations.java core/src/main/java/io/neba/core/util/ResourceTypeHierarchyIterator.java core/src/main/java/io/neba/core/util/PrimitiveSupportingValueMap.java core/src/main/java/io/neba/core/util/NodeTypeHierarchyIterator.java core/src/main/java/io/neba/core/util/OsgiModelSource.java core/src/main/java/io/neba/core/util/JsonUtil.java core/src/main/java/io/neba/core/util/ClassHierarchyIterator.java core/src/main/java/io/neba/core/util/ConcurrentDistinctMultiValueMap.java core/src/main/java/io/neba/core/util/ResolvedModelSource.java core/src/main/java/io/neba/core/util/OsgiModelReference.java core/src/main/java/io/neba/core/util/Key.java core/src/main/java/io/neba/core/util/NodeUtil.java core/src/main/java/io/neba/core/util/ZipFileUtil.java core/src/main/java/io/neba/core/util/ReadOnlyIterator.java core/src/main/java/io/neba/core/util/MatchedBundlesPredicate.java core/src/main/java/io/neba/core/util/StringUtil.java core/src/main/java/io/neba/core/util/ConcurrentLinkedDistinctQueue.java core/src/main/java/io/neba/core/util/BundleUtil.java core/src/main/java/io/neba/core/logviewer/LogfileViewerConsolePlugin.java core/src/main/java/io/neba/core/logviewer/Tail.java core/src/main/java/io/neba/core/logviewer/TailSocket.java core/src/main/java/io/neba/core/logviewer/LogFiles.java core/src/main/java/io/neba/core/logviewer/TailServlet.java spring/src/main/java/io/neba/spring/mvc/BundleSpecificDispatcherServlet.java spring/src/main/java/io/neba/spring/mvc/MultipartSlingHttpServletRequest.java spring/src/main/java/io/neba/spring/mvc/MvcServlet.java spring/src/main/java/io/neba/spring/mvc/ResourceParamArgumentResolver.java spring/src/main/java/io/neba/spring/mvc/SlingServletView.java spring/src/main/java/io/neba/spring/mvc/NebaViewResolver.java spring/src/main/java/io/neba/spring/mvc/SlingMultipartFile.java spring/src/main/java/io/neba/spring/mvc/SlingMultipartResolver.java spring/src/main/java/io/neba/spring/mvc/SlingMvcServletRequest.java spring/src/main/java/io/neba/spring/mvc/SlingRedirectView.java spring/src/main/java/io/neba/spring/mvc/RequestPathInfoArgumentResolver.java spring/src/main/java/io/neba/spring/mvc/ResourceResolverArgumentResolver.java spring/src/main/java/io/neba/spring/mvc/MissingAdapterException.java spring/src/main/java/io/neba/spring/mvc/UnresolvableResourceException.java spring/src/main/java/io/neba/spring/resourcemodels/registration/SpringModelRegistrar.java spring/src/main/java/io/neba/spring/resourcemodels/registration/Annotations.java spring/src/main/java/io/neba/spring/resourcemodels/registration/SpringBasedModelDefinition.java spring/src/main/java/io/neba/spring/resourcemodels/registration/SpringResourceModelFactory.java spring/src/main/java/io/neba/spring/resourcemodels/aop/AopSupportImpl.java spring/src/main/java/io/neba/spring/web/WebApplicationContextAdapter.java spring/src/main/java/io/neba/spring/web/NebaRequestContextFilter.java spring/src/main/java/io/neba/spring/web/BackgroundServletRequestWrapper.java spring/src/main/java/io/neba/spring/web/RequestScopeConfigurator.java spring/src/main/java/io/neba/spring/blueprint/ContextFailedHandler.java spring/src/main/java/io/neba/spring/blueprint/SlingOsgiBundleShutdownHandler.java spring/src/main/java/io/neba/spring/blueprint/ContextShutdownHandler.java spring/src/main/java/io/neba/spring/blueprint/FelixTaskExecutor.java spring/src/main/java/io/neba/spring/blueprint/SlingBeanFactoryPostProcessor.java api/src/main/java/io/neba/api/tags/DefineObjectsTag.java api/src/main/java/io/neba/api/resourcemodels/Lazy.java

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 8 files from the diff.

@@ -44,7 +44,6 @@
Loading
44 44
import java.util.Map;
45 45
import java.util.Optional;
46 46
47 -
import static java.util.Optional.empty;
48 47
import static java.util.Optional.ofNullable;
49 48
import static org.apache.commons.lang3.StringUtils.substringBefore;
50 49
import static org.osgi.framework.Constants.SERVICE_RANKING;
@@ -100,13 +99,13 @@
Loading
100 99
            throw new IllegalArgumentException("Method argument resource must not be null.");
101 100
        }
102 101
        if (!this.configuration.enabled()) {
103 -
            return empty();
102 +
            return null;
104 103
        }
105 104
106 105
        Map<Key, Optional<?>> cache = this.cacheHolder.get();
107 106
        if (cache == null) {
108 107
            this.logger.debug("No cache found, the cache will not be used.");
109 -
            return empty();
108 +
            return null;
110 109
        }
111 110
112 111
        final Optional<T> lookupResult;

Learn more Showing 91 files with coverage changes found.

Changes in spring/src/main/java/io/neba/spring/mvc/MissingAdapterException.java
-2
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/mapping/CycleInModelInitializationException.java
-2
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/adaptation/ResourceToModelAdapter.java
-22
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/factory/InvalidModelException.java
-4
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/SlingMvcServletRequest.java
-9
Loading file...
Changes in spring/src/main/java/io/neba/spring/web/WebApplicationContextAdapter.java
-51
Loading file...
Changes in api/src/main/java/io/neba/api/resourcemodels/Lazy.java
-13
Loading file...
Changes in spring/src/main/java/io/neba/spring/blueprint/SlingBeanFactoryPostProcessor.java
-5
Loading file...
Changes in spring/src/main/java/io/neba/spring/blueprint/FelixTaskExecutor.java
-5
Loading file...
Changes in spring/src/main/java/io/neba/spring/web/BackgroundServletRequestWrapper.java
-5
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/views/json/ResourceSerializer.java
-4
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/registration/ResourceModelResolverImpl.java
-33
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/registration/MappableTypeHierarchy.java
-14
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/NebaViewResolver.java
-29
Loading file...
Changes in spring/src/main/java/io/neba/spring/blueprint/ContextShutdownHandler.java
-9
Loading file...
Changes in core/src/main/java/io/neba/core/util/ZipFileUtil.java
-11
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/SlingRedirectView.java
-8
Loading file...
Changes in core/src/main/java/io/neba/core/util/ConcurrentLinkedDistinctQueue.java
-5
Loading file...
Changes in core/src/main/java/io/neba/core/util/BundleUtil.java
-3
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/UnresolvableResourceException.java
-2
Loading file...
Changes in core/src/main/java/io/neba/core/util/NodeUtil.java
-14
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/views/json/Jackson2ModelSerializer.java
-33
Loading file...
Changes in spring/src/main/java/io/neba/spring/web/RequestScopeConfigurator.java
-3
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/adaptation/AmbiguousModelAssociationException.java
-2
Loading file...
Changes in core/src/main/java/io/neba/core/util/StringUtil.java
-8
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/SlingServletView.java
-34
Loading file...
Changes in core/src/main/java/io/neba/core/logviewer/TailSocket.java
-52
-1
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/ResourceParamArgumentResolver.java
-38
-1
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/mapping/AnnotatedFieldMappers.java
-36
-1
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/caching/RequestScopedResourceModelCache.java
-54
-5
-7
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/BundleSpecificDispatcherServlet.java
-80
-1
-2
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/adaptation/ResourceToModelAdapterUpdater.java
-53
-2
Loading file...
Changes in core/src/main/java/io/neba/core/util/JsonUtil.java
-26
-1
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/registration/MappableTypeHierarchyChangeListener.java
-22
-1
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/metadata/ResourceModelMetaDataRegistrar.java
-44
-2
Loading file...
Changes in core/src/main/java/io/neba/core/util/ResourceTypeHierarchyIterator.java
-33
-2
Loading file...
Changes in core/src/main/java/io/neba/core/util/Key.java
-13
-1
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/mapping/FieldValueMappingCallback.java
-199
-9
-8
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/mapping/Mapping.java
-23
-2
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/factory/ModelFactory.java
-43
-4
Loading file...
Changes in spring/src/main/java/io/neba/spring/resourcemodels/registration/Annotations.java
-21
-1
-1
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/registration/ModelRegistrar.java
-31
-3
Loading file...
Changes in spring/src/main/java/io/neba/spring/resourcemodels/registration/SpringBasedModelDefinition.java
-10
-1
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/metadata/ResourceModelMetaData.java
-39
-2
-2
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/mapping/NestedMappingSupport.java
-56
-2
-4
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/metadata/MappedFieldMetaData.java
-109
-7
-5
Loading file...
Changes in core/src/main/java/io/neba/core/logviewer/Tail.java
-53
-3
-3
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/factory/ModelInstantiator.java
-102
-7
-5
Loading file...
Changes in core/src/main/java/io/neba/core/logviewer/LogfileViewerConsolePlugin.java
-93
-5
-6
Loading file...
Changes in spring/src/main/java/io/neba/spring/resourcemodels/registration/SpringModelRegistrar.java
-32
-1
-3
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/metadata/ResourceModelStatistics.java
-82
-7
-4
Loading file...
Changes in core/src/main/java/io/neba/core/util/ConcurrentDistinctMultiValueMap.java
-21
-1
-2
Loading file...
Changes in core/src/main/java/io/neba/core/util/PrimitiveSupportingValueMap.java
-27
-4
Loading file...
Changes in core/src/main/java/io/neba/core/logviewer/LogFiles.java
-39
-5
-1
Loading file...
Changes in core/src/main/java/io/neba/core/util/ResourcePaths.java
-44
-3
-4
Loading file...
Changes in core/src/main/java/io/neba/core/util/Annotations.java
-31
-2
-3
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/mapping/ResourceToModelMapper.java
-54
-4
-5
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/metadata/ModelStatisticsConsolePlugin.java
-99
-4
-13
Loading file...
Changes in api/src/main/java/io/neba/api/tags/DefineObjectsTag.java
-29
-3
-2
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/registration/ModelRegistryConsolePlugin.java
-164
-15
-14
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/factory/ClassBasedModelDefinition.java
-11
-1
-1
Loading file...
Changes in spring/src/main/java/io/neba/spring/blueprint/ContextFailedHandler.java
-11
-2
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/registration/ModelRegistry.java
-105
-11
-9
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/factory/ServiceDependency.java
-46
-5
-4
Loading file...
Changes in core/src/main/java/io/neba/core/util/OsgiModelReference.java
-15
-1
-2
Loading file...
Changes in core/src/main/java/io/neba/core/util/MatchedBundlesPredicate.java
-9
-1
-1
Loading file...
Changes in core/src/main/java/io/neba/core/util/ReadOnlyIterator.java
-9
-1
-1
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/MultipartSlingHttpServletRequest.java
-53
-11
-1
Loading file...
Changes in spring/src/main/java/io/neba/spring/web/NebaRequestContextFilter.java
-20
-3
-2
Loading file...
Changes in spring/src/main/java/io/neba/spring/resourcemodels/registration/SpringResourceModelFactory.java
-8
-1
-1
Loading file...
Changes in core/src/main/java/io/neba/core/util/ResolvedModelSource.java
-16
-1
-3
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/views/json/LazyLoadingSerializer.java
-4
-1
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/views/json/JsonViewServlets.java
-50
-3
-11
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/mapping/ModelPostProcessor.java
-12
-1
-3
Loading file...
Changes in core/src/main/java/io/neba/core/util/ReflectionUtil.java
-69
-14
-12
Loading file...
Changes in core/src/main/java/io/neba/core/util/ClassHierarchyIterator.java
-18
-4
-3
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/factory/NebaPackagesResourceModelFactoryInjector.java
-16
-7
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/MvcServlet.java
-41
-2
-17
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/RequestPathInfoArgumentResolver.java
-4
-1
-1
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/ResourceResolverArgumentResolver.java
-4
-1
-1
Loading file...
Changes in spring/src/main/java/io/neba/spring/blueprint/SlingOsgiBundleShutdownHandler.java
-8
-2
-2
Loading file...
Changes in core/src/main/java/io/neba/core/util/NodeTypeHierarchyIterator.java
-18
-5
-5
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/metadata/MethodMetaData.java
-9
-3
-2
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/views/json/JsonViewSupport.java
-32
-3
-19
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/SlingMultipartFile.java
-12
-1
-8
Loading file...
Changes in spring/src/main/java/io/neba/spring/resourcemodels/aop/AopSupportImpl.java
-8
-2
-4
Loading file...
Changes in core/src/main/java/io/neba/core/util/OsgiModelSource.java
-15
-5
-8
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/factory/ModelInstantiationException.java
-2
-2
Loading file...
Changes in spring/src/main/java/io/neba/spring/mvc/SlingMultipartResolver.java
-3
-3
-5
Loading file...
Changes in core/src/main/java/io/neba/core/resourcemodels/mapping/PlaceholderVariableResolvers.java
-19
Loading file...
Changes in core/src/main/java/io/neba/core/logviewer/TailServlet.java
-4
Loading file...
Files Complexity Coverage
api/src/main/java/io/neba/api 88.46% 89.36%
core/src/main/java/io/neba/core 81.08% 85.99%
spring/src/main/java/io/neba/spring 81.25% 86.26%
Project Totals (91 files) 81.25% 86.09%
Loading