Skip to content

Latest commit

 

History

History
104 lines (103 loc) · 11.5 KB

coverage.md

File metadata and controls

104 lines (103 loc) · 11.5 KB

Code Coverage for Eleventy v3.0.0-beta.2

Filename % Lines % Statements % Functions % Branches
total 89% 89% 88.35% 89.34%
cmd.cjs 63.03% 63.03% 0% 52.94%
src/Eleventy.js 77.35% 77.35% 71.66% 86.89%
src/EleventyExtensionMap.js 96.47% 96.47% 91.66% 95.29%
src/EleventyFiles.js 92.64% 92.64% 91.48% 91.34%
src/EleventyServe.js 52.13% 52.13% 59.09% 56.66%
src/EleventyWatch.js 93.12% 93.12% 94.44% 91.42%
src/EleventyWatchTargets.js 79.26% 79.26% 80% 100%
src/EventBus.js 100% 100% 100% 100%
src/FileSystemSearch.js 100% 100% 100% 100%
src/GlobalDependencyMap.js 76.41% 76.41% 76.47% 92.85%
src/Template.js 95.28% 95.28% 93.33% 92.98%
src/TemplateBehavior.js 90.58% 90.58% 100% 84.21%
src/TemplateCache.js 79.8% 79.8% 87.5% 73.68%
src/TemplateCollection.js 88.88% 88.88% 87.5% 85.71%
src/TemplateConfig.js 91.47% 91.47% 81.25% 92.59%
src/TemplateContent.js 87.64% 87.64% 91.11% 85.88%
src/TemplateFileSlug.js 100% 100% 100% 100%
src/TemplateGlob.js 94.28% 94.28% 100% 91.66%
src/TemplateLayout.js 89.66% 89.66% 83.33% 85.29%
src/TemplateLayoutPathResolver.js 88.97% 88.97% 75% 90.9%
src/TemplateMap.js 96.34% 96.34% 95.55% 93.3%
src/TemplatePassthrough.js 92.62% 92.62% 100% 92.42%
src/TemplatePassthroughManager.js 81.99% 81.99% 91.3% 78.12%
src/TemplatePermalink.js 91.53% 91.53% 91.66% 94.28%
src/TemplateRender.js 90.13% 90.13% 100% 91.08%
src/TemplateWriter.js 84.66% 84.66% 80% 77.77%
src/UserConfig.js 92.13% 92.13% 79.81% 88.64%
src/defaultConfig.js 95.83% 95.83% 100% 62.5%
src/Benchmark/Benchmark.js 98.18% 98.18% 100% 92.3%
src/Benchmark/BenchmarkGroup.js 85.18% 85.18% 63.63% 94.11%
src/Benchmark/BenchmarkManager.js 82.19% 82.19% 66.66% 85.71%
src/Data/ComputedData.js 100% 100% 100% 100%
src/Data/ComputedDataProxy.js 97.7% 97.7% 100% 94.44%
src/Data/ComputedDataQueue.js 100% 100% 100% 100%
src/Data/ComputedDataTemplateString.js 95.71% 95.71% 100% 85.71%
src/Data/TemplateData.js 93.48% 93.48% 94% 89.88%
src/Data/TemplateDataInitialGlobalData.js 95% 95% 100% 83.33%
src/Engines/Custom.js 88.46% 88.46% 100% 85.86%
src/Engines/Html.js 100% 100% 100% 100%
src/Engines/JavaScript.js 81.01% 81.01% 93.33% 89.65%
src/Engines/Liquid.js 99.69% 99.69% 100% 97.22%
src/Engines/Markdown.js 95.69% 95.69% 80% 92%
src/Engines/Nunjucks.js 92.61% 92.61% 100% 89.1%
src/Engines/TemplateEngine.js 87.5% 87.5% 82.75% 90.9%
src/Engines/TemplateEngineManager.js 91.87% 91.87% 92.3% 89.65%
src/Engines/FrontMatter/JavaScript.js 100% 100% 100% 100%
src/Engines/Util/ContextAugmenter.js 91.04% 91.04% 50% 88.23%
src/Errors/DuplicatePermalinkOutputError.js 100% 100% 100% 100%
src/Errors/EleventyBaseError.js 100% 100% 100% 100%
src/Errors/EleventyErrorHandler.js 94.03% 94.03% 100% 79.48%
src/Errors/EleventyErrorUtil.js 100% 100% 100% 96%
src/Errors/TemplateContentPrematureUseError.js 100% 100% 100% 100%
src/Errors/TemplateContentUnrenderedTemplateError.js 100% 100% 100% 100%
src/Errors/UsingCircularTemplateContentReferenceError.js 100% 100% 100% 100%
src/Filters/GetCollectionItem.js 100% 100% 100% 87.5%
src/Filters/GetCollectionItemIndex.js 88.23% 88.23% 100% 77.77%
src/Filters/GetLocaleCollectionItem.js 12.76% 12.76% 0% 100%
src/Filters/Slug.js 100% 100% 100% 100%
src/Filters/Slugify.js 100% 100% 100% 100%
src/Filters/Url.js 88.57% 88.57% 100% 93.75%
src/Plugins/HtmlBasePlugin.js 87.41% 87.41% 100% 90.9%
src/Plugins/I18nPlugin.js 82.96% 82.96% 100% 80.55%
src/Plugins/IdAttributePlugin.js 97.08% 97.08% 100% 90%
src/Plugins/InputPathToUrl.js 89.26% 89.26% 100% 75%
src/Plugins/Pagination.js 90.26% 90.26% 95% 84%
src/Plugins/RenderPlugin.js 87.52% 87.52% 85% 77.77%
src/Util/AsyncEventEmitter.js 94.66% 94.66% 100% 87.5%
src/Util/Compatibility.js 83.63% 83.63% 85.71% 77.77%
src/Util/ConsoleLogger.js 100% 100% 94.44% 100%
src/Util/DateGitFirstAdded.js 100% 100% 100% 100%
src/Util/DateGitLastUpdated.js 100% 100% 100% 100%
src/Util/DirContains.js 100% 100% 100% 100%
src/Util/EsmResolver.js 76.47% 76.47% 100% 76.92%
src/Util/EventBusUtil.js 69.23% 69.23% 33.33% 100%
src/Util/ExistsCache.js 100% 100% 100% 100%
src/Util/FilePathUtil.js 47.36% 47.36% 50% 100%
src/Util/GetJavaScriptData.js 100% 100% 100% 100%
src/Util/GlobMatcher.js 90.47% 90.47% 100% 66.66%
src/Util/HtmlTransformer.js 89.24% 89.24% 88.23% 92.1%
src/Util/ImportJsonSync.js 85.93% 85.93% 80% 72.72%
src/Util/IsAsyncFunction.js 100% 100% 50% 100%
src/Util/JavaScriptDependencies.js 89.09% 89.09% 50% 85.71%
src/Util/MemoizeFunction.js 100% 100% 100% 100%
src/Util/PassthroughCopyBehaviorCheck.js 100% 100% 100% 100%
src/Util/PathNormalizer.js 93.33% 93.33% 100% 86.66%
src/Util/PathPrefixer.js 100% 100% 100% 100%
src/Util/Pluralize.js 100% 100% 100% 100%
src/Util/ProjectDirectories.js 95.93% 95.93% 97.14% 93%
src/Util/ProjectTemplateFormats.js 94.02% 94.02% 90% 94.73%
src/Util/Require.js 85.43% 85.43% 100% 85.29%
src/Util/ReservedData.js 97.1% 97.1% 100% 92.85%
src/Util/SetUnion.js 100% 100% 100% 100%
src/Util/TransformsUtil.js 94.28% 94.28% 100% 83.33%
src/Util/ValidUrl.js 100% 100% 100% 100%
src/Util/Objects/DeepFreeze.js 90% 90% 100% 80%
src/Util/Objects/ObjectFilter.js 100% 100% 100% 80%
src/Util/Objects/ProxyWrap.js 96.39% 96.39% 100% 94.28%
src/Util/Objects/Sortable.js 100% 100% 100% 100%
src/Util/Objects/Unique.js 100% 100% 100% 100%