Compare e4aec48 ... +11 ... 5fb3495

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.


@@ -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;

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
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