diff --git a/.ci/Jenkinsfile_coverage b/.ci/Jenkinsfile_coverage index c474998e6fd3d..63798e2e29e44 100644 --- a/.ci/Jenkinsfile_coverage +++ b/.ci/Jenkinsfile_coverage @@ -5,89 +5,26 @@ kibanaLibrary.load() // load from the Jenkins instance kibanaPipeline(timeoutMinutes: 240) { catchErrors { + def timestamp = new Date(currentBuild.startTimeInMillis).format("yyyy-MM-dd'T'HH:mm:ss'Z'", TimeZone.getTimeZone("UTC")) withEnv([ - 'CODE_COVERAGE=1', // Needed for multiple ci scripts, such as remote.ts, test/scripts/*.sh, schema.js, etc. + "TIME_STAMP=${timestamp}", + 'CODE_COVERAGE=1', // Enables coverage. Needed for multiple ci scripts, such as remote.ts, test/scripts/*.sh, schema.js, etc. ]) { - parallel([ - 'kibana-intake-agent': workers.intake('kibana-intake', './test/scripts/jenkins_unit.sh'), - 'x-pack-intake-agent': { - withEnv([ - 'NODE_ENV=test' // Needed for jest tests only - ]) { - workers.intake('x-pack-intake', './test/scripts/jenkins_xpack.sh')() - } - }, - 'kibana-oss-agent': workers.functional('kibana-oss-tests', { kibanaPipeline.buildOss() }, [ - 'oss-ciGroup1': kibanaPipeline.ossCiGroupProcess(1), - 'oss-ciGroup2': kibanaPipeline.ossCiGroupProcess(2), - 'oss-ciGroup3': kibanaPipeline.ossCiGroupProcess(3), - 'oss-ciGroup4': kibanaPipeline.ossCiGroupProcess(4), - 'oss-ciGroup5': kibanaPipeline.ossCiGroupProcess(5), - 'oss-ciGroup6': kibanaPipeline.ossCiGroupProcess(6), - 'oss-ciGroup7': kibanaPipeline.ossCiGroupProcess(7), - 'oss-ciGroup8': kibanaPipeline.ossCiGroupProcess(8), - 'oss-ciGroup9': kibanaPipeline.ossCiGroupProcess(9), - 'oss-ciGroup10': kibanaPipeline.ossCiGroupProcess(10), - 'oss-ciGroup11': kibanaPipeline.ossCiGroupProcess(11), - 'oss-ciGroup12': kibanaPipeline.ossCiGroupProcess(12), - ]), - 'kibana-xpack-agent': workers.functional('kibana-xpack-tests', { kibanaPipeline.buildXpack() }, [ - 'xpack-ciGroup1': kibanaPipeline.xpackCiGroupProcess(1), - 'xpack-ciGroup2': kibanaPipeline.xpackCiGroupProcess(2), - 'xpack-ciGroup3': kibanaPipeline.xpackCiGroupProcess(3), - 'xpack-ciGroup4': kibanaPipeline.xpackCiGroupProcess(4), - 'xpack-ciGroup5': kibanaPipeline.xpackCiGroupProcess(5), - 'xpack-ciGroup6': kibanaPipeline.xpackCiGroupProcess(6), - 'xpack-ciGroup7': kibanaPipeline.xpackCiGroupProcess(7), - 'xpack-ciGroup8': kibanaPipeline.xpackCiGroupProcess(8), - 'xpack-ciGroup9': kibanaPipeline.xpackCiGroupProcess(9), - 'xpack-ciGroup10': kibanaPipeline.xpackCiGroupProcess(10), - ]), - ]) workers.base(name: 'coverage-worker', size: 'l', ramDisk: false, bootstrapped: false) { - kibanaPipeline.downloadCoverageArtifacts() - kibanaPipeline.bash( - ''' - # bootstrap from x-pack folder - source src/dev/ci_setup/setup_env.sh - cd x-pack - yarn kbn bootstrap --prefer-offline - cd .. - # extract archives - mkdir -p /tmp/extracted_coverage - echo extracting intakes - tar -xzf /tmp/downloaded_coverage/coverage/kibana-intake/kibana-coverage.tar.gz -C /tmp/extracted_coverage - tar -xzf /tmp/downloaded_coverage/coverage/x-pack-intake/kibana-coverage.tar.gz -C /tmp/extracted_coverage - echo extracting kibana-oss-tests - tar -xzf /tmp/downloaded_coverage/coverage/kibana-oss-tests/kibana-coverage.tar.gz -C /tmp/extracted_coverage - echo extracting kibana-xpack-tests - tar -xzf /tmp/downloaded_coverage/coverage/kibana-xpack-tests/kibana-coverage.tar.gz -C /tmp/extracted_coverage - # replace path in json files to have valid html report - pwd=$(pwd) - du -sh /tmp/extracted_coverage/target/kibana-coverage/ - echo replacing path in json files - for i in {1..9}; do - sed -i "s|/dev/shm/workspace/kibana|$pwd|g" /tmp/extracted_coverage/target/kibana-coverage/functional/${i}*.json & - done - wait - # merge oss & x-pack reports - echo merging coverage reports - yarn nyc report --temp-dir /tmp/extracted_coverage/target/kibana-coverage/jest --report-dir target/kibana-coverage/jest-combined --reporter=html --reporter=json-summary - yarn nyc report --temp-dir /tmp/extracted_coverage/target/kibana-coverage/functional --report-dir target/kibana-coverage/functional-combined --reporter=html --reporter=json-summary - echo copy mocha reports - mkdir -p target/kibana-coverage/mocha-combined - cp -r /tmp/extracted_coverage/target/kibana-coverage/mocha target/kibana-coverage/mocha-combined - ''', - "run `yarn kbn bootstrap && merge coverage`" - ) - sh 'tar -czf kibana-jest-coverage.tar.gz target/kibana-coverage/jest-combined/*' - kibanaPipeline.uploadCoverageArtifacts("coverage/jest-combined", 'kibana-jest-coverage.tar.gz') - sh 'tar -czf kibana-functional-coverage.tar.gz target/kibana-coverage/functional-combined/*' - kibanaPipeline.uploadCoverageArtifacts("coverage/functional-combined", 'kibana-functional-coverage.tar.gz') - sh 'tar -czf kibana-mocha-coverage.tar.gz target/kibana-coverage/mocha-combined/*' - kibanaPipeline.uploadCoverageArtifacts("coverage/mocha-combined", 'kibana-mocha-coverage.tar.gz') + kibanaCoverage.runTests() + handleIngestion(TIME_STAMP) } } + kibanaPipeline.sendMail() } - kibanaPipeline.sendMail() } + +def handleIngestion(timestamp) { + kibanaPipeline.downloadCoverageArtifacts() + kibanaCoverage.prokLinks("### Process HTML Links") + kibanaCoverage.collectVcsInfo("### Collect VCS Info") + kibanaCoverage.ingest(timestamp, '### Injest && Upload') + kibanaCoverage.uploadCoverageStaticSite(timestamp) +} + + diff --git a/.ci/Jenkinsfile_visual_baseline b/.ci/Jenkinsfile_visual_baseline index 815c1345bbb68..2a16c499fa168 100644 --- a/.ci/Jenkinsfile_visual_baseline +++ b/.ci/Jenkinsfile_visual_baseline @@ -4,20 +4,22 @@ library 'kibana-pipeline-library' kibanaLibrary.load() kibanaPipeline(timeoutMinutes: 120) { - catchError { - parallel([ - 'oss-visualRegression': { - workers.ci(name: 'oss-visualRegression', size: 's', ramDisk: false) { - kibanaPipeline.functionalTestProcess('oss-visualRegression', './test/scripts/jenkins_visual_regression.sh')(1) - } - }, - 'xpack-visualRegression': { - workers.ci(name: 'xpack-visualRegression', size: 's', ramDisk: false) { - kibanaPipeline.functionalTestProcess('xpack-visualRegression', './test/scripts/jenkins_xpack_visual_regression.sh')(1) - } - }, - ]) - } + ciStats.trackBuild { + catchError { + parallel([ + 'oss-visualRegression': { + workers.ci(name: 'oss-visualRegression', size: 's', ramDisk: false) { + kibanaPipeline.functionalTestProcess('oss-visualRegression', './test/scripts/jenkins_visual_regression.sh')(1) + } + }, + 'xpack-visualRegression': { + workers.ci(name: 'xpack-visualRegression', size: 's', ramDisk: false) { + kibanaPipeline.functionalTestProcess('xpack-visualRegression', './test/scripts/jenkins_xpack_visual_regression.sh')(1) + } + }, + ]) + } - kibanaPipeline.sendMail() + kibanaPipeline.sendMail() + } } diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 638e86ef375fe..19116977756f4 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -128,6 +128,9 @@ /src/legacy/server/utils/ @elastic/kibana-operations /src/legacy/server/warnings/ @elastic/kibana-operations +# Quality Assurance +/src/dev/code_coverage @elastic/kibana-qa + # Platform /src/core/ @elastic/kibana-platform /config/kibana.yml @elastic/kibana-platform @@ -161,7 +164,8 @@ # Pulse /packages/kbn-analytics/ @elastic/pulse -/src/legacy/core_plugins/ui_metric/ @elastic/pulse +/src/plugins/kibana_usage_collection/ @elastic/pulse +/src/plugins/newsfeed/ @elastic/pulse /src/plugins/telemetry/ @elastic/pulse /src/plugins/telemetry_collection_manager/ @elastic/pulse /src/plugins/telemetry_management_section/ @elastic/pulse diff --git a/.gitignore b/.gitignore index 13c7cd5fb2769..f843609d32f7e 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,6 @@ npm-debug.log* .tern-project x-pack/plugins/apm/tsconfig.json apm.tsconfig.json +/x-pack/legacy/plugins/apm/e2e/snapshots.js /x-pack/plugins/apm/e2e/snapshots.js +.nyc_output diff --git a/.sass-lint.yml b/.sass-lint.yml index c8985108dabf2..db895583eb8a7 100644 --- a/.sass-lint.yml +++ b/.sass-lint.yml @@ -11,6 +11,7 @@ files: - 'x-pack/plugins/cross_cluster_replication/**/*.s+(a|c)ss' - 'x-pack/legacy/plugins/maps/**/*.s+(a|c)ss' - 'x-pack/plugins/maps/**/*.s+(a|c)ss' + - 'x-pack/plugins/spaces/**/*.s+(a|c)ss' ignore: - 'x-pack/plugins/canvas/shareable_runtime/**/*.s+(a|c)ss' rules: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e4a9d87bc56fc..a9a2f609e0913 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -414,6 +414,34 @@ extract them to a `JSON` file or integrate translations back to Kibana. To know We cannot support accepting contributions to the translations from any source other than the translators we have engaged to do the work. We are still to develop a proper process to accept any contributed translations. We certainly appreciate that people care enough about the localization effort to want to help improve the quality. We aim to build out a more comprehensive localization process for the future and will notify you once contributions can be supported, but for the time being, we are not able to incorporate suggestions. +### Syling with SASS + +When writing a new component, create a sibling SASS file of the same name and import directly into the JS/TS component file. Doing so ensures the styles are never separated or lost on import and allows for better modularization (smaller individual plugin asset footprint). + +Any JavaScript (or TypeScript) file that imports SASS (.scss) files will automatically build with the [EUI](https://elastic.github.io/eui/#/guidelines/sass) & Kibana invisibles (SASS variables, mixins, functions) from the [`styling_constants.scss` file](https://github.com/elastic/kibana/blob/master/src/legacy/ui/public/styles/_styling_constants.scss). However, any Legacy (file path includes `/legacy`) files will not. + +**Example:** + +```tsx +// component.tsx + +import './component.scss'; + +export const Component = () => { + return ( +
+ ); +} +``` + +```scss +// component.scss + +.plgComponent { ... } +``` + +Do not use the underscore `_` SASS file naming pattern when importing directly into a javascript file. + ### Testing and Building To ensure that your changes will not break other functionality, please run the test suite and build process before submitting your Pull Request. diff --git a/docs/api/features.asciidoc b/docs/api/features.asciidoc index da8b0edfe2261..57a87ff6342f9 100644 --- a/docs/api/features.asciidoc +++ b/docs/api/features.asciidoc @@ -29,7 +29,7 @@ The API returns the following: "id": "discover", "name": "Discover", "icon": "discoverApp", - "navLinkId": "kibana:discover", + "navLinkId": "discover", "app": [ "kibana" ], @@ -74,7 +74,7 @@ The API returns the following: "id": "visualize", "name": "Visualize", "icon": "visualizeApp", - "navLinkId": "kibana:visualize", + "navLinkId": "visualize", "app": [ "kibana" ], @@ -121,7 +121,7 @@ The API returns the following: "id": "dashboard", "name": "Dashboard", "icon": "dashboardApp", - "navLinkId": "kibana:dashboard", + "navLinkId": "dashboards", "app": [ "kibana" ], @@ -173,7 +173,7 @@ The API returns the following: "id": "dev_tools", "name": "Dev Tools", "icon": "devToolsApp", - "navLinkId": "kibana:dev_tools", + "navLinkId": "dev_tools", "app": [ "kibana" ], diff --git a/docs/apm/api.asciidoc b/docs/apm/api.asciidoc index 93733f5990a46..b26c7446b91d1 100644 --- a/docs/apm/api.asciidoc +++ b/docs/apm/api.asciidoc @@ -60,7 +60,7 @@ The following Agent configuration APIs are available: ====== `settings`:: -(required) Key/value object with settings and their corresponding value. +(required) Key/value object with option name and option value. `agent_name`:: (optional) The agent name is used by the UI to determine which settings to display. @@ -73,14 +73,14 @@ The following Agent configuration APIs are available: -------------------------------------------------- PUT /api/apm/settings/agent-configuration { - "service" : { - "name" : "frontend", - "environment" : "production" + "service": { + "name": "frontend", + "environment": "production" }, - "settings" : { - "transaction_sample_rate" : 0.4, - "capture_body" : "off", - "transaction_max_spans" : 500 + "settings": { + "transaction_sample_rate": "0.4", + "capture_body": "off", + "transaction_max_spans": "500" }, "agent_name": "nodejs" } @@ -124,7 +124,7 @@ PUT /api/apm/settings/agent-configuration DELETE /api/apm/settings/agent-configuration { "service" : { - "name" : "frontend", + "name": "frontend", "environment": "production" } } @@ -157,9 +157,9 @@ DELETE /api/apm/settings/agent-configuration "environment": "production" }, "settings": { - "transaction_sample_rate": 1, + "transaction_sample_rate": "1", "capture_body": "off", - "transaction_max_spans": 200 + "transaction_max_spans": "200" }, "@timestamp": 1581934104843, "applied_by_agent": false, @@ -171,9 +171,9 @@ DELETE /api/apm/settings/agent-configuration "name": "opbeans-go" }, "settings": { - "transaction_sample_rate": 1, + "transaction_sample_rate": "1", "capture_body": "off", - "transaction_max_spans": 300 + "transaction_max_spans": "300" }, "@timestamp": 1581934111727, "applied_by_agent": false, @@ -185,7 +185,7 @@ DELETE /api/apm/settings/agent-configuration "name": "frontend" }, "settings": { - "transaction_sample_rate": 1, + "transaction_sample_rate": "1", }, "@timestamp": 1582031336265, "applied_by_agent": false, @@ -250,7 +250,7 @@ GET /api/apm/settings/agent-configuration "name": "frontend" }, "settings": { - "transaction_sample_rate": 1, + "transaction_sample_rate": "1", }, "@timestamp": 1582031336265, "applied_by_agent": false, @@ -266,9 +266,9 @@ GET /api/apm/settings/agent-configuration -------------------------------------------------- POST /api/apm/settings/agent-configuration/search { - "etag" : "1e58c178efeebae15c25c539da740d21dee422fc", + "etag": "1e58c178efeebae15c25c539da740d21dee422fc", "service" : { - "name" : "frontend", + "name": "frontend", "environment": "production" } } diff --git a/docs/canvas/canvas-elements.asciidoc b/docs/canvas/canvas-elements.asciidoc index a25460a20eb50..4149039a3f87b 100644 --- a/docs/canvas/canvas-elements.asciidoc +++ b/docs/canvas/canvas-elements.asciidoc @@ -31,7 +31,7 @@ By default, most of the elements you create use demo data until you change the d [[canvas-add-object]] ==== Add a saved object -Add a <>, such as a map or Lens visualization, then customize it to fit your display needs. +Add a <>, then customize it to fit your display needs. . Click *Embed object*. diff --git a/docs/developer/plugin/development-plugin-feature-registration.asciidoc b/docs/developer/plugin/development-plugin-feature-registration.asciidoc index 4702204196bf2..d594a6d4255b2 100644 --- a/docs/developer/plugin/development-plugin-feature-registration.asciidoc +++ b/docs/developer/plugin/development-plugin-feature-registration.asciidoc @@ -153,7 +153,7 @@ init(server) { defaultMessage: 'Dev Tools', }), icon: 'devToolsApp', - navLinkId: 'kibana:dev_tools', + navLinkId: 'dev_tools', app: ['kibana'], catalogue: ['console', 'searchprofiler', 'grokdebugger'], privileges: { @@ -216,7 +216,7 @@ init(server) { }), order: 100, icon: 'discoverApp', - navLinkId: 'kibana:discover', + navLinkId: 'discover', app: ['kibana'], catalogue: ['discover'], privileges: { diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.extractsearchsourcereferences.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.extractsearchsourcereferences.md new file mode 100644 index 0000000000000..cd051cfeca6b0 --- /dev/null +++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.extractsearchsourcereferences.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [extractSearchSourceReferences](./kibana-plugin-plugins-data-public.extractsearchsourcereferences.md) + +## extractSearchSourceReferences variable + +Signature: + +```typescript +extractReferences: (state: SearchSourceFields) => [SearchSourceFields & { + indexRefName?: string | undefined; +}, SavedObjectReference[]] +``` diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.injectsearchsourcereferences.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.injectsearchsourcereferences.md new file mode 100644 index 0000000000000..b55f5b866244d --- /dev/null +++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.injectsearchsourcereferences.md @@ -0,0 +1,13 @@ + + +[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [injectSearchSourceReferences](./kibana-plugin-plugins-data-public.injectsearchsourcereferences.md) + +## injectSearchSourceReferences variable + +Signature: + +```typescript +injectReferences: (searchSourceFields: SearchSourceFields & { + indexRefName: string; +}, references: SavedObjectReference[]) => SearchSourceFields +``` diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.md index 8b58957b9044a..02cc34baf7c45 100644 --- a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.md +++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.md @@ -101,11 +101,14 @@ | [esFilters](./kibana-plugin-plugins-data-public.esfilters.md) | | | [esKuery](./kibana-plugin-plugins-data-public.eskuery.md) | | | [esQuery](./kibana-plugin-plugins-data-public.esquery.md) | | +| [extractSearchSourceReferences](./kibana-plugin-plugins-data-public.extractsearchsourcereferences.md) | | | [fieldFormats](./kibana-plugin-plugins-data-public.fieldformats.md) | | | [FilterBar](./kibana-plugin-plugins-data-public.filterbar.md) | | | [getIndexPatternFieldListCreator](./kibana-plugin-plugins-data-public.getindexpatternfieldlistcreator.md) | | | [getKbnTypeNames](./kibana-plugin-plugins-data-public.getkbntypenames.md) | Get the esTypes known by all kbnFieldTypes {Array} | | [indexPatterns](./kibana-plugin-plugins-data-public.indexpatterns.md) | | +| [injectSearchSourceReferences](./kibana-plugin-plugins-data-public.injectsearchsourcereferences.md) | | +| [parseSearchSourceJSON](./kibana-plugin-plugins-data-public.parsesearchsourcejson.md) | | | [QueryStringInput](./kibana-plugin-plugins-data-public.querystringinput.md) | | | [search](./kibana-plugin-plugins-data-public.search.md) | | | [SearchBar](./kibana-plugin-plugins-data-public.searchbar.md) | | diff --git a/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.parsesearchsourcejson.md b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.parsesearchsourcejson.md new file mode 100644 index 0000000000000..f5014c55fdaab --- /dev/null +++ b/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.parsesearchsourcejson.md @@ -0,0 +1,11 @@ + + +[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [parseSearchSourceJSON](./kibana-plugin-plugins-data-public.parsesearchsourcejson.md) + +## parseSearchSourceJSON variable + +Signature: + +```typescript +parseSearchSourceJSON: (searchSourceJSON: string) => SearchSourceFields +``` diff --git a/docs/maps/heatmap-layer.asciidoc b/docs/maps/heatmap-layer.asciidoc index 77b6d929a931c..7149bc5623169 100644 --- a/docs/maps/heatmap-layer.asciidoc +++ b/docs/maps/heatmap-layer.asciidoc @@ -2,15 +2,12 @@ [[heatmap-layer]] == Heat map layer -In the heat map layer, point data is clustered to show locations with higher densities. +Heat map layers cluster point data to show locations with higher densities. [role="screenshot"] image::maps/images/heatmap_layer.png[] -You can create a heat map layer from the following data source: - -*Grid aggregation*:: Geospatial data grouped in grids with metrics for each gridded cell. -Set *Show as* to *heat map*. +To add a heat map layer to your map, click *Add layer*, then select the *Heat map* layer. The index must contain at least one field mapped as {ref}/geo-point.html[geo_point]. NOTE: Only count, sum, unique count metric aggregations are available with the grid aggregation source and heat map layers. diff --git a/docs/maps/images/heatmap_layer.png b/docs/maps/images/heatmap_layer.png index 8d59de38beccd..87a45146f95a5 100644 Binary files a/docs/maps/images/heatmap_layer.png and b/docs/maps/images/heatmap_layer.png differ diff --git a/docs/maps/images/spatial_filters.png b/docs/maps/images/spatial_filters.png new file mode 100644 index 0000000000000..991e7f62962d0 Binary files /dev/null and b/docs/maps/images/spatial_filters.png differ diff --git a/docs/maps/images/tile_layer.png b/docs/maps/images/tile_layer.png index 60cb90ac5b90b..fc1d571b3e9b0 100644 Binary files a/docs/maps/images/tile_layer.png and b/docs/maps/images/tile_layer.png differ diff --git a/docs/maps/images/vector_layer.png b/docs/maps/images/vector_layer.png index a30f6c1d6acfd..6bc9701759ce7 100644 Binary files a/docs/maps/images/vector_layer.png and b/docs/maps/images/vector_layer.png differ diff --git a/docs/maps/index.asciidoc b/docs/maps/index.asciidoc index 56826c5209034..de90d7adb29c0 100644 --- a/docs/maps/index.asciidoc +++ b/docs/maps/index.asciidoc @@ -30,6 +30,7 @@ include::tile-layer.asciidoc[] include::vector-layer.asciidoc[] include::maps-aggregations.asciidoc[] include::search.asciidoc[] +include::map-settings.asciidoc[] include::connect-to-ems.asciidoc[] include::geojson-upload.asciidoc[] include::indexing-geojson-data-tutorial.asciidoc[] diff --git a/docs/maps/indexing-geojson-data-tutorial.asciidoc b/docs/maps/indexing-geojson-data-tutorial.asciidoc index bf846a2b80e03..c1ca9d0925c9a 100644 --- a/docs/maps/indexing-geojson-data-tutorial.asciidoc +++ b/docs/maps/indexing-geojson-data-tutorial.asciidoc @@ -87,14 +87,13 @@ hot spots are. An advantage of having indexed lightning strikes is that you can perform aggregations on the data. . Click *Add layer*. -. From the list of layer types, click *Grid aggregation*. +. From the list of layer types, click *Heat map*. + Because you indexed `lightning_detected.geojson` using the index name and pattern `lightning_detected`, that data is available as a {ref}/geo-point.html[geo_point] aggregation. . Select `lightning_detected`. -. Click *Show as* and select `heat map`. . Click *Add layer* to add the heat map layer "Lightning intensity". + diff --git a/docs/maps/map-settings.asciidoc b/docs/maps/map-settings.asciidoc new file mode 100644 index 0000000000000..4e290b6da2e71 --- /dev/null +++ b/docs/maps/map-settings.asciidoc @@ -0,0 +1,39 @@ +[role="xpack"] +[[maps-settings]] +== Map settings + +Elastic Maps offers settings that let you configure how a map is displayed. +To access these settings, click *Map settings* in the application toolbar. + +[float] +[[maps-settings-navigation]] +=== Navigation + +*Zoom range*:: +Constrain the map to the defined zoom range. + +*Initial map location*:: +Configure the initial map center and zoom. +* *Map location at save*: Use the map center and zoom from the map position at the time of the latest save. +* *Fixed location*: Lock the map center and zoom to fixed values. +* *Browser location*: Set the initial map center to the browser location. + +[float] +[[maps-settings-spatial-filters]] +=== Spatial filters + +Use spatial filter settings to configure how <> are displayed. + +image::maps/images/spatial_filters.png[] + +*Show spatial filters on map*:: +Clear the checkbox so <> do not appear on the map. + +*Opacity*:: +Set the opacity of spatial filters. + +*Fill color*:: +Set the fill color of spatial filters. + +*Border color*:: +Set the border color of spatial filters. diff --git a/docs/maps/maps-aggregations.asciidoc b/docs/maps/maps-aggregations.asciidoc index 2b65ae99a381b..6b03614ab9d6a 100644 --- a/docs/maps/maps-aggregations.asciidoc +++ b/docs/maps/maps-aggregations.asciidoc @@ -37,7 +37,7 @@ image::maps/images/grid_to_docs.gif[] [[maps-grid-aggregation]] === Grid aggregation -The *Grid aggregation* source uses {ref}/search-aggregations-bucket-geotilegrid-aggregation.html[GeoTile grid aggregation] to group your documents into grids. You can calculate metrics for each gridded cell. +*Grid aggregation* layers use {ref}/search-aggregations-bucket-geotilegrid-aggregation.html[GeoTile grid aggregation] to group your documents into grids. You can calculate metrics for each gridded cell. Symbolize grid aggregation metrics as: @@ -48,13 +48,13 @@ The cluster location is the weighted centroid for all geo-points in the gridded *Heat map*:: Creates a <> that clusters the weighted centroids for each gridded cell. -To enable grid aggregation: +To enable a grid aggregation layer: -. Click *Add layer*, then select the *Grid aggregation* source. +. Click *Add layer*, then select the *Clusters and grids* or *Heat map* layer. To enable a blended layer that dynamically shows clusters or documents: -. Click *Add layer*, then select the *Documents* source. +. Click *Add layer*, then select the *Documents* layer. . Configure *Index pattern* and the *Geospatial field*. To enable clustering, the *Geospatial field* must be set to a field mapped as {ref}/geo-point.html[geo_point]. . In *Scaling*, select *Show clusters when results exceed 10000*. @@ -69,7 +69,7 @@ then accumulates the most relevant documents based on sort order for each entry To enable top hits: -. Click *Add layer* button and select *Documents* source. +. Click *Add layer*, then select the *Documents* layer. . Configure *Index pattern* and *Geospatial field*. . In *Scaling*, select *Show top hits per entity*. . Set *Entity* to the field that identifies entities in your documents. @@ -99,7 +99,7 @@ image::maps/images/point_to_point.png[] Use term joins to augment vector features with properties for <> and richer tooltip content. -Term joins are available for <> with the following sources: +Term joins are available for the following <>: * Configured GeoJSON * Documents diff --git a/docs/maps/maps-getting-started.asciidoc b/docs/maps/maps-getting-started.asciidoc index 6495b8a057cf6..a74d442d6ffa2 100644 --- a/docs/maps/maps-getting-started.asciidoc +++ b/docs/maps/maps-getting-started.asciidoc @@ -62,10 +62,10 @@ The first layer you'll add is a choropleth layer to shade world countries by web log traffic. Darker shades symbolize countries with more web log traffic, and lighter shades symbolize countries with less traffic. -==== Add a vector layer from the Elastic Maps Service source +==== Add a vector layer to display world country boundaries -. In the map legend, click *Add layer*. -. Click the *EMS Boundaries* data source. +. Click *Add layer*. +. Select the *EMS Boundaries* layer. . From the *Layer* dropdown menu, select *World Countries*. . Click the *Add layer* button. . Set *Name* to `Total Requests by Country`. @@ -112,16 +112,16 @@ To avoid overwhelming the user with too much data at once, you'll add two layers * The first layer will display individual documents. The layer will appear when the user zooms in the map to show smaller regions. -* The second layer will show aggregated data that represents many documents. +* The second layer will display aggregated data that represents many documents. The layer will appear when the user zooms out the map to show larger amounts of the globe. -==== Add a vector layer from the document source +==== Add a vector layer to display individual documents This layer displays web log documents as points. The layer is only visible when users zoom in the map past zoom level 9. -. In the map legend, click *Add layer*. -. Click the *Documents* data source. +. Click *Add layer*. +. Click the *Documents* layer. . Set *Index pattern* to *kibana_sample_data_logs*. . Click the *Add layer* button. . Set *Name* to `Actual Requests`. @@ -137,7 +137,7 @@ Your map now looks like this between zoom levels 9 and 24: [role="screenshot"] image::maps/images/gs_add_es_document_layer.png[] -==== Add a vector layer from the grid aggregation source +==== Add a vector layer to display aggregated data Aggregations group {es} documents into grids. You can calculate metrics for each gridded cell. @@ -154,10 +154,9 @@ image::maps/images/grid_metrics_both.png[] ===== Add the layer -. In the map legend, click *Add layer*. -. Click the *Grid aggregation* data source. +. Click *Add layer*. +. Click the *Clusters and grids* layer. . Set *Index pattern* to *kibana_sample_data_logs*. -. Set *Show as* to *clusters*. . Click the *Add layer* button. . Set *Name* to `Total Requests and Bytes`. . Set *Visibility* to the range [0, 9]. diff --git a/docs/maps/search.asciidoc b/docs/maps/search.asciidoc index a461ab6fbb3a6..124a976c009d4 100644 --- a/docs/maps/search.asciidoc +++ b/docs/maps/search.asciidoc @@ -10,13 +10,13 @@ You can create a layer that requests data from {es} from the following: * <> with: -** Documents source +** Documents -** Grid aggregation source +** Clusters and grid ** <> -* <> with Grid aggregation source +* <> [role="screenshot"] image::maps/images/global_search_bar.png[] diff --git a/docs/maps/tile-layer.asciidoc b/docs/maps/tile-layer.asciidoc index 059dd527f4810..6da8dbad0a66d 100644 --- a/docs/maps/tile-layer.asciidoc +++ b/docs/maps/tile-layer.asciidoc @@ -2,12 +2,12 @@ [[tile-layer]] == Tile layer -The tile layer displays image tiles served from a tile server. +Tile layers display image tiles served from a tile server. [role="screenshot"] image::maps/images/tile_layer.png[] -You can create a tile layer from the following data sources: +To add a tile layer to your map, click *Add layer*, then select one of the following layers: *Configured Tile Map Service*:: Tile map service configured in kibana.yml. See map.tilemap.url in <> for details. diff --git a/docs/maps/vector-layer.asciidoc b/docs/maps/vector-layer.asciidoc index 17c57c82b0f17..d6a5931659a40 100644 --- a/docs/maps/vector-layer.asciidoc +++ b/docs/maps/vector-layer.asciidoc @@ -2,12 +2,15 @@ [[vector-layer]] == Vector layer -The vector layer displays points, lines, and polygons. +Vector layers display points, lines, and polygons. [role="screenshot"] image::maps/images/vector_layer.png[] -You can create a vector layer from the following sources: +To add a vector layer to your map, click *Add layer*, then select one of the following layers: + +*Clusters and grids*:: Geospatial data grouped in grids with metrics for each gridded cell. +The index must contain at least one field mapped as {ref}/geo-point.html[geo_point]. *Configured GeoJSON*:: Vector data from hosted GeoJSON configured in kibana.yml. See map.regionmap.* in <> for details. @@ -18,15 +21,13 @@ The index must contain at least one field mapped as {ref}/geo-point.html[geo_poi NOTE: Document results are limited to the `index.max_result_window` index setting, which defaults to 10000. Use <> to plot large data sets. -*Grid aggregation*:: Geospatial data grouped in grids with metrics for each gridded cell. -Set *Show as* to *grid rectangles* or *clusters*. -The index must contain at least one field mapped as {ref}/geo-point.html[geo_point]. - *EMS Boundaries*:: Administrative boundaries from https://www.elastic.co/elastic-maps-service[Elastic Maps Service]. *Point to point*:: Aggregated data paths between the source and destination. The index must contain at least 2 fields mapped as {ref}/geo-point.html[geo_point], source and destination. +*Upload Geojson*:: Index GeoJSON data in Elasticsearch. + include::vector-style.asciidoc[] include::vector-style-properties.asciidoc[] include::vector-tooltips.asciidoc[] diff --git a/docs/maps/vector-style.asciidoc b/docs/maps/vector-style.asciidoc index 7bc8a909d1ec6..5f5b3a1b2aecd 100644 --- a/docs/maps/vector-style.asciidoc +++ b/docs/maps/vector-style.asciidoc @@ -86,7 +86,7 @@ Qualitative data driven styling is available for the following styling propertie * *Label color* * *Label border color* -To ensure symbols are consistent as you pan, zoom, and filter the map, qualitative data driven styling uses a {ref}/search-aggregations-bucket-terms-aggregation.html[terms aggregation]. The term aggregation retrieves the top nine categories for the property. Feature values within the top categories are assigned a unique style. Feature values outside of the top categories are grouped into the *Other* category. A feature is assigned the *Other* category when the property value is undefined. +To ensure symbols are consistent as you pan, zoom, and filter the map, qualitative data driven styling uses a {ref}/search-aggregations-bucket-terms-aggregation.html[terms aggregation]. The term aggregation retrieves the top categories for the property. Feature values within the top categories are assigned a unique style. Feature values outside of the top categories are grouped into the *Other* category. A feature is assigned the *Other* category when the property value is undefined. To configure the terms aggregation, click the gear icon image:maps/images/gear_icon.png[]. Clear the *Get categories from indice* checkbox to turn off the terms aggregation request. diff --git a/docs/user/alerting/action-types.asciidoc b/docs/user/alerting/action-types.asciidoc index 09878b3059ac8..e8dcf689df8e4 100644 --- a/docs/user/alerting/action-types.asciidoc +++ b/docs/user/alerting/action-types.asciidoc @@ -41,9 +41,9 @@ see https://www.elastic.co/subscriptions[the subscription page]. [float] [[create-connectors]] -=== Preconfigured connectors and action types +=== Preconfigured actions and connectors -For out-of-the-box and standardized connectors, you can <> +For out-of-the-box and standardized connectors, you can <> before {kib} starts. If you preconfigure a connector, you can also <>. @@ -54,4 +54,4 @@ include::action-types/pagerduty.asciidoc[] include::action-types/server-log.asciidoc[] include::action-types/slack.asciidoc[] include::action-types/webhook.asciidoc[] -include::pre-configured-connectors.asciidoc[] +include::action-types/pre-configured-connectors.asciidoc[] diff --git a/docs/user/alerting/action-types/email.asciidoc b/docs/user/alerting/action-types/email.asciidoc index 81b4e210961f6..4fb8a816d1ec9 100644 --- a/docs/user/alerting/action-types/email.asciidoc +++ b/docs/user/alerting/action-types/email.asciidoc @@ -28,27 +28,46 @@ Password:: password for 'login' type authentication. name: preconfigured-email-action-type actionTypeId: .email config: - from: testsender@test.com <1.1> - host: validhostname <1.2> - port: 8080 <1.3> - secure: false <1.4> + from: testsender@test.com + host: validhostname + port: 8080 + secure: false secrets: - user: testuser <2.1> - password: passwordkeystorevalue <2.2> + user: testuser + password: passwordkeystorevalue -- `config` defines the action type specific to the configuration and contains the following properties: -<1.1> `from:` is an email address and correspond to *Sender*. -<1.2> `host:` is a string and correspond to *Host*. -<1.3> `port:` is a number and correspond to *Port*. -<1.4> `secure:` is a boolean and correspond to *Secure*. +[cols="2*<"] +|=== -`secrets` defines action type sensitive configuration: +| `from` +| An email address that corresponds to *Sender*. -<2.1> `user:` is a string and correspond to *User*. -<2.2> `password:` is a string and correspond to *Password*. Should be stored in the <>. +| `host` +| A string that corresponds to *Host*. +| `port` +| A number that corresponds to *Port*. + +| `secure` +| A boolean that corresponds to *Secure*. + +|=== + +`secrets` defines sensitive information for the action type: + +[cols="2*<"] +|=== + +| `user` +| A string that corresponds to *User*. + +| `password` +| A string that corresponds to *Password*. Should be stored in the <>. + +|=== [[email-action-configuration]] ==== Action configuration diff --git a/docs/user/alerting/action-types/index.asciidoc b/docs/user/alerting/action-types/index.asciidoc index c71412210c535..115423086bae3 100644 --- a/docs/user/alerting/action-types/index.asciidoc +++ b/docs/user/alerting/action-types/index.asciidoc @@ -25,16 +25,26 @@ Execution time field:: This field will be automatically set to the time the ale name: action-type-index actionTypeId: .index config: - index: .kibana <1> - refresh: true <2> - executionTimeField: somedate <3> + index: .kibana + refresh: true + executionTimeField: somedate -- `config` defines the action type specific to the configuration and contains the following properties: -<1> `index:` is a string and correspond to *Index*. -<2> `refresh:` is a boolean and correspond to *Refresh*. -<3> `executionTimeField:` is a string and correspond to *Execution time field*. +[cols="2*<"] +|=== + +|`index` +| A string that corresponds to *Index*. + +|`refresh` +| A boolean that corresponds to *Refresh*. + +|`executionTimeField` +| A string that corresponds to *Execution time field*. + +|=== [float] diff --git a/docs/user/alerting/action-types/pagerduty.asciidoc b/docs/user/alerting/action-types/pagerduty.asciidoc index cd51ec2e3301e..0468ab042e57e 100644 --- a/docs/user/alerting/action-types/pagerduty.asciidoc +++ b/docs/user/alerting/action-types/pagerduty.asciidoc @@ -145,18 +145,19 @@ Integration Key:: A 32 character PagerDuty Integration Key for an integration name: preconfigured-pagerduty-action-type actionTypeId: .pagerduty config: - apiUrl: https://test.host <1.1> + apiUrl: https://test.host secrets: - routingKey: testroutingkey <2.1> + routingKey: testroutingkey -- -`config` defines the action type specific to the configuration and contains the following properties: +`config` defines the action type specific to the configuration. +`config` contains +`apiURL`, a string that corresponds to *API URL*. -<1.1> `apiUrl:` is URL string and correspond to *API URL*. +`secrets` defines sensitive information for the action type. +`secrets` contains +`routingKey`, a string that corresponds to *Integration Key*. -`secrets` defines action type sensitive configuration: - -<2.1> `routingKey:` is a string and correspond to *Integration Key*. [float] [[pagerduty-action-configuration]] diff --git a/docs/user/alerting/action-types/pre-configured-connectors.asciidoc b/docs/user/alerting/action-types/pre-configured-connectors.asciidoc new file mode 100644 index 0000000000000..b3e401256f27b --- /dev/null +++ b/docs/user/alerting/action-types/pre-configured-connectors.asciidoc @@ -0,0 +1,121 @@ +[role="xpack"] +[[pre-configured-action-types-and-connectors]] + +=== Preconfigured connectors and action types + +You can preconfigure a connector or action type to have all the information it needs prior to startup +by adding it to the `kibana.yml` file. + +Preconfigured connectors offer the following capabilities: + +- Require no setup. Configuration and credentials needed to execute an +action are predefined, including the connector name and ID. +- Appear in all spaces because they are not saved objects. +- Cannot be edited or deleted. + +A preconfigured action type has only preconfigured connectors. Preconfigured +connectors can belong to either the preconfigured action type or to the regular action type. + +[float] +[[preconfigured-connector-example]] +==== Preconfigured connectors + +This example shows a valid configuration for +two out-of-the box connectors: <> and <>. + +```js + xpack.actions.preconfigured: + my-slack1: <1> + actionTypeId: .slack <2> + name: 'Slack #xyz' <3> + config: <4> + webhookUrl: 'https://hooks.slack.com/services/abcd/efgh/ijklmnopqrstuvwxyz' + webhook-service: + actionTypeId: .webhook + name: 'Email service' + config: + url: 'https://email-alert-service.elastic.co' + method: post + headers: + header1: value1 + header2: value2 + secrets: <5> + user: elastic + password: changeme +``` + +<1> The key is the action connector identifier, `my-slack1` in this example. +<2> `actionTypeId` is the action type identifier. +<3> `name` is the name of the preconfigured connector. +<4> `config` is the action type specific to the configuration. +<5> `secrets` is sensitive configuration, such as username, password, and keys. + +[NOTE] +============================================== +Sensitive properties, such as passwords, can also be stored in the <>. +============================================== + +//// +[float] +[[managing-pre-configured-connectors]] +==== View preconfigured connectors +//// + +In *Management > Alerts and Actions*, preconfigured connectors +appear in the <>, +regardless of which space you are in. +They are tagged as “preconfigured”, and you cannot delete them. + +[role="screenshot"] +image::images/pre-configured-connectors-managing.png[Connectors managing tab with pre-cofigured] + +Clicking a preconfigured connector shows the description, but not the configuration. +A message indicates that this is a preconfigured connector. + +[role="screenshot"] +image::images/pre-configured-connectors-view-screen.png[Pre-configured connector view details] + +The connector details preview is disabled for preconfigured connectors +of a preconfigured action type. + +[role="screenshot"] +image::images/pre-configured-action-type-managing.png[Connectors managing tab with pre-cofigured] + +[float] +[[preconfigured-action-type-example]] +==== Preconfigured action type + +This example shows a preconfigured action type with one out-of-the box connector. + +```js + xpack.actions.enabledActionTypes: ['.slack', '.email', '.index'] <1> + xpack.actions.preconfigured: <2> + my-server-log: + actionTypeId: .server-log + name: 'Server log #xyz' +``` + +<1> `enabledActionTypes` excludes the preconfigured action type to prevent creating and deleting connectors. +<2> `preconfigured` is the setting for defining the list of available connectors for the preconfigured action type. + +[[managing-pre-configured-action-types]] +To attach a preconfigured action to an alert: + +. In *Management > Alerts and Actions*, open the *Connectors* tab. + +. Click *Create connector.* + +. In the list of available action types, select the preconfigured action type you want. ++ +[role="screenshot"] +image::images/pre-configured-action-type-select-type.png[Pre-configured connector create menu] + +. In *Create alert*, open the connector dropdown, and then select the preconfigured +connector. ++ +The `preconfigured` label distinguishes it from a space-aware connector. ++ +[role="screenshot"] +image::images/alert-pre-configured-connectors-dropdown.png[Dropdown list with pre-cofigured connectors] + +. Click *Add action*. diff --git a/docs/user/alerting/action-types/slack.asciidoc b/docs/user/alerting/action-types/slack.asciidoc index afa616ba77b3a..5bad8a53f898c 100644 --- a/docs/user/alerting/action-types/slack.asciidoc +++ b/docs/user/alerting/action-types/slack.asciidoc @@ -23,12 +23,12 @@ Webhook URL:: The URL of the incoming webhook. See https://api.slack.com/messa name: preconfigured-slack-action-type actionTypeId: .slack config: - webhookUrl: 'https://hooks.slack.com/services/abcd/efgh/ijklmnopqrstuvwxyz' <1> + webhookUrl: 'https://hooks.slack.com/services/abcd/efgh/ijklmnopqrstuvwxyz' -- -`config` defines the action type specific to the configuration and contains the following properties: - -<1> `webhookUrl:` is URL string and correspond to *Webhook URL*. +`config` defines the action type specific to the configuration. +`config` contains +`webhookUrl`, a string that corresponds to *Webhook URL*. [float] diff --git a/docs/user/alerting/action-types/webhook.asciidoc b/docs/user/alerting/action-types/webhook.asciidoc index 27609652288b5..c91c24430e982 100644 --- a/docs/user/alerting/action-types/webhook.asciidoc +++ b/docs/user/alerting/action-types/webhook.asciidoc @@ -19,7 +19,7 @@ Password:: An optional password. If set, HTTP basic authentication is used. Cur [float] [[Preconfigured-webhook-configuration]] -==== Preconfigured action type +==== Preconfigured action type [source,text] -- @@ -27,25 +27,44 @@ Password:: An optional password. If set, HTTP basic authentication is used. Cur name: preconfigured-webhook-action-type actionTypeId: .webhook config: - url: https://test.host <1.1> - method: POST <1.2> - headers: <1.3> + url: https://test.host + method: POST + headers: testheader: testvalue secrets: - user: testuser <2.1> - password: passwordkeystorevalue <2.2> + user: testuser + password: passwordkeystorevalue -- `config` defines the action type specific to the configuration and contains the following properties: -<1.1> `url:` is URL string and correspond to *URL*. -<1.2> `method:` is a string and correspond to *Method*. -<1.3> `headers:` is Record and correspond to *Headers*. +[cols="2*<"] +|=== -`secrets` defines action type sensitive configuration: +|`url` +| A URL string that corresponds to *URL*. + +|`method` +| A string that corresponds to *Method*. + +|`headers` +|A record that corresponds to *Headers*. + +|=== + +`secrets` defines sensitive information for the action type: + +[cols="2*<"] +|=== + +|`user` +|A string that corresponds to *User*. + +|`password` +|A string that corresponds to *Password*. Should be stored in the <>. + +|=== -<2.1> `user:` is a string and correspond to *User*. -<2.2> `password:` is a string and correspond to *Password*. Should be stored in the <>. [float] [[webhook-action-configuration]] diff --git a/docs/user/alerting/images/alert-pre-configured-connectors-dropdown.png b/docs/user/alerting/images/alert-pre-configured-connectors-dropdown.png index 4e6c713298626..081688758eb48 100644 Binary files a/docs/user/alerting/images/alert-pre-configured-connectors-dropdown.png and b/docs/user/alerting/images/alert-pre-configured-connectors-dropdown.png differ diff --git a/docs/user/alerting/images/alert-pre-configured-slack-connector.png b/docs/user/alerting/images/alert-pre-configured-slack-connector.png index de05e2074ddde..e9d81877fbf4f 100644 Binary files a/docs/user/alerting/images/alert-pre-configured-slack-connector.png and b/docs/user/alerting/images/alert-pre-configured-slack-connector.png differ diff --git a/docs/user/alerting/images/pre-configured-action-type-select-type.png b/docs/user/alerting/images/pre-configured-action-type-select-type.png index 29e5a29edc7c0..91ca831840ce9 100644 Binary files a/docs/user/alerting/images/pre-configured-action-type-select-type.png and b/docs/user/alerting/images/pre-configured-action-type-select-type.png differ diff --git a/docs/user/alerting/images/pre-configured-connectors-view-screen.png b/docs/user/alerting/images/pre-configured-connectors-view-screen.png index 43ac44e7536d8..9c75f86498beb 100644 Binary files a/docs/user/alerting/images/pre-configured-connectors-view-screen.png and b/docs/user/alerting/images/pre-configured-connectors-view-screen.png differ diff --git a/docs/user/alerting/pre-configured-connectors.asciidoc b/docs/user/alerting/pre-configured-connectors.asciidoc deleted file mode 100644 index d5c20d1853d42..0000000000000 --- a/docs/user/alerting/pre-configured-connectors.asciidoc +++ /dev/null @@ -1,128 +0,0 @@ -[role="xpack"] -[[pre-configured-action-types-and-connectors]] - -== Preconfigured connectors and action types - -You can preconfigure an action type or a connector to have all the information it needs prior to startup -by adding it to the `kibana.yml` file. - -Preconfigured connectors offer the following capabilities: - -- Require no setup. Configuration and credentials needed to execute an -action are predefined, including the connector name and ID. -- Appear in all spaces because they are not saved objects. -- Cannot be edited or deleted. - -Sensitive configuration information, such as credentials, can use the <>. - -A preconfigured action types has only preconfigured connectors. Preconfigured connectors can belong to either the preconfigured action type or to the regular action type. - -[float] -[[preconfigured-connector-example]] -=== Creating a preconfigured connector - -The following example shows a valid configuration of two out-of-the box connectors: <> and <>. - -```js - xpack.actions.preconfigured: - my-slack1: <1> - actionTypeId: .slack <2> - name: 'Slack #xyz' <3> - config: <4> - webhookUrl: 'https://hooks.slack.com/services/abcd/efgh/ijklmnopqrstuvwxyz' - webhook-service: - actionTypeId: .webhook - name: 'Email service' - config: - url: 'https://email-alert-service.elastic.co' - method: post - headers: - header1: value1 - header2: value2 - secrets: <5> - user: elastic - password: changeme -``` - -<1> the key is the action connector identifier, eg `my-slack1` in this example. -<2> `actionTypeId` is the action type identifier. -<3> `name` is the name of the preconfigured connector. -<4> `config` is the action type specific to the configuration. -<5> `secrets` is sensitive configuration, such as username, password, and keys. - -[NOTE] -============================================== -Sensitive properties, such as passwords, can also be stored in the <>. -============================================== - -[float] -[[preconfigured-action-type-example]] -=== Creating a preconfigured action type - -In the `kibana.yml` file: - -. Exclude the action type from `xpack.actions.enabledActionTypes`. -. Add all its preconfigured connectors. - -The following example shows a valid configuration of preconfigured action type with one out-of-the box connector. - -```js - xpack.actions.enabledActionTypes: ['.slack', '.email', '.index'] <1> - xpack.actions.preconfigured: <2> - my-server-log: - actionTypeId: .server-log - name: 'Server log #xyz' -``` - -<1> `enabledActionTypes` should exclude preconfigured action type to prevent creating and deleting connectors. -<2> `preconfigured` is the setting for defining the list of available connectors for the preconfigured action type. - -[float] -[[managing-pre-configured-connectors]] -=== Managing preconfigured connectors - -Preconfigured connectors appear in the connector list, regardless of which space the user is in. -They are tagged as “preconfigured” and cannot be deleted. - -[role="screenshot"] -image::images/pre-configured-connectors-managing.png[Connectors managing tab with pre-cofigured] - -Clicking on a preconfigured connector shows the description, but not any of the configuration. -A message indicates that this is a preconfigured connector. - -[role="screenshot"] -image::images/pre-configured-connectors-view-screen.png[Pre-configured connector view details] - -The connector details preview is disabled for preconfigured connectors. - -[role="screenshot"] -image::images/pre-configured-action-type-managing.png[Connectors managing tab with pre-cofigured] - - -[float] -[[managing-pre-configured-action-types]] -=== Managing preconfigured action types - -Clicking *Create connector* shows the list of available action types. -Disabled action types are not included. - -[role="screenshot"] -image::images/pre-configured-action-type-select-type.png[Pre-configured connector create menu] - -[float] -[[pre-configured-connector-alert-form]] -=== Alert with a preconfigured connector - -When attaching an action to an alert, -select from a list of available action types, and -then select the Slack or Webhook type. Those action types were configured previously. -The preconfigured connector is installed and is automatically selected. - -[role="screenshot"] -image::images/alert-pre-configured-slack-connector.png[Create alert with selected Slack action type] - -The dropdown is populated with additional preconfigured Slack connectors. -The `preconfigured` label distinguishes them from space-aware connectors that use saved objects. - -[role="screenshot"] -image::images/alert-pre-configured-connectors-dropdown.png[Dropdown list with pre-cofigured connectors] diff --git a/docs/user/dashboard.asciidoc b/docs/user/dashboard.asciidoc index de714ae40086b..301efb2dfe2c0 100644 --- a/docs/user/dashboard.asciidoc +++ b/docs/user/dashboard.asciidoc @@ -174,7 +174,7 @@ to view an embedded dashboard. * Generate a PNG report TIP: To create a link to a dashboard by title, use: + -`${domain}/${basepath?}/app/kibana#/dashboards?title=${yourdashboardtitle}` +`${domain}/${basepath?}/app/dashboards#/list?title=${yourdashboardtitle}` TIP: When sharing a link to a dashboard snapshot, use the *Short URL*. Snapshot URLs are long and can be problematic for Internet Explorer and other diff --git a/docs/user/plugins.asciidoc b/docs/user/plugins.asciidoc index 83c1ab1a842bb..a96fe811dc84f 100644 --- a/docs/user/plugins.asciidoc +++ b/docs/user/plugins.asciidoc @@ -33,12 +33,17 @@ $ bin/kibana-plugin install x-pack === Install plugins from an arbitrary URL You can download official Elastic plugins simply by specifying their name. You -can alternatively specify a URL to a specific plugin, as in the following -example: +can alternatively specify a URL or file path to a specific plugin, as in the following +examples: ["source","shell",subs="attributes"] $ bin/kibana-plugin install https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-{version}.zip +or + +["source","shell",subs="attributes"] +$ bin/kibana-plugin install file:///local/path/to/custom_plugin.zip + You can specify URLs that use the HTTP, HTTPS, or `file` protocols. [float] diff --git a/examples/alerting_example/public/alert_types/always_firing.tsx b/examples/alerting_example/public/alert_types/always_firing.tsx index a62a24365ea3f..b7add1f6d43ce 100644 --- a/examples/alerting_example/public/alert_types/always_firing.tsx +++ b/examples/alerting_example/public/alert_types/always_firing.tsx @@ -51,6 +51,7 @@ export function getAlertType(): AlertTypeModel { } return validationResult; }, + requiresAppContext: false, }; } diff --git a/examples/alerting_example/public/alert_types/astros.tsx b/examples/alerting_example/public/alert_types/astros.tsx index 9bda7da6f140d..3411c6722ccd6 100644 --- a/examples/alerting_example/public/alert_types/astros.tsx +++ b/examples/alerting_example/public/alert_types/astros.tsx @@ -99,6 +99,7 @@ export function getAlertType(): AlertTypeModel { return validationResult; }, + requiresAppContext: false, }; } diff --git a/examples/alerting_example/server/alert_types/always_firing.ts b/examples/alerting_example/server/alert_types/always_firing.ts index f0553ad5ebebd..dfee379013eb1 100644 --- a/examples/alerting_example/server/alert_types/always_firing.ts +++ b/examples/alerting_example/server/alert_types/always_firing.ts @@ -20,7 +20,7 @@ import uuid from 'uuid'; import { range } from 'lodash'; import { AlertType } from '../../../../x-pack/plugins/alerting/server'; -import { DEFAULT_INSTANCES_TO_GENERATE } from '../../common/constants'; +import { DEFAULT_INSTANCES_TO_GENERATE, ALERTING_EXAMPLE_APP_ID } from '../../common/constants'; export const alertType: AlertType = { id: 'example.always-firing', @@ -43,4 +43,5 @@ export const alertType: AlertType = { count, }; }, + producer: ALERTING_EXAMPLE_APP_ID, }; diff --git a/examples/alerting_example/server/alert_types/astros.ts b/examples/alerting_example/server/alert_types/astros.ts index 3a53f85e6a266..d22bc6164fa52 100644 --- a/examples/alerting_example/server/alert_types/astros.ts +++ b/examples/alerting_example/server/alert_types/astros.ts @@ -19,7 +19,7 @@ import axios from 'axios'; import { AlertType } from '../../../../x-pack/plugins/alerting/server'; -import { Operator, Craft } from '../../common/constants'; +import { Operator, Craft, ALERTING_EXAMPLE_APP_ID } from '../../common/constants'; interface PeopleInSpace { people: Array<{ @@ -79,4 +79,5 @@ export const alertType: AlertType = { peopleInSpace, }; }, + producer: ALERTING_EXAMPLE_APP_ID, }; diff --git a/package.json b/package.json index 0c83cb429b651..810d9ddb7e337 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,8 @@ "spec_to_console": "node scripts/spec_to_console", "backport-skip-ci": "backport --prDescription \"[skip-ci]\"", "storybook": "node scripts/storybook", - "cover:report": "nyc report --temp-dir target/kibana-coverage/functional --report-dir target/coverage/report --reporter=lcov && open ./target/coverage/report/lcov-report/index.html" + "cover:report": "nyc report --temp-dir target/kibana-coverage/functional --report-dir target/coverage/report --reporter=lcov && open ./target/coverage/report/lcov-report/index.html", + "cover:functional:merge": "nyc report --temp-dir target/kibana-coverage/functional --report-dir target/coverage/report/functional --reporter=json-summary" }, "repository": { "type": "git", diff --git a/packages/kbn-es/src/utils/native_realm.js b/packages/kbn-es/src/utils/native_realm.js index 247ddc461910f..086898abb6b67 100644 --- a/packages/kbn-es/src/utils/native_realm.js +++ b/packages/kbn-es/src/utils/native_realm.js @@ -76,6 +76,10 @@ exports.NativeRealm = class NativeRealm { } const reservedUsers = await this.getReservedUsers(); + if (!reservedUsers || reservedUsers.length < 1) { + throw new Error('no reserved users found, unable to set native realm passwords'); + } + await Promise.all( reservedUsers.map(async user => { await this.setPassword(user, options[`password.${user}`]); diff --git a/packages/kbn-plugin-helpers/cli.js b/packages/kbn-plugin-helpers/cli.js index c6fc48bc5be9a..48b70535272fe 100644 --- a/packages/kbn-plugin-helpers/cli.js +++ b/packages/kbn-plugin-helpers/cli.js @@ -88,6 +88,4 @@ program })) ); -program.command('postinstall').action(createCommanderAction('postinstall')); - program.parse(process.argv); diff --git a/packages/kbn-plugin-helpers/lib/tasks.js b/packages/kbn-plugin-helpers/lib/tasks.js index 0e33e2086d9c4..afc9c056d51d7 100644 --- a/packages/kbn-plugin-helpers/lib/tasks.js +++ b/packages/kbn-plugin-helpers/lib/tasks.js @@ -22,7 +22,6 @@ const startTask = require('../tasks/start'); const testAllTask = require('../tasks/test/all'); const testKarmaTask = require('../tasks/test/karma'); const testMochaTask = require('../tasks/test/mocha'); -const postinstallTask = require('../tasks/postinstall'); module.exports = { build: buildTask, @@ -30,5 +29,4 @@ module.exports = { testAll: testAllTask, testKarma: testKarmaTask, testMocha: testMochaTask, - postinstall: postinstallTask, }; diff --git a/packages/kbn-plugin-helpers/tasks/postinstall/index.js b/packages/kbn-plugin-helpers/tasks/postinstall/index.js deleted file mode 100644 index 9522e1e0e8998..0000000000000 --- a/packages/kbn-plugin-helpers/tasks/postinstall/index.js +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -const resolve = require('path').resolve; -const statSync = require('fs').statSync; - -module.exports = function(plugin) { - if ( - fileExists(resolve(plugin.root, '../kibana/package.json')) && - !fileExists(resolve(plugin.root, '../../kibana/package.json')) - ) { - process.stdout.write( - '\nWARNING: Kibana now requires that plugins must be located in ' + - '`../kibana-extra/{pluginName}` relative to the Kibana folder ' + - 'during development. We found a Kibana in `../kibana`, but not in ' + - '`../../kibana`.\n' - ); - } -}; - -function fileExists(path) { - try { - const stat = statSync(path); - return stat.isFile(); - } catch (e) { - return false; - } -} diff --git a/packages/kbn-spec-to-console/lib/convert.js b/packages/kbn-spec-to-console/lib/convert.js index 88e3693d702e5..9648ef0b85a4f 100644 --- a/packages/kbn-spec-to-console/lib/convert.js +++ b/packages/kbn-spec-to-console/lib/convert.js @@ -37,13 +37,16 @@ module.exports = spec => { Object.keys(spec).forEach(api => { const source = spec[api]; - if (source.url.paths.every(path => Boolean(path.deprecated))) { - return; - } - if (!source.url) { return result; } + + if (source.url.path) { + if (source.url.paths.every(path => Boolean(path.deprecated))) { + return; + } + } + const convertedSpec = (result[api] = {}); if (source.params) { const urlParams = convertParams(source.params); diff --git a/scripts/ingest_coverage.js b/scripts/ingest_coverage.js new file mode 100644 index 0000000000000..5defe22473d67 --- /dev/null +++ b/scripts/ingest_coverage.js @@ -0,0 +1,21 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +require('../src/setup_node_env'); +require('../src/dev/code_coverage/ingest_coverage').runCoverageIngestionCli(); diff --git a/src/core/CONVENTIONS.md b/src/core/CONVENTIONS.md index a82cc27839a1d..c124169580337 100644 --- a/src/core/CONVENTIONS.md +++ b/src/core/CONVENTIONS.md @@ -201,6 +201,36 @@ export class MyPlugin implements Plugin { } ``` +Prefer the pattern shown above, using `core.getStartServices()`, rather than store local references retrieved from `start`. + +**Bad:** +```ts +export class MyPlugin implements Plugin { + // Anti pattern + private coreStart?: CoreStart; + private depsStart?: DepsStart; + + public setup(core) { + core.application.register({ + id: 'my-app', + async mount(params) { + const { renderApp } = await import('./application/my_app'); + // Anti pattern - use `core.getStartServices()` instead! + return renderApp(this.coreStart, this.depsStart, params); + } + }); + } + + public start(core, deps) { + // Anti pattern + this.coreStart = core; + this.depsStart = deps; + } +} +``` + +The main reason to prefer the provided async accessor, is that it doesn't requires the developer to understand and reason about when that function can be called. Having an API that fails sometimes isn't a good API design, and it makes accurately testing this difficult. + #### Services Service structure should mirror the plugin lifecycle to make reasoning about how the service is executed more clear. diff --git a/src/core/README.md b/src/core/README.md index b30c62e21b296..87c42d9c6dab6 100644 --- a/src/core/README.md +++ b/src/core/README.md @@ -4,8 +4,8 @@ Core is a set of systems (frontend, backend etc.) that Kibana and its plugins ar ## Plugin development Core Plugin API Documentation: - - [Core Public API](/docs/development/core/public/kibana-plugin-public.md) - - [Core Server API](/docs/development/core/server/kibana-plugin-server.md) + - [Core Public API](/docs/development/core/public/kibana-plugin-core-public.md) + - [Core Server API](/docs/development/core/server/kibana-plugin-core-server.md) - [Conventions for Plugins](./CONVENTIONS.md) - [Testing Kibana Plugins](./TESTING.md) - [Migration guide for porting existing plugins](./MIGRATION.md) diff --git a/src/core/public/application/application_service.tsx b/src/core/public/application/application_service.tsx index fd496da26283c..6802c2363b9f8 100644 --- a/src/core/public/application/application_service.tsx +++ b/src/core/public/application/application_service.tsx @@ -198,6 +198,7 @@ export class ApplicationService { appBasePath: basePath.prepend(app.appRoute!), mount: wrapMount(plugin, app), unmountBeforeMounting: false, + legacy: false, }); }, registerLegacyApp: app => { @@ -232,6 +233,7 @@ export class ApplicationService { appBasePath, mount, unmountBeforeMounting: true, + legacy: true, }); }, registerAppUpdater: (appUpdater$: Observable) => diff --git a/src/core/public/application/integration_tests/router.test.tsx b/src/core/public/application/integration_tests/router.test.tsx index 915c58b28ad6d..9f379859dc34f 100644 --- a/src/core/public/application/integration_tests/router.test.tsx +++ b/src/core/public/application/integration_tests/router.test.tsx @@ -27,7 +27,7 @@ import { createRenderer, createAppMounter, createLegacyAppMounter, getUnmounter import { AppStatus } from '../types'; import { ScopedHistory } from '../scoped_history'; -describe('AppContainer', () => { +describe('AppRouter', () => { let mounters: MockedMounterMap; let globalHistory: History; let appStatuses$: BehaviorSubject>; @@ -78,6 +78,16 @@ describe('AppContainer', () => { history.push('/subpath'); }, }), + createAppMounter({ + appId: 'app5', + html: '
App 5
', + appRoute: '/app/my-app/app5', + }), + createAppMounter({ + appId: 'app6', + html: '
App 6
', + appRoute: '/app/my-app/app6', + }), ] as Array>); globalHistory = createMemoryHistory(); appStatuses$ = mountersToAppStatus$(); @@ -282,6 +292,16 @@ describe('AppContainer', () => { expect(unmount).not.toHaveBeenCalled(); }); + it('allows multiple apps with the same `/app/appXXX` appRoute prefix', async () => { + await navigate('/app/my-app/app5/path'); + expect(mounters.get('app5')!.mounter.mount).toHaveBeenCalledTimes(1); + expect(mounters.get('app6')!.mounter.mount).toHaveBeenCalledTimes(0); + + await navigate('/app/my-app/app6/another-path'); + expect(mounters.get('app5')!.mounter.mount).toHaveBeenCalledTimes(1); + expect(mounters.get('app6')!.mounter.mount).toHaveBeenCalledTimes(1); + }); + it('should not remount when when changing pages within app using hash history', async () => { globalHistory = createHashHistory(); update = createRenderer( diff --git a/src/core/public/application/integration_tests/utils.tsx b/src/core/public/application/integration_tests/utils.tsx index fa04b56f83ba1..6c1b81a26d63c 100644 --- a/src/core/public/application/integration_tests/utils.tsx +++ b/src/core/public/application/integration_tests/utils.tsx @@ -61,6 +61,7 @@ export const createAppMounter = ({ mounter: { appRoute, appBasePath: appRoute, + legacy: false, mount: jest.fn(async (params: AppMountParameters) => { const { appBasePath: basename, element } = params; Object.assign(element, { @@ -88,6 +89,7 @@ export const createLegacyAppMounter = ( appRoute: `/app/${appId.split(':')[0]}`, appBasePath: `/app/${appId.split(':')[0]}`, unmountBeforeMounting: true, + legacy: true, mount: legacyMount, }, unmount: jest.fn(), diff --git a/src/core/public/application/types.ts b/src/core/public/application/types.ts index 0734e178033e2..786d11a5ced7f 100644 --- a/src/core/public/application/types.ts +++ b/src/core/public/application/types.ts @@ -549,6 +549,7 @@ export type Mounter = SelectivePartial< appRoute: string; appBasePath: string; mount: T extends LegacyApp ? LegacyAppMounter : AppMounter; + legacy: boolean; unmountBeforeMounting: T extends LegacyApp ? true : boolean; }, T extends LegacyApp ? never : 'unmountBeforeMounting' diff --git a/src/core/public/application/ui/app_container.test.tsx b/src/core/public/application/ui/app_container.test.tsx index 2ee71a5bde7dc..5d573d47bd420 100644 --- a/src/core/public/application/ui/app_container.test.tsx +++ b/src/core/public/application/ui/app_container.test.tsx @@ -54,6 +54,7 @@ describe('AppContainer', () => { appBasePath: '/base-path', appRoute: '/some-route', unmountBeforeMounting: false, + legacy: false, mount: async ({ element }: AppMountParameters) => { await promise; const container = document.createElement('div'); @@ -138,9 +139,10 @@ describe('AppContainer', () => { it('should call setIsMounting(false) if mounting throws', async () => { const [waitPromise, resolvePromise] = createResolver(); const mounter = { - appBasePath: '/base-path', + appBasePath: '/base-path/some-route', appRoute: '/some-route', unmountBeforeMounting: false, + legacy: false, mount: async ({ element }: AppMountParameters) => { await waitPromise; throw new Error(`Mounting failed!`); diff --git a/src/core/public/application/ui/app_router.tsx b/src/core/public/application/ui/app_router.tsx index ea7c5c9308fe2..5d02f96134b27 100644 --- a/src/core/public/application/ui/app_router.tsx +++ b/src/core/public/application/ui/app_router.tsx @@ -55,26 +55,25 @@ export const AppRouter: FunctionComponent = ({ return ( - {[...mounters].flatMap(([appId, mounter]) => - // Remove /app paths from the routes as they will be handled by the - // "named" route parameter `:appId` below - mounter.appBasePath.startsWith('/app') - ? [] - : [ - ( - - )} - />, - ] - )} + {[...mounters] + // legacy apps can have multiple sub-apps registered with the same route + // which needs additional logic that is handled in the catch-all route below + .filter(([_, mounter]) => !mounter.legacy) + .map(([appId, mounter]) => ( + ( + + )} + /> + ))} + {/* handler for legacy apps and used as a catch-all to display 404 page on not existing /app/appId apps*/}
-
-
- -
-
-
+
+ + +
+
+
+
- + recent 2 + + + +
+
+
+
+
+
+ +
+
+
+
+ +
+
+
+

@@ -933,6 +1038,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` >
+
+
@@ -964,7 +1078,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` class="euiTitle euiTitle--xxsmall euiCollapsibleNavGroup__title" id="mockId__title" > - Recently viewed + Kibana
@@ -983,41 +1097,55 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` class="euiCollapsibleNavGroup__children" >
- Kibana - -
-
- - -
- -
-
-
- +
+
+ +
+
+
+ + + +
+
+
+
+
+
+ + @@ -1637,11 +1874,13 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` className="euiFlexItem eui-yScroll" > + + - Recently viewed + Kibana } className="euiCollapsibleNavGroup euiCollapsibleNavGroup--withHeading" + data-test-subj="collapsibleNavGroup-kibana" id="mockId" initialIsOpen={true} onToggle={[Function]} @@ -1674,6 +1923,7 @@ exports[`CollapsibleNav renders links grouped by category 1`] = ` >
+ +
+
-
-
- -
- - - - - - - - - -

- Kibana -

-
-
- - } - className="euiCollapsibleNavGroup euiCollapsibleNavGroup--withHeading" - data-test-subj="collapsibleNavGroup-kibana" - id="mockId" - initialIsOpen={true} - onToggle={[Function]} - paddingSize="none" - > -
-
- -
-
- -
-
-
-
- -
-
- -
+ + +

+ Recently viewed +

+
+
+ + } + className="euiCollapsibleNavGroup euiCollapsibleNavGroup--light euiCollapsibleNavGroup--withHeading" + data-test-subj="collapsibleNavGroup-recentlyViewed" + id="mockId" + initialIsOpen={true} + onToggle={[Function]} + paddingSize="none" > - - + -
-
- +
+ + + +
+
+ +
+
-
-
+
-
- -
-

- No recently viewed items -

-
-
+

+ No recently viewed items +

-
+
-
+
- +
-
- - + +
+
+ + + +
+
+ +
-
-
- -
-
-
+
+ + +
+
+
+
-
-

- No recently viewed items -

-
+

+ No recently viewed items +

+
+
+
-
-
- -
-
-
+
+ + +
+
+
+
-
-

- No recently viewed items -

-
+

+ No recently viewed items +

+
+
+
- -
-
- -
+ + +

+ Recently viewed +

+
+
+ + } + className="euiCollapsibleNavGroup euiCollapsibleNavGroup--light euiCollapsibleNavGroup--withHeading" + data-test-subj="collapsibleNavGroup-recentlyViewed" + id="mockId" + initialIsOpen={true} + onToggle={[Function]} + paddingSize="none" > - - - - -

- Recently viewed -

-
-
- - } - className="euiCollapsibleNavGroup euiCollapsibleNavGroup--withHeading" - id="mockId" - initialIsOpen={true} - onToggle={[Function]} - paddingSize="none" +
-
-
- -
-
- +
+ + + +
+
+ +
+
-
-
+
-
- -
-

- No recently viewed items -

-
-
+

+ No recently viewed items +

-
+
-
+
- +
-
- - + +
+
+ + + +
+
+ +
({ htmlIdGenerator: () => () => 'mockId', @@ -31,24 +31,25 @@ jest.mock('@elastic/eui/lib/services/accessibility/html_id_generator', () => ({ const { kibana, observability, security, management } = DEFAULT_APP_CATEGORIES; -function mockLink(label: string, category?: AppCategory) { +function mockLink({ label = 'discover', category, onClick }: Partial) { return { key: label, label, href: label, isActive: true, - onClick: () => {}, + onClick: onClick || (() => {}), category, 'data-test-subj': label, }; } -function mockRecentNavLink(label: string) { +function mockRecentNavLink({ label = 'recent', onClick }: Partial) { return { href: label, label, title: label, 'aria-label': label, + onClick, }; } @@ -63,9 +64,24 @@ function mockProps() { storage: new StubBrowserStorage(), onIsOpenUpdate: () => {}, onIsLockedUpdate: () => {}, + navigateToApp: () => {}, }; } +function expectShownNavLinksCount(component: ReactWrapper, count: number) { + expect( + component.find('.euiAccordion-isOpen a[data-test-subj^="collapsibleNavAppLink"]').length + ).toEqual(count); +} + +function expectNavIsClosed(component: ReactWrapper) { + expectShownNavLinksCount(component, 0); +} + +function clickGroup(component: ReactWrapper, group: string) { + component.find(`[data-test-subj="collapsibleNavGroup-${group}"] button`).simulate('click'); +} + describe('CollapsibleNav', () => { // this test is mostly an "EUI works as expected" sanity check it('renders the default nav', () => { @@ -87,16 +103,19 @@ describe('CollapsibleNav', () => { it('renders links grouped by category', () => { // just a test of category functionality, categories are not accurate const navLinks = [ - mockLink('discover', kibana), - mockLink('siem', security), - mockLink('metrics', observability), - mockLink('monitoring', management), - mockLink('visualize', kibana), - mockLink('dashboard', kibana), - mockLink('canvas'), // links should be able to be rendered top level as well - mockLink('logs', observability), + mockLink({ label: 'discover', category: kibana }), + mockLink({ label: 'siem', category: security }), + mockLink({ label: 'metrics', category: observability }), + mockLink({ label: 'monitoring', category: management }), + mockLink({ label: 'visualize', category: kibana }), + mockLink({ label: 'dashboard', category: kibana }), + mockLink({ label: 'canvas' }), // links should be able to be rendered top level as well + mockLink({ label: 'logs', category: observability }), + ]; + const recentNavLinks = [ + mockRecentNavLink({ label: 'recent 1' }), + mockRecentNavLink({ label: 'recent 2' }), ]; - const recentNavLinks = [mockRecentNavLink('recent 1'), mockRecentNavLink('recent 2')]; const component = mount( { }); it('remembers collapsible section state', () => { - function expectNavLinksCount(component: ReactWrapper, count: number) { - expect( - component.find('.euiAccordion-isOpen a[data-test-subj="collapsibleNavAppLink"]').length - ).toEqual(count); - } - - const navLinks = [ - mockLink('discover', kibana), - mockLink('siem', security), - mockLink('metrics', observability), - mockLink('monitoring', management), - mockLink('visualize', kibana), - mockLink('dashboard', kibana), - mockLink('logs', observability), - ]; - const component = mount(); - expectNavLinksCount(component, 7); - component.find('[data-test-subj="collapsibleNavGroup-kibana"] button').simulate('click'); - expectNavLinksCount(component, 4); + const navLinks = [mockLink({ category: kibana }), mockLink({ category: observability })]; + const recentNavLinks = [mockRecentNavLink({})]; + const component = mount( + + ); + expectShownNavLinksCount(component, 3); + clickGroup(component, 'kibana'); + clickGroup(component, 'recentlyViewed'); + expectShownNavLinksCount(component, 1); component.setProps({ isOpen: false }); - expectNavLinksCount(component, 0); // double check the nav closed + expectNavIsClosed(component); + component.setProps({ isOpen: true }); + expectShownNavLinksCount(component, 1); + }); + + it('closes the nav after clicking a link', () => { + const onClick = sinon.spy(); + const onIsOpenUpdate = sinon.spy(); + const navLinks = [mockLink({ category: kibana, onClick })]; + const recentNavLinks = [mockRecentNavLink({ onClick })]; + const component = mount( + + ); + component.setProps({ + onIsOpenUpdate: (isOpen: boolean) => { + component.setProps({ isOpen }); + onIsOpenUpdate(); + }, + }); + + component.find('[data-test-subj="collapsibleNavGroup-recentlyViewed"] a').simulate('click'); + expect(onClick.callCount).toEqual(1); + expect(onIsOpenUpdate.callCount).toEqual(1); + expectNavIsClosed(component); component.setProps({ isOpen: true }); - expectNavLinksCount(component, 4); + component.find('[data-test-subj="collapsibleNavGroup-kibana"] a').simulate('click'); + expect(onClick.callCount).toEqual(2); + expect(onIsOpenUpdate.callCount).toEqual(2); }); }); diff --git a/src/core/public/chrome/ui/header/collapsible_nav.tsx b/src/core/public/chrome/ui/header/collapsible_nav.tsx index 274195f1917a5..60463d8dccc9b 100644 --- a/src/core/public/chrome/ui/header/collapsible_nav.tsx +++ b/src/core/public/chrome/ui/header/collapsible_nav.tsx @@ -78,6 +78,7 @@ interface Props { storage?: Storage; onIsLockedUpdate: OnIsLockedUpdate; onIsOpenUpdate: (isOpen?: boolean) => void; + navigateToApp: (appId: string) => void; } export function CollapsibleNav({ @@ -89,6 +90,7 @@ export function CollapsibleNav({ onIsOpenUpdate, homeHref, id, + navigateToApp, storage = window.localStorage, }: Props) { const lockRef = useRef(null); @@ -124,7 +126,19 @@ export function CollapsibleNav({ label: 'Home', iconType: 'home', href: homeHref, - onClick: () => onIsOpenUpdate(false), + onClick: (event: React.MouseEvent) => { + onIsOpenUpdate(false); + if ( + event.isDefaultPrevented() || + event.altKey || + event.metaKey || + event.ctrlKey + ) { + return; + } + event.preventDefault(); + navigateToApp('home'); + }, }, ]} maxWidth="none" @@ -135,49 +149,56 @@ export function CollapsibleNav({ + {/* Recently viewed */} + setIsCategoryOpen('recentlyViewed', isCategoryOpen, storage)} + data-test-subj="collapsibleNavGroup-recentlyViewed" + > + {recentNavLinks.length > 0 ? ( + {}, ...link }) => ({ + 'data-test-subj': 'collapsibleNavAppLink--recent', + onClick: (e: React.MouseEvent) => { + onIsOpenUpdate(false); + onClick(e); + }, + ...link, + }))} + maxWidth="none" + color="subdued" + gutterSize="none" + size="s" + className="kbnCollapsibleNav__recentsListGroup" + /> + ) : ( + +

+ {i18n.translate('core.ui.EmptyRecentlyViewed', { + defaultMessage: 'No recently viewed items', + })} +

+
+ )} +
+ - {/* Recently viewed */} - setIsCategoryOpen('recentlyViewed', isCategoryOpen, storage)} - > - {recentNavLinks.length > 0 ? ( - { - // TODO #64541 - // Can remove icon from recent links completely - const { iconType, ...linkWithoutIcon } = link; - return linkWithoutIcon; - })} - maxWidth="none" - color="subdued" - gutterSize="none" - size="s" - /> - ) : ( - -

- {i18n.translate('core.ui.EmptyRecentlyViewed', { - defaultMessage: 'No recently viewed items', - })} -

-
- )} -
- {/* Kibana, Observability, Security, and Management sections */} {orderedCategories.map((categoryName, i) => { const category = categoryDictionary[categoryName]!; const links = allCategorizedLinks[categoryName].map( - ({ label, href, isActive, isDisabled, onClick }: NavLink) => ({ + ({ label, href, isActive, isDisabled, onClick }) => ({ label, href, isActive, diff --git a/src/core/public/chrome/ui/header/header.tsx b/src/core/public/chrome/ui/header/header.tsx index fb94ef46cdc2c..09bc3972e0e40 100644 --- a/src/core/public/chrome/ui/header/header.tsx +++ b/src/core/public/chrome/ui/header/header.tsx @@ -247,6 +247,7 @@ export class Header extends Component { href={this.props.homeHref} forceNavigation={this.state.forceNavigation} navLinks={navLinks} + navigateToApp={this.props.application.navigateToApp} /> @@ -287,6 +288,7 @@ export class Header extends Component { this.toggleCollapsibleNavRef.current.focus(); } }} + navigateToApp={this.props.application.navigateToApp} /> ) : ( // TODO #64541 diff --git a/src/core/public/chrome/ui/header/header_logo.tsx b/src/core/public/chrome/ui/header/header_logo.tsx index 960ec637178e1..4296064945455 100644 --- a/src/core/public/chrome/ui/header/header_logo.tsx +++ b/src/core/public/chrome/ui/header/header_logo.tsx @@ -41,7 +41,8 @@ function findClosestAnchor(element: HTMLElement): HTMLAnchorElement | void { function onClick( event: React.MouseEvent, forceNavigation: boolean, - navLinks: NavLink[] + navLinks: NavLink[], + navigateToApp: (appId: string) => void ) { const anchor = findClosestAnchor((event as any).nativeEvent.target); if (!anchor) { @@ -54,32 +55,31 @@ function onClick( return; } - if ( - !forceNavigation || - event.isDefaultPrevented() || - event.altKey || - event.metaKey || - event.ctrlKey - ) { + if (event.isDefaultPrevented() || event.altKey || event.metaKey || event.ctrlKey) { return; } - const toParsed = Url.parse(anchor.href); - const fromParsed = Url.parse(document.location.href); - const sameProto = toParsed.protocol === fromParsed.protocol; - const sameHost = toParsed.host === fromParsed.host; - const samePath = toParsed.path === fromParsed.path; + if (forceNavigation) { + const toParsed = Url.parse(anchor.href); + const fromParsed = Url.parse(document.location.href); + const sameProto = toParsed.protocol === fromParsed.protocol; + const sameHost = toParsed.host === fromParsed.host; + const samePath = toParsed.path === fromParsed.path; - if (sameProto && sameHost && samePath) { - if (toParsed.hash) { - document.location.reload(); - } + if (sameProto && sameHost && samePath) { + if (toParsed.hash) { + document.location.reload(); + } - // event.preventDefault() keeps the browser from seeing the new url as an update - // and even setting window.location does not mimic that behavior, so instead - // we use stopPropagation() to prevent angular from seeing the click and - // starting a digest cycle/attempting to handle it in the router. - event.stopPropagation(); + // event.preventDefault() keeps the browser from seeing the new url as an update + // and even setting window.location does not mimic that behavior, so instead + // we use stopPropagation() to prevent angular from seeing the click and + // starting a digest cycle/attempting to handle it in the router. + event.stopPropagation(); + } + } else { + navigateToApp('home'); + event.preventDefault(); } } @@ -87,14 +87,15 @@ interface Props { href: string; navLinks: NavLink[]; forceNavigation: boolean; + navigateToApp: (appId: string) => void; } -export function HeaderLogo({ href, forceNavigation, navLinks }: Props) { +export function HeaderLogo({ href, forceNavigation, navLinks, navigateToApp }: Props) { return ( onClick(e, forceNavigation, navLinks)} + onClick={e => onClick(e, forceNavigation, navLinks, navigateToApp)} href={href} aria-label={i18n.translate('core.ui.chrome.headerGlobalNav.goHomePageIconAriaLabel', { defaultMessage: 'Go to home page', diff --git a/src/core/public/chrome/ui/header/nav_link.tsx b/src/core/public/chrome/ui/header/nav_link.tsx index 22708c796d7dc..8003c22b99a36 100644 --- a/src/core/public/chrome/ui/header/nav_link.tsx +++ b/src/core/public/chrome/ui/header/nav_link.tsx @@ -142,6 +142,7 @@ export interface RecentNavLink { title: string; 'aria-label': string; iconType?: string; + onClick?(event: React.MouseEvent): void; } /** diff --git a/src/core/server/core_app/core_app.ts b/src/core/server/core_app/core_app.ts index 5e1a3794632ee..009debd928d43 100644 --- a/src/core/server/core_app/core_app.ts +++ b/src/core/server/core_app/core_app.ts @@ -52,6 +52,17 @@ export class CoreApp { router.get({ path: '/core', validate: false }, async (context, req, res) => res.ok({ body: { version: '0.0.1' } }) ); + + coreSetup.savedObjects.registerType({ + name: 'server', + hidden: false, + namespaceType: 'single', + mappings: { + properties: { + uuid: { type: 'keyword' }, + }, + }, + }); } private registerStaticDirs(coreSetup: InternalCoreSetup) { coreSetup.http.registerStaticDir('/ui/{path*}', Path.resolve(__dirname, './assets')); diff --git a/src/core/server/core_app/integration_tests/default_route_provider_config.test.ts b/src/core/server/core_app/integration_tests/default_route_provider_config.test.ts index 221e6fa42471c..2c7efe075152b 100644 --- a/src/core/server/core_app/integration_tests/default_route_provider_config.test.ts +++ b/src/core/server/core_app/integration_tests/default_route_provider_config.test.ts @@ -49,7 +49,7 @@ describe('default route provider', () => { expect(status).toEqual(302); expect(header).toMatchObject({ - location: '/hello/app/kibana', + location: '/hello/app/home', }); }); @@ -71,7 +71,7 @@ describe('default route provider', () => { const { status, header } = await kbnTestServer.request.get(root, '/'); expect(status).toEqual(302); expect(header).toMatchObject({ - location: '/hello/app/kibana', + location: '/hello/app/home', }); }); diff --git a/src/dev/ci_setup/setup_env.sh b/src/dev/ci_setup/setup_env.sh index 05840926d35de..d9d0528748dc0 100644 --- a/src/dev/ci_setup/setup_env.sh +++ b/src/dev/ci_setup/setup_env.sh @@ -126,6 +126,7 @@ export PATH="$PATH:$yarnGlobalDir" # use a proxy to fetch chromedriver/geckodriver asset export GECKODRIVER_CDNURL="https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache" export CHROMEDRIVER_CDNURL="https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache" +export CYPRESS_DOWNLOAD_MIRROR="https://us-central1-elastic-kibana-184716.cloudfunctions.net/kibana-ci-proxy-cache/cypress" export CHECKS_REPORTER_ACTIVE=false diff --git a/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js b/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js new file mode 100644 index 0000000000000..23b4f83d4b8e7 --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/__tests__/transforms.test.js @@ -0,0 +1,34 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import expect from '@kbn/expect'; +import { ciRunUrl } from '../transforms'; + +describe(`Transform fn`, () => { + describe(`ciRunUrl`, () => { + it(`should add the url when present in the environment`, () => { + process.env.CI_RUN_URL = 'blah'; + expect(ciRunUrl()).to.have.property('ciRunUrl', 'blah'); + }); + it(`should not include the url if not present in the environment`, () => { + process.env.CI_RUN_URL = void 0; + expect(ciRunUrl({ a: 'a' })).not.to.have.property('ciRunUrl'); + }); + }); +}); diff --git a/src/dev/code_coverage/ingest_coverage/constants.js b/src/dev/code_coverage/ingest_coverage/constants.js new file mode 100644 index 0000000000000..c2f831b83b83d --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/constants.js @@ -0,0 +1,22 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +export const STATIC_SITE_URL_PROP_NAME = 'staticSiteUrl'; +export const COVERAGE_INDEX = process.env.COVERAGE_INDEX || 'kibana_code_coverage'; +export const TOTALS_INDEX = process.env.TOTALS_INDEX || `kibana_total_code_coverage`; diff --git a/src/dev/code_coverage/ingest_coverage/either.js b/src/dev/code_coverage/ingest_coverage/either.js new file mode 100644 index 0000000000000..bdab6e5882d26 --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/either.js @@ -0,0 +1,62 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/* eslint new-cap: 0 */ +/* eslint no-unused-vars: 0 */ + +export const Right = x => ({ + chain: f => f(x), + map: f => Right(f(x)), + fold: (f, g) => g(x), + inspect: () => `Right(${x})`, +}); + +Right.of = function of(x) { + return Right(x); +}; + +export function right(x) { + return Right.of(x); +} + +export const Left = x => ({ + chain: f => Left(x), + map: f => Left(x), + fold: (f, g) => f(x), + inspect: () => `Left(${x})`, +}); + +Left.of = function of(x) { + return Left(x); +}; + +export function left(x) { + return Left.of(x); +} + +export const fromNullable = x => + x !== null && x !== undefined && x !== false && x !== 'undefined' ? Right(x) : Left(null); + +export const tryCatch = f => { + try { + return Right(f()); + } catch (e) { + return Left(e); + } +}; diff --git a/src/dev/code_coverage/ingest_coverage/index.js b/src/dev/code_coverage/ingest_coverage/index.js new file mode 100644 index 0000000000000..4047ee78ee6ec --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/index.js @@ -0,0 +1,61 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import { resolve } from 'path'; +import { prok } from './process'; +import { run, createFlagError } from '@kbn/dev-utils'; + +const ROOT = resolve(__dirname, '../../../..'); +const flags = { + string: ['path', 'verbose', 'vcsInfoPath'], + help: ` +--path Required, path to the file to extract coverage data +--vcsInfoPath Required, path to the git info file (branch, sha, author, & commit msg) + `, +}; + +export function runCoverageIngestionCli() { + run( + ({ flags, log }) => { + if (flags.path === '') throw createFlagError('please provide a single --path flag'); + if (flags.vcsInfoPath === '') + throw createFlagError('please provide a single --vcsInfoPath flag'); + if (flags.verbose) log.verbose(`Verbose logging enabled`); + + const resolveRoot = resolve.bind(null, ROOT); + const jsonSummaryPath = resolveRoot(flags.path); + const vcsInfoFilePath = resolveRoot(flags.vcsInfoPath); + prok({ jsonSummaryPath, vcsInfoFilePath }, log); + }, + { + description: ` + +Post code coverage in json-summary format to an ES index. +Note: You probably should create the index first. +Two indexes are needed, see README.md. + +Examples: + +See 'ingest_code_coverage_readme.md' + + `, + flags, + } + ); +} diff --git a/src/dev/code_coverage/ingest_coverage/index_mapping.md b/src/dev/code_coverage/ingest_coverage/index_mapping.md new file mode 100644 index 0000000000000..c3b934eb35c5e --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/index_mapping.md @@ -0,0 +1,194 @@ +# Create index mapping + +This is usually done in Kibana's dev tools ui. + +``` + "mappings" : { + "properties" : { + "@timestamp" : { + "type" : "date" + }, + "BUILD_ID" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "branches" : { + "properties" : { + "covered" : { + "type" : "long" + }, + "pct" : { + "type" : "long" + }, + "skipped" : { + "type" : "long" + }, + "total" : { + "type" : "long" + } + } + }, + "ciRunUrl" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "coveredFilePath" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "functions" : { + "properties" : { + "covered" : { + "type" : "long" + }, + "pct" : { + "type" : "long" + }, + "skipped" : { + "type" : "long" + }, + "total" : { + "type" : "long" + } + } + }, + "isTotal" : { + "type" : "boolean" + }, + "jsonSummaryPath" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "lines" : { + "properties" : { + "covered" : { + "type" : "long" + }, + "pct" : { + "type" : "long" + }, + "skipped" : { + "type" : "long" + }, + "total" : { + "type" : "long" + } + } + }, + "path" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "statements" : { + "properties" : { + "covered" : { + "type" : "long" + }, + "pct" : { + "type" : "long" + }, + "skipped" : { + "type" : "long" + }, + "total" : { + "type" : "long" + } + } + }, + "staticSiteUrl" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "testRunnerType" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "vcs" : { + "properties" : { + "author" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "branch" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "commitMsg" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "sha" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + }, + "vcsUrl" : { + "type" : "text", + "fields" : { + "keyword" : { + "type" : "keyword", + "ignore_above" : 256 + } + } + } + } + } + } + } +``` + +_The main portion of the above mapping, is the timestamp-date mapping._ \ No newline at end of file diff --git a/src/dev/code_coverage/ingest_coverage/ingest.js b/src/dev/code_coverage/ingest_coverage/ingest.js new file mode 100644 index 0000000000000..52b1306c9683b --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/ingest.js @@ -0,0 +1,103 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +const { Client } = require('@elastic/elasticsearch'); +import { createFailError } from '@kbn/dev-utils'; +import chalk from 'chalk'; +import { green, always } from './utils'; +import { fromNullable } from './either'; +import { COVERAGE_INDEX, TOTALS_INDEX } from './constants'; + +const node = process.env.ES_HOST || 'http://localhost:9200'; +const redacted = redact(node); +const client = new Client({ node }); + +const indexName = body => (body.isTotal ? TOTALS_INDEX : COVERAGE_INDEX); + +export const ingest = log => async body => { + const index = indexName(body); + + if (process.env.NODE_ENV === 'integration_test') { + log.debug(`### Just Logging, ${green('NOT actually sending')} to [${green(index)}]`); + logSuccess(log, index, body); + } else { + try { + log.debug(`### Actually sending to: ${green(index)}`); + await client.index({ index, body }); + logSuccess(log, index, body); + } catch (e) { + throw createFailError(errMsg(index, body, e)); + } + } +}; +function logSuccess(log, index, body) { + const logShort = () => `### Sent: +### ES HOST (redacted): ${redacted} +### Index: ${green(index)}`; + + logShort(); + log.verbose(pretty(body)); + + const { staticSiteUrl } = body; + + logShort(); + log.debug(`### staticSiteUrl: ${staticSiteUrl}`); +} +function errMsg(index, body, e) { + const orig = fromNullable(e.body).fold( + always(''), + () => `### Orig Err:\n${pretty(e.body.error)}` + ); + + const red = color('red'); + + return ` +### ES HOST (redacted): \n\t${red(redacted)} +### INDEX: \n\t${red(index)} +### Partial orig err stack: \n\t${partial(e.stack)} +### Item BODY:\n${pretty(body)} +${orig} + +### Troubleshooting Hint: +${red('Perhaps the coverage data was not merged properly?\n')} +`; +} + +function partial(x) { + return x + .split('\n') + .splice(0, 2) + .join('\n'); +} +function redact(x) { + const url = new URL(x); + if (url.password) { + return `${url.protocol}//${url.host}`; + } else { + return x; + } +} +function color(whichColor) { + return function colorInner(x) { + return chalk[whichColor].bgWhiteBright(x); + }; +} +function pretty(x) { + return JSON.stringify(x, null, 2); +} diff --git a/src/dev/code_coverage/ingest_coverage/ingest_code_coverage_readme.md b/src/dev/code_coverage/ingest_coverage/ingest_code_coverage_readme.md new file mode 100644 index 0000000000000..0670780a7c03a --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/ingest_code_coverage_readme.md @@ -0,0 +1,24 @@ + +# Convert Code Coverage Json Summary and Send to ES + + +## How it works + +It starts with this jenkins pipeline file: + +.ci/Jenkinsfile_coverage#L60 + +``` +src/dev/code_coverage/shell_scripts/ingest_coverage.sh ${BUILD_NUMBER} ${env.BUILD_URL} +``` + +The ingestion system is hard coded to look for 3 coverage summary files...all json. + +From there, an event stream is created, that massages the data to an output format in json that is ingested. + +## Configuration + +There is really only one config step. +The index [mapping](src/dev/code_coverage/ingest_coverage/index_mapping.md) for one of +of the indexes has to be manually created. +Currently, we just add it using Kibana's Dev Tools. \ No newline at end of file diff --git a/src/dev/code_coverage/ingest_coverage/integration_tests/ingest_coverage.test.js b/src/dev/code_coverage/ingest_coverage/integration_tests/ingest_coverage.test.js new file mode 100644 index 0000000000000..930b52f549f99 --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/integration_tests/ingest_coverage.test.js @@ -0,0 +1,181 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import expect from '@kbn/expect'; +import { spawn } from 'child_process'; +import { resolve } from 'path'; +import { green, always } from '../utils'; + +import { STATIC_SITE_URL_PROP_NAME, COVERAGE_INDEX } from '../constants'; + +const ROOT_DIR = resolve(__dirname, '../../../../..'); +const MOCKS_DIR = resolve(__dirname, './mocks'); +const staticSiteUrlRegexes = { + staticHostIncluded: /https:\/\/kibana-coverage\.elastic\.dev/, + timeStampIncluded: /\d{4}-\d{2}-\d{2}T\d{2}.*\d{2}.*\d{2}Z/, + folderStructureIncluded: /(?:.*|.*-combined)\//, +}; +const env = { + BUILD_ID: 407, + CI_RUN_URL: 'https://kibana-ci.elastic.co/job/elastic+kibana+code-coverage/407/', + STATIC_SITE_URL_BASE: 'https://kibana-coverage.elastic.dev', + TIME_STAMP: '2020-03-02T21:11:47Z', + ES_HOST: 'https://super:changeme@some.fake.host:9243', + NODE_ENV: 'integration_test', + COVERAGE_INGESTION_KIBANA_ROOT: '/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana', +}; +const includesSiteUrlPredicate = x => x.includes(STATIC_SITE_URL_PROP_NAME); +const siteUrlLines = specificLinesOnly(includesSiteUrlPredicate); +const splitByNewLine = x => x.split('\n'); +const siteUrlsSplitByNewLine = siteUrlLines(splitByNewLine); +const siteUrlsSplitByNewLineWithoutBlanks = siteUrlsSplitByNewLine(notBlankLines); + +describe('Ingesting Coverage to Cluster', () => { + const verboseArgs = [ + 'scripts/ingest_coverage.js', + '--verbose', + '--vcsInfoPath', + 'src/dev/code_coverage/ingest_coverage/integration_tests/mocks/VCS_INFO.txt', + '--path', + ]; + + const noTotalsPath = 'jest-combined/coverage-summary-NO-total.json'; + const bothIndexesPath = 'jest-combined/coverage-summary-manual-mix.json'; + + describe('with NODE_ENV set to "integration_test"', () => { + describe(`and debug || verbose turned on`, () => { + describe(`to the [${COVERAGE_INDEX}] index`, () => { + const mutableCoverageIndexChunks = []; + + beforeAll(done => { + const ingestAndMutateAsync = ingestAndMutate(done); + const ingestAndMutateAsyncWithPath = ingestAndMutateAsync(noTotalsPath); + const verboseIngestAndMutateAsyncWithPath = ingestAndMutateAsyncWithPath(verboseArgs); + verboseIngestAndMutateAsyncWithPath(mutableCoverageIndexChunks); + }); + + it( + 'should result in every posted item having a site url that meets all regex assertions', + always( + siteUrlsSplitByNewLineWithoutBlanks(mutableCoverageIndexChunks).forEach( + expectAllRegexesToPass({ + ...staticSiteUrlRegexes, + endsInDotJsDotHtml: /.js.html$/, + }) + ) + ) + ); + }); + describe(`to both indexes in the same push`, () => { + const mutableBothIndexesChunks = []; + + beforeAll(done => { + const ingestAndMutateAsync = ingestAndMutate(done); + const ingestAndMutateAsyncWithPath = ingestAndMutateAsync(bothIndexesPath); + const verboseIngestAndMutateAsyncWithPath = ingestAndMutateAsyncWithPath(verboseArgs); + verboseIngestAndMutateAsyncWithPath(mutableBothIndexesChunks); + }); + + it( + 'should result in every posted item having a site url that meets all regex assertions', + always( + siteUrlsSplitByNewLineWithoutBlanks(mutableBothIndexesChunks).forEach( + expectAllRegexesToPass(staticSiteUrlRegexes) + ) + ) + ); + + it('should result in the "just logging" message being present in the log', () => { + expect(mutableBothIndexesChunks.some(x => x.includes('Just Logging'))).to.be(true); + }); + it('should result in the "actually sending" message NOT being present in the log', () => { + expect(mutableBothIndexesChunks.every(x => !x.includes('Actually sending...'))).to.be( + true + ); + }); + describe(`with provided vcs info file`, () => { + const filterZero = xs => included => xs.filter(x => x.includes(included))[0]; + const filteredWith = filterZero(mutableBothIndexesChunks); + it('should have a vcs block', () => { + const vcs = 'vcs'; + const portion = filteredWith(vcs); + expect(portion).to.contain(vcs); + }); + it(`should have a branch`, () => { + const branch = `"branch":`; + const portion = filteredWith(branch); + expect(portion).to.contain(branch); + expect(portion).to.contain(`"origin/ingest-code-coverage"`); + }); + it(`should have a sha`, () => { + const sha = `"sha":`; + const portion = filteredWith(sha); + expect(portion).to.contain(sha); + expect(portion).to.contain(`"f07b34f6206"`); + }); + it(`should have an author`, () => { + const author = `"author":`; + const portion = filteredWith(author); + expect(portion).to.contain(author); + expect(portion).to.contain(`"Tre' Seymour"`); + }); + it(`should have a commit msg, truncated`, () => { + const commitMsg = `"commitMsg":`; + const portion = filteredWith(commitMsg); + expect(portion).to.contain(commitMsg); + expect(portion).to.contain(`"Lorem :) ipsum Tre' λ dolor sit amet, consectetur ..."`); + }); + }); + }); + }); + }); +}); + +function ingestAndMutate(done) { + return summaryPathSuffix => args => xs => { + const coverageSummaryPath = resolve(MOCKS_DIR, summaryPathSuffix); + const opts = [...args, coverageSummaryPath]; + const ingest = spawn(process.execPath, opts, { cwd: ROOT_DIR, env }); + + ingest.stdout.on('data', x => xs.push(x + '')); + ingest.on('close', done); + }; +} + +function specificLinesOnly(predicate) { + return splitByNewLine => notBlankLines => xs => + xs.filter(predicate).map(x => splitByNewLine(x).reduce(notBlankLines)); +} + +function notBlankLines(acc, item) { + if (item !== '') return item; + return acc; +} + +function expectAllRegexesToPass(staticSiteUrlRegexes) { + return urlLine => + Object.entries(staticSiteUrlRegexes).forEach(regexTuple => { + if (!regexTuple[1].test(urlLine)) + throw new Error( + `\n### ${green('FAILED')}\nAsserting: [\n\t${green( + regexTuple[0] + )}\n]\nAgainst: [\n\t${urlLine}\n]` + ); + }); +} diff --git a/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/VCS_INFO.txt b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/VCS_INFO.txt new file mode 100644 index 0000000000000..13544e90d1401 --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/VCS_INFO.txt @@ -0,0 +1,8 @@ + origin/ingest-code-coverage + f07b34f6206 + Tre' Seymour + Lorem :) ipsum Tre' λ dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + + Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst. + + diff --git a/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/coverage-summary-NO-total.json b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/coverage-summary-NO-total.json new file mode 100644 index 0000000000000..f6d5ac2a4c898 --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/coverage-summary-NO-total.json @@ -0,0 +1,13340 @@ +{ + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/bar/bar.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/bar/bar_section.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/button/button.js": { + "lines": { + "total": 33, + "covered": 28, + "skipped": 0, + "pct": 84.85 + }, + "functions": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "statements": { + "total": 33, + "covered": 28, + "skipped": 0, + "pct": 84.85 + }, + "branches": { + "total": 21, + "covered": 16, + "skipped": 0, + "pct": 76.19 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/button/button_group/button_group.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/button/button_icon/button_icon.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/collapse_button/collapse_button.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/empty_table_prompt/empty_table_prompt.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/empty_table_prompt/empty_table_prompt_actions.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/empty_table_prompt/empty_table_prompt_message.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/empty_table_prompt/empty_table_prompt_panel.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/check_box/check_box.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/check_box/check_box_label.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/label/label.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/select/select.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/text_area/text_area.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/text_input/text_input.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form_layout/field_group.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form_layout/field_group_section.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_nav.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_nav_row.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_nav_row_section.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_tab.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_tabs.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_title.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/pager/pager.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/pager/pager_button_group.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/controlled_table.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_body.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_header.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_header_cell.js": { + "lines": { + "total": 12, + "covered": 6, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 12, + "covered": 6, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_header_check_box_cell.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_info.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_row.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_row_cell.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_row_check_box_cell.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table.js": { + "lines": { + "total": 20, + "covered": 16, + "skipped": 0, + "pct": 80 + }, + "functions": { + "total": 11, + "covered": 8, + "skipped": 0, + "pct": 72.73 + }, + "statements": { + "total": 22, + "covered": 16, + "skipped": 0, + "pct": 72.73 + }, + "branches": { + "total": 14, + "covered": 9, + "skipped": 0, + "pct": 64.29 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_create_button.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_delete_button.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_loading_prompt.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_no_matches_prompt.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_row.js": { + "lines": { + "total": 11, + "covered": 10, + "skipped": 0, + "pct": 90.91 + }, + "functions": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + }, + "statements": { + "total": 11, + "covered": 10, + "skipped": 0, + "pct": 90.91 + }, + "branches": { + "total": 6, + "covered": 5, + "skipped": 0, + "pct": 83.33 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_tool_bar.js": { + "lines": { + "total": 6, + "covered": 4, + "skipped": 0, + "pct": 66.67 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 4, + "skipped": 0, + "pct": 66.67 + }, + "branches": { + "total": 4, + "covered": 2, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_tool_bar_footer.js": { + "lines": { + "total": 8, + "covered": 6, + "skipped": 0, + "pct": 75 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 6, + "skipped": 0, + "pct": 75 + }, + "branches": { + "total": 4, + "covered": 2, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tabs/tab.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tabs/tabs.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar_footer.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar_footer_section.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar_search_box.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar_section.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar_text.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/typography/typography.js": { + "lines": { + "total": 12, + "covered": 12, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 12, + "covered": 12, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/alignment.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/key_codes.js": { + "lines": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/accessibility/accessible_click_keys.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/accessibility/cascading_menu_key_codes.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/accessibility/combo_box_key_codes.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/accessibility/html_id_generator.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/sort/sortable_properties.js": { + "lines": { + "total": 17, + "covered": 17, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 18, + "covered": 18, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 10, + "covered": 8, + "skipped": 0, + "pct": 80 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/apm_oss/index.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/data/public/actions/filters/create_filters_from_event.js": { + "lines": { + "total": 39, + "covered": 3, + "skipped": 0, + "pct": 7.69 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 41, + "covered": 3, + "skipped": 0, + "pct": 7.32 + }, + "branches": { + "total": 30, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/data/public/search/aggs/buckets/_terms_other_bucket_helper.js": { + "lines": { + "total": 100, + "covered": 7, + "skipped": 0, + "pct": 7 + }, + "functions": { + "total": 24, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 110, + "covered": 7, + "skipped": 0, + "pct": 6.36 + }, + "branches": { + "total": 42, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/data/public/search/expressions/create_filter.js": { + "lines": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/elasticsearch/index.js": { + "lines": { + "total": 28, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/elasticsearch/lib/version_health_check.js": { + "lines": { + "total": 10, + "covered": 9, + "skipped": 0, + "pct": 90 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 9, + "skipped": 0, + "pct": 90 + }, + "branches": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/elasticsearch/server/lib/abortable_request_handler.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/elasticsearch/server/lib/create_proxy.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/elasticsearch/server/lib/handle_es_error.js": { + "lines": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/index.js": { + "lines": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 33, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/inject_vars.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/ui_setting_defaults.js": { + "lines": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/common/utils/no_white_space.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/common/utils/shorten_dotted_string.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/migrations/migrations.js": { + "lines": { + "total": 264, + "covered": 250, + "skipped": 0, + "pct": 94.7 + }, + "functions": { + "total": 37, + "covered": 35, + "skipped": 0, + "pct": 94.59 + }, + "statements": { + "total": 269, + "covered": 252, + "skipped": 0, + "pct": 93.68 + }, + "branches": { + "total": 190, + "covered": 149, + "skipped": 0, + "pct": 78.42 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/kibana.js": { + "lines": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/dashboard/np_ready/legacy_app.js": { + "lines": { + "total": 64, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 66, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/dashboard/np_ready/listing/dashboard_listing.js": { + "lines": { + "total": 11, + "covered": 10, + "skipped": 0, + "pct": 90.91 + }, + "functions": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "statements": { + "total": 11, + "covered": 10, + "skipped": 0, + "pct": 90.91 + }, + "branches": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context.js": { + "lines": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context_app.js": { + "lines": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/discover.js": { + "lines": { + "total": 313, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 86, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 325, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 137, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/response_handler.js": { + "lines": { + "total": 44, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 45, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/api/anchor.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/helpers/call_after_bindings_workaround.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query/actions.js": { + "lines": { + "total": 57, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 30, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 68, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query/constants.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query/state.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query_parameters/actions.js": { + "lines": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query_parameters/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/field_name.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/fixed_scroll.js": { + "lines": { + "total": 42, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 44, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/index.js": { + "lines": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/no_results.js": { + "lines": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/unsupported_index_pattern.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/debounce/debounce.js": { + "lines": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/debounce/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/doc_table/doc_table_strings.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/doc_table/lib/pager/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/doc_table/lib/pager/pager.js": { + "lines": { + "total": 24, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 24, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/fetch_error/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/field_chooser/discover_field.js": { + "lines": { + "total": 41, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 41, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/field_chooser/field_chooser.js": { + "lines": { + "total": 96, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 102, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 88, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/field_chooser/lib/field_calculator.js": { + "lines": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/help_menu/help_menu_util.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/top_nav/open_search_panel.js": { + "lines": { + "total": 7, + "covered": 4, + "skipped": 0, + "pct": 57.14 + }, + "functions": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "statements": { + "total": 7, + "covered": 4, + "skipped": 0, + "pct": 57.14 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/top_nav/show_open_search_panel.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/load_tutorials.js": { + "lines": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/sample_data_client.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/add_data.js": { + "lines": { + "total": 14, + "covered": 14, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 14, + "covered": 14, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/feature_directory.js": { + "lines": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/home.js": { + "lines": { + "total": 34, + "covered": 31, + "skipped": 0, + "pct": 91.18 + }, + "functions": { + "total": 14, + "covered": 12, + "skipped": 0, + "pct": 85.71 + }, + "statements": { + "total": 34, + "covered": 31, + "skipped": 0, + "pct": 91.18 + }, + "branches": { + "total": 17, + "covered": 14, + "skipped": 0, + "pct": 82.35 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/home_app.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/recently_accessed.js": { + "lines": { + "total": 37, + "covered": 35, + "skipped": 0, + "pct": 94.59 + }, + "functions": { + "total": 8, + "covered": 7, + "skipped": 0, + "pct": 87.5 + }, + "statements": { + "total": 39, + "covered": 37, + "skipped": 0, + "pct": 94.87 + }, + "branches": { + "total": 15, + "covered": 12, + "skipped": 0, + "pct": 80 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/sample_data_set_card.js": { + "lines": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/sample_data_set_cards.js": { + "lines": { + "total": 48, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 54, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/sample_data_view_data_button.js": { + "lines": { + "total": 13, + "covered": 11, + "skipped": 0, + "pct": 84.62 + }, + "functions": { + "total": 5, + "covered": 2, + "skipped": 0, + "pct": 40 + }, + "statements": { + "total": 14, + "covered": 11, + "skipped": 0, + "pct": 78.57 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/synopsis.js": { + "lines": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial_directory.js": { + "lines": { + "total": 41, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 41, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/content.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/footer.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/instruction.js": { + "lines": { + "total": 12, + "covered": 5, + "skipped": 0, + "pct": 41.67 + }, + "functions": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "statements": { + "total": 12, + "covered": 5, + "skipped": 0, + "pct": 41.67 + }, + "branches": { + "total": 6, + "covered": 3, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/instruction_set.js": { + "lines": { + "total": 54, + "covered": 45, + "skipped": 0, + "pct": 83.33 + }, + "functions": { + "total": 17, + "covered": 13, + "skipped": 0, + "pct": 76.47 + }, + "statements": { + "total": 55, + "covered": 45, + "skipped": 0, + "pct": 81.82 + }, + "branches": { + "total": 36, + "covered": 20, + "skipped": 0, + "pct": 55.56 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/introduction.js": { + "lines": { + "total": 12, + "covered": 12, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 12, + "covered": 12, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/number_parameter.js": { + "lines": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/parameter_form.js": { + "lines": { + "total": 8, + "covered": 2, + "skipped": 0, + "pct": 25 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 2, + "skipped": 0, + "pct": 25 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/replace_template_strings.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/saved_objects_installer.js": { + "lines": { + "total": 31, + "covered": 25, + "skipped": 0, + "pct": 80.65 + }, + "functions": { + "total": 8, + "covered": 6, + "skipped": 0, + "pct": 75 + }, + "statements": { + "total": 31, + "covered": 25, + "skipped": 0, + "pct": 80.65 + }, + "branches": { + "total": 18, + "covered": 13, + "skipped": 0, + "pct": 72.22 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/status_check_states.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/string_parameter.js": { + "lines": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/tutorial.js": { + "lines": { + "total": 92, + "covered": 51, + "skipped": 0, + "pct": 55.43 + }, + "functions": { + "total": 24, + "covered": 12, + "skipped": 0, + "pct": 50 + }, + "statements": { + "total": 93, + "covered": 51, + "skipped": 0, + "pct": 54.84 + }, + "branches": { + "total": 50, + "covered": 27, + "skipped": 0, + "pct": 54 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/index.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 37, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/breadcrumbs.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/index.js": { + "lines": { + "total": 40, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 42, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/create_index_pattern_wizard.js": { + "lines": { + "total": 54, + "covered": 40, + "skipped": 0, + "pct": 74.07 + }, + "functions": { + "total": 19, + "covered": 10, + "skipped": 0, + "pct": 52.63 + }, + "statements": { + "total": 58, + "covered": 41, + "skipped": 0, + "pct": 70.69 + }, + "branches": { + "total": 19, + "covered": 14, + "skipped": 0, + "pct": 73.68 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/index.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/render.js": { + "lines": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "branches": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/edit_index_pattern.js": { + "lines": { + "total": 131, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 40, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 132, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 39, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/edit_sections.js": { + "lines": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/create_edit_field/create_edit_field.js": { + "lines": { + "total": 42, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 43, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/create_edit_field/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/index_header/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/index_header/index_header.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/indexed_fields_table.js": { + "lines": { + "total": 22, + "covered": 20, + "skipped": 0, + "pct": 90.91 + }, + "functions": { + "total": 13, + "covered": 11, + "skipped": 0, + "pct": 84.62 + }, + "statements": { + "total": 25, + "covered": 22, + "skipped": 0, + "pct": 88 + }, + "branches": { + "total": 17, + "covered": 12, + "skipped": 0, + "pct": 70.59 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/components/table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/components/table/table.js": { + "lines": { + "total": 19, + "covered": 16, + "skipped": 0, + "pct": 84.21 + }, + "functions": { + "total": 10, + "covered": 7, + "skipped": 0, + "pct": 70 + }, + "statements": { + "total": 19, + "covered": 16, + "skipped": 0, + "pct": 84.21 + }, + "branches": { + "total": 10, + "covered": 9, + "skipped": 0, + "pct": 90 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/lib/get_field_format.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/lib/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/scripted_fields_table.js": { + "lines": { + "total": 44, + "covered": 43, + "skipped": 0, + "pct": 97.73 + }, + "functions": { + "total": 13, + "covered": 12, + "skipped": 0, + "pct": 92.31 + }, + "statements": { + "total": 44, + "covered": 43, + "skipped": 0, + "pct": 97.73 + }, + "branches": { + "total": 12, + "covered": 11, + "skipped": 0, + "pct": 91.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/call_outs/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/header/header.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/header/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/table/table.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/source_filters_table.js": { + "lines": { + "total": 51, + "covered": 50, + "skipped": 0, + "pct": 98.04 + }, + "functions": { + "total": 17, + "covered": 17, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 52, + "covered": 51, + "skipped": 0, + "pct": 98.08 + }, + "branches": { + "total": 14, + "covered": 9, + "skipped": 0, + "pct": 64.29 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/add_filter/add_filter.js": { + "lines": { + "total": 8, + "covered": 7, + "skipped": 0, + "pct": 87.5 + }, + "functions": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + }, + "statements": { + "total": 8, + "covered": 7, + "skipped": 0, + "pct": 87.5 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/add_filter/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/header/header.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/header/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/table/table.js": { + "lines": { + "total": 34, + "covered": 30, + "skipped": 0, + "pct": 88.24 + }, + "functions": { + "total": 15, + "covered": 13, + "skipped": 0, + "pct": 86.67 + }, + "statements": { + "total": 34, + "covered": 30, + "skipped": 0, + "pct": 88.24 + }, + "branches": { + "total": 12, + "covered": 10, + "skipped": 0, + "pct": 83.33 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/index_pattern_table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/_objects.js": { + "lines": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/_view.js": { + "lines": { + "total": 107, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 111, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 44, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/breadcrumbs.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/index.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/objects_table.js": { + "lines": { + "total": 130, + "covered": 108, + "skipped": 0, + "pct": 83.08 + }, + "functions": { + "total": 46, + "covered": 35, + "skipped": 0, + "pct": 76.09 + }, + "statements": { + "total": 135, + "covered": 112, + "skipped": 0, + "pct": 82.96 + }, + "branches": { + "total": 48, + "covered": 34, + "skipped": 0, + "pct": 70.83 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/flyout/flyout.js": { + "lines": { + "total": 146, + "covered": 119, + "skipped": 0, + "pct": 81.51 + }, + "functions": { + "total": 43, + "covered": 31, + "skipped": 0, + "pct": 72.09 + }, + "statements": { + "total": 148, + "covered": 120, + "skipped": 0, + "pct": 81.08 + }, + "branches": { + "total": 77, + "covered": 66, + "skipped": 0, + "pct": 85.71 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/flyout/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/header/header.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/header/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/relationships.js": { + "lines": { + "total": 40, + "covered": 25, + "skipped": 0, + "pct": 62.5 + }, + "functions": { + "total": 13, + "covered": 7, + "skipped": 0, + "pct": 53.85 + }, + "statements": { + "total": 40, + "covered": 25, + "skipped": 0, + "pct": 62.5 + }, + "branches": { + "total": 28, + "covered": 8, + "skipped": 0, + "pct": 28.57 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/table/table.js": { + "lines": { + "total": 38, + "covered": 23, + "skipped": 0, + "pct": 60.53 + }, + "functions": { + "total": 17, + "covered": 6, + "skipped": 0, + "pct": 35.29 + }, + "statements": { + "total": 40, + "covered": 23, + "skipped": 0, + "pct": 57.5 + }, + "branches": { + "total": 20, + "covered": 13, + "skipped": 0, + "pct": 65 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/fetch_export_by_type_and_search.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/fetch_export_objects.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/find_objects.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/get_default_title.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/get_relationships.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 7, + "covered": 5, + "skipped": 0, + "pct": 71.43 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/get_saved_object_counts.js": { + "lines": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/get_saved_object_label.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/import_file.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/import_legacy_file.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/in_app_url.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/is_same_query.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/log_legacy_import.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/parse_query.js": { + "lines": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 6, + "covered": 5, + "skipped": 0, + "pct": 83.33 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/resolve_import_errors.js": { + "lines": { + "total": 59, + "covered": 59, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 13, + "covered": 13, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 62, + "covered": 62, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 38, + "covered": 36, + "skipped": 0, + "pct": 94.74 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/resolve_saved_objects.js": { + "lines": { + "total": 110, + "covered": 69, + "skipped": 0, + "pct": 62.73 + }, + "functions": { + "total": 23, + "covered": 20, + "skipped": 0, + "pct": 86.96 + }, + "statements": { + "total": 114, + "covered": 73, + "skipped": 0, + "pct": 64.04 + }, + "branches": { + "total": 57, + "covered": 29, + "skipped": 0, + "pct": 50.88 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/legacy_app.js": { + "lines": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 37, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/editor.js": { + "lines": { + "total": 212, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 54, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 216, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 74, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/visualization.js": { + "lines": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/visualization_editor.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/help_menu/help_menu_util.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/listing/visualize_listing.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/listing/visualize_listing_table.js": { + "lines": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/lib/export/export_dashboards.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/lib/import/import_dashboards.js": { + "lines": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/lib/management/saved_objects/inject_meta_attributes.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/lib/management/saved_objects/relationships.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/export/index.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/import/index.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/management/index.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/management/saved_objects/find.js": { + "lines": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/management/saved_objects/relationships.js": { + "lines": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/management/saved_objects/scroll.js": { + "lines": { + "total": 26, + "covered": 8, + "skipped": 0, + "pct": 30.77 + }, + "functions": { + "total": 7, + "covered": 3, + "skipped": 0, + "pct": 42.86 + }, + "statements": { + "total": 26, + "covered": 8, + "skipped": 0, + "pct": 30.77 + }, + "branches": { + "total": 12, + "covered": 3, + "skipped": 0, + "pct": 25 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/region_map/public/choropleth_layer.js": { + "lines": { + "total": 206, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 47, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 211, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 90, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/region_map/public/region_map_fn.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/region_map/public/region_map_type.js": { + "lines": { + "total": 28, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/region_map/public/region_map_visualization.js": { + "lines": { + "total": 59, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 60, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 48, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/region_map/public/tooltip_formatter.js": { + "lines": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/index.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/status_page.js": { + "lines": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/components/metric_tiles.js": { + "lines": { + "total": 10, + "covered": 8, + "skipped": 0, + "pct": 80 + }, + "functions": { + "total": 5, + "covered": 3, + "skipped": 0, + "pct": 60 + }, + "statements": { + "total": 10, + "covered": 8, + "skipped": 0, + "pct": 80 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/components/render.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/components/server_status.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/components/status_app.js": { + "lines": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/components/status_table.js": { + "lines": { + "total": 7, + "covered": 4, + "skipped": 0, + "pct": 57.14 + }, + "functions": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "statements": { + "total": 7, + "covered": 4, + "skipped": 0, + "pct": 57.14 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/lib/format_number.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/lib/load_status.js": { + "lines": { + "total": 19, + "covered": 9, + "skipped": 0, + "pct": 47.37 + }, + "functions": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + }, + "statements": { + "total": 19, + "covered": 9, + "skipped": 0, + "pct": 47.37 + }, + "branches": { + "total": 7, + "covered": 3, + "skipped": 0, + "pct": 42.86 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/lib/load_status.test.mocks.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/lib/prop_types.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/testbed/index.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/testbed/public/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/testbed/public/testbed.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tests_bundle/find_source_files.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tests_bundle/index.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 36, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tests_bundle/tests_entry_template.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tests_bundle/webpackShims/angular-mocks.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/base_maps_visualization.js": { + "lines": { + "total": 102, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 103, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 38, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/css_filters.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/geohash_layer.js": { + "lines": { + "total": 55, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 57, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/tile_map_fn.js": { + "lines": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 7, + "skipped": 0, + "pct": 87.5 + }, + "branches": { + "total": 4, + "covered": 2, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/tile_map_type.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/tile_map_visualization.js": { + "lines": { + "total": 93, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 94, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 52, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/editors/_tooltip_formatter.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/markers/geohash_grid.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/markers/heatmap.js": { + "lines": { + "total": 62, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 63, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 28, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/markers/scaled_circles.js": { + "lines": { + "total": 80, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 24, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 80, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/markers/shaded_circles.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/app.js": { + "lines": { + "total": 151, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 54, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 159, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/breadcrumbs.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/components/timelionhelp_tabs.js": { + "lines": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/components/timelionhelp_tabs_directive.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/fixed_element.js": { + "lines": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/saved_object_finder.js": { + "lines": { + "total": 120, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 134, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 67, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/saved_object_save_as_checkbox.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_expression_input.js": { + "lines": { + "total": 95, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 95, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 36, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_expression_input_helpers.js": { + "lines": { + "total": 88, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 92, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 49, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_grid.js": { + "lines": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_load_sheet.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_options_sheet.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_save_sheet.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/cells/cells.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/chart/chart.js": { + "lines": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/fullscreen/fullscreen.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_expression_suggestions/timelion_expression_suggestions.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_help/timelion_help.js": { + "lines": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_interval/timelion_interval.js": { + "lines": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/lib/observe_resize.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_table/public/table_vis_controller.js": { + "lines": { + "total": 18, + "covered": 18, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 19, + "covered": 18, + "skipped": 0, + "pct": 94.74 + }, + "branches": { + "total": 8, + "covered": 6, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_table/public/agg_table/agg_table.js": { + "lines": { + "total": 104, + "covered": 1, + "skipped": 0, + "pct": 0.96 + }, + "functions": { + "total": 22, + "covered": 1, + "skipped": 0, + "pct": 4.55 + }, + "statements": { + "total": 113, + "covered": 1, + "skipped": 0, + "pct": 0.88 + }, + "branches": { + "total": 61, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_table/public/agg_table/agg_table_group.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_table/public/paginated_table/paginated_table.js": { + "lines": { + "total": 32, + "covered": 27, + "skipped": 0, + "pct": 84.38 + }, + "functions": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 35, + "covered": 29, + "skipped": 0, + "pct": 82.86 + }, + "branches": { + "total": 27, + "covered": 18, + "skipped": 0, + "pct": 66.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_table/public/paginated_table/rows.js": { + "lines": { + "total": 47, + "covered": 21, + "skipped": 0, + "pct": 44.68 + }, + "functions": { + "total": 12, + "covered": 7, + "skipped": 0, + "pct": 58.33 + }, + "statements": { + "total": 48, + "covered": 22, + "skipped": 0, + "pct": 45.83 + }, + "branches": { + "total": 28, + "covered": 12, + "skipped": 0, + "pct": 42.86 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_tagcloud/public/components/feedback_message.js": { + "lines": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_tagcloud/public/components/label.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_tagcloud/public/components/tag_cloud.js": { + "lines": { + "total": 200, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 53, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 208, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 68, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.js": { + "lines": { + "total": 64, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 65, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/flot.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/_generated_/chain.js": { + "lines": { + "total": 1070, + "covered": 612, + "skipped": 0, + "pct": 57.2 + }, + "functions": { + "total": 72, + "covered": 46, + "skipped": 0, + "pct": 63.89 + }, + "statements": { + "total": 1136, + "covered": 623, + "skipped": 0, + "pct": 54.84 + }, + "branches": { + "total": 559, + "covered": 237, + "skipped": 0, + "pct": 42.4 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.axislabels.js": { + "lines": { + "total": 238, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 238, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 123, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.crosshair.js": { + "lines": { + "total": 63, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 63, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.js": { + "lines": { + "total": 1526, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 123, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1653, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 1142, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.selection.js": { + "lines": { + "total": 138, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 145, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 83, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.stack.js": { + "lines": { + "total": 85, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 87, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 60, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.symbol.js": { + "lines": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.time.js": { + "lines": { + "total": 189, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 208, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 155, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/editor_controller.js": { + "lines": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/request_handler.js": { + "lines": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/add_delete_buttons.js": { + "lines": { + "total": 28, + "covered": 28, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 28, + "covered": 28, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 14, + "covered": 12, + "skipped": 0, + "pct": 85.71 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/annotations_editor.js": { + "lines": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/color_picker.js": { + "lines": { + "total": 20, + "covered": 16, + "skipped": 0, + "pct": 80 + }, + "functions": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "statements": { + "total": 21, + "covered": 16, + "skipped": 0, + "pct": 76.19 + }, + "branches": { + "total": 10, + "covered": 8, + "skipped": 0, + "pct": 80 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/color_rules.js": { + "lines": { + "total": 32, + "covered": 24, + "skipped": 0, + "pct": 75 + }, + "functions": { + "total": 7, + "covered": 5, + "skipped": 0, + "pct": 71.43 + }, + "statements": { + "total": 35, + "covered": 25, + "skipped": 0, + "pct": 71.43 + }, + "branches": { + "total": 11, + "covered": 5, + "skipped": 0, + "pct": 45.45 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/custom_color_picker.js": { + "lines": { + "total": 15, + "covered": 11, + "skipped": 0, + "pct": 73.33 + }, + "functions": { + "total": 5, + "covered": 3, + "skipped": 0, + "pct": 60 + }, + "statements": { + "total": 15, + "covered": 11, + "skipped": 0, + "pct": 73.33 + }, + "branches": { + "total": 12, + "covered": 4, + "skipped": 0, + "pct": 33.33 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/data_format_picker.js": { + "lines": { + "total": 47, + "covered": 4, + "skipped": 0, + "pct": 8.51 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 49, + "covered": 4, + "skipped": 0, + "pct": 8.16 + }, + "branches": { + "total": 42, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/error.js": { + "lines": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/index_pattern.js": { + "lines": { + "total": 30, + "covered": 7, + "skipped": 0, + "pct": 23.33 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 30, + "covered": 7, + "skipped": 0, + "pct": 23.33 + }, + "branches": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/markdown_editor.js": { + "lines": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/no_data.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config.js": { + "lines": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/query_bar_wrapper.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/series.js": { + "lines": { + "total": 22, + "covered": 3, + "skipped": 0, + "pct": 13.64 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 22, + "covered": 3, + "skipped": 0, + "pct": 13.64 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/series_config.js": { + "lines": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/series_drag_handler.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/series_editor.js": { + "lines": { + "total": 28, + "covered": 3, + "skipped": 0, + "pct": 10.71 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 3, + "skipped": 0, + "pct": 9.68 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/split.js": { + "lines": { + "total": 17, + "covered": 2, + "skipped": 0, + "pct": 11.76 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 17, + "covered": 2, + "skipped": 0, + "pct": 11.76 + }, + "branches": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_editor.js": { + "lines": { + "total": 53, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 53, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_editor_visualization.js": { + "lines": { + "total": 57, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 58, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 39, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_picker.js": { + "lines": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_with_splits.js": { + "lines": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/visualization.js": { + "lines": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/yes_no.js": { + "lines": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/agg.js": { + "lines": { + "total": 9, + "covered": 1, + "skipped": 0, + "pct": 11.11 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 1, + "skipped": 0, + "pct": 11.11 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/agg_row.js": { + "lines": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/agg_select.js": { + "lines": { + "total": 24, + "covered": 7, + "skipped": 0, + "pct": 29.17 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 30, + "covered": 7, + "skipped": 0, + "pct": 23.33 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/aggs.js": { + "lines": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/calculation.js": { + "lines": { + "total": 11, + "covered": 2, + "skipped": 0, + "pct": 18.18 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/cumulative_sum.js": { + "lines": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/derivative.js": { + "lines": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/field_select.js": { + "lines": { + "total": 20, + "covered": 4, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 20, + "covered": 4, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/filter_ratio.js": { + "lines": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/math.js": { + "lines": { + "total": 11, + "covered": 2, + "skipped": 0, + "pct": 18.18 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/metric_select.js": { + "lines": { + "total": 35, + "covered": 3, + "skipped": 0, + "pct": 8.57 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 36, + "covered": 3, + "skipped": 0, + "pct": 8.33 + }, + "branches": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/moving_average.js": { + "lines": { + "total": 17, + "covered": 4, + "skipped": 0, + "pct": 23.53 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 4, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile.js": { + "lines": { + "total": 12, + "covered": 3, + "skipped": 0, + "pct": 25 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 3, + "skipped": 0, + "pct": 23.08 + }, + "branches": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile_ui.js": { + "lines": { + "total": 33, + "covered": 4, + "skipped": 0, + "pct": 12.12 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 4, + "skipped": 0, + "pct": 11.76 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/positive_only.js": { + "lines": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/serial_diff.js": { + "lines": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/series_agg.js": { + "lines": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/static.js": { + "lines": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/std_agg.js": { + "lines": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/std_deviation.js": { + "lines": { + "total": 18, + "covered": 4, + "skipped": 0, + "pct": 22.22 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 4, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/std_sibling.js": { + "lines": { + "total": 18, + "covered": 3, + "skipped": 0, + "pct": 16.67 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 3, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/temporary_unsupported_agg.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/top_hit.js": { + "lines": { + "total": 29, + "covered": 6, + "skipped": 0, + "pct": 20.69 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 6, + "skipped": 0, + "pct": 19.35 + }, + "branches": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/unsupported_agg.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/vars.js": { + "lines": { + "total": 17, + "covered": 3, + "skipped": 0, + "pct": 17.65 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 19, + "covered": 3, + "skipped": 0, + "pct": 15.79 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile_rank/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile_rank/multi_value_row.js": { + "lines": { + "total": 8, + "covered": 3, + "skipped": 0, + "pct": 37.5 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 3, + "skipped": 0, + "pct": 37.5 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile_rank/percentile_rank.js": { + "lines": { + "total": 14, + "covered": 3, + "skipped": 0, + "pct": 21.43 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 14, + "covered": 3, + "skipped": 0, + "pct": 21.43 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile_rank/percentile_rank_values.js": { + "lines": { + "total": 14, + "covered": 2, + "skipped": 0, + "pct": 14.29 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 2, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/icon_select/icon_select.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/agg_to_component.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/calculate_siblings.js": { + "lines": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/charts.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/collection_actions.js": { + "lines": { + "total": 23, + "covered": 22, + "skipped": 0, + "pct": 95.65 + }, + "functions": { + "total": 6, + "covered": 5, + "skipped": 0, + "pct": 83.33 + }, + "statements": { + "total": 27, + "covered": 24, + "skipped": 0, + "pct": 88.89 + }, + "branches": { + "total": 17, + "covered": 8, + "skipped": 0, + "pct": 47.06 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/convert_series_to_vars.js": { + "lines": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/create_change_handler.js": { + "lines": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/create_number_handler.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 6, + "covered": 3, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/create_select_handler.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/create_text_handler.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 6, + "covered": 3, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/create_xaxis_formatter.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/detect_ie.js": { + "lines": { + "total": 12, + "covered": 8, + "skipped": 0, + "pct": 66.67 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 12, + "covered": 8, + "skipped": 0, + "pct": 66.67 + }, + "branches": { + "total": 6, + "covered": 3, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/durations.js": { + "lines": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/get_axis_label_string.js": { + "lines": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "branches": { + "total": 4, + "covered": 2, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/get_default_query_language.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/get_display_name.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/get_interval.js": { + "lines": { + "total": 27, + "covered": 13, + "skipped": 0, + "pct": 48.15 + }, + "functions": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + }, + "statements": { + "total": 31, + "covered": 14, + "skipped": 0, + "pct": 45.16 + }, + "branches": { + "total": 17, + "covered": 4, + "skipped": 0, + "pct": 23.53 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/new_metric_agg_fn.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/new_series_fn.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/re_id_series.js": { + "lines": { + "total": 16, + "covered": 16, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 20, + "covered": 20, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/reorder.js": { + "lines": { + "total": 5, + "covered": 1, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 5, + "covered": 1, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/replace_vars.js": { + "lines": { + "total": 11, + "covered": 6, + "skipped": 0, + "pct": 54.55 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 11, + "covered": 6, + "skipped": 0, + "pct": 54.55 + }, + "branches": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/series_change_handler.js": { + "lines": { + "total": 9, + "covered": 1, + "skipped": 0, + "pct": 11.11 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 1, + "skipped": 0, + "pct": 9.09 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/stacked.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/tick_formatter.js": { + "lines": { + "total": 22, + "covered": 18, + "skipped": 0, + "pct": 81.82 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 23, + "covered": 19, + "skipped": 0, + "pct": 82.61 + }, + "branches": { + "total": 10, + "covered": 9, + "skipped": 0, + "pct": 90 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/gauge.js": { + "lines": { + "total": 30, + "covered": 25, + "skipped": 0, + "pct": 83.33 + }, + "functions": { + "total": 8, + "covered": 4, + "skipped": 0, + "pct": 50 + }, + "statements": { + "total": 33, + "covered": 28, + "skipped": 0, + "pct": 84.85 + }, + "branches": { + "total": 21, + "covered": 6, + "skipped": 0, + "pct": 28.57 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/markdown.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/metric.js": { + "lines": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/table.js": { + "lines": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/timeseries.js": { + "lines": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/top_n.js": { + "lines": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/everything.js": { + "lines": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/filter.js": { + "lines": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/filter_items.js": { + "lines": { + "total": 25, + "covered": 2, + "skipped": 0, + "pct": 8 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 27, + "covered": 2, + "skipped": 0, + "pct": 7.41 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/filters.js": { + "lines": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/group_by_select.js": { + "lines": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/terms.js": { + "lines": { + "total": 19, + "covered": 18, + "skipped": 0, + "pct": 94.74 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 20, + "covered": 19, + "skipped": 0, + "pct": 95 + }, + "branches": { + "total": 9, + "covered": 6, + "skipped": 0, + "pct": 66.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/unsupported_split.js": { + "lines": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/svg/bomb_icon.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/svg/fire_icon.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/gauge/series.js": { + "lines": { + "total": 18, + "covered": 12, + "skipped": 0, + "pct": 66.67 + }, + "functions": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "statements": { + "total": 19, + "covered": 13, + "skipped": 0, + "pct": 68.42 + }, + "branches": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/gauge/vis.js": { + "lines": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 39, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/markdown/series.js": { + "lines": { + "total": 17, + "covered": 2, + "skipped": 0, + "pct": 11.76 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 2, + "skipped": 0, + "pct": 11.11 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/markdown/vis.js": { + "lines": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/metric/series.js": { + "lines": { + "total": 19, + "covered": 12, + "skipped": 0, + "pct": 63.16 + }, + "functions": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "statements": { + "total": 20, + "covered": 13, + "skipped": 0, + "pct": 65 + }, + "branches": { + "total": 8, + "covered": 3, + "skipped": 0, + "pct": 37.5 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/metric/vis.js": { + "lines": { + "total": 28, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/table/config.js": { + "lines": { + "total": 16, + "covered": 2, + "skipped": 0, + "pct": 12.5 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 2, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/table/is_sortable.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/table/series.js": { + "lines": { + "total": 15, + "covered": 2, + "skipped": 0, + "pct": 13.33 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 2, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/table/vis.js": { + "lines": { + "total": 75, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 79, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 58, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/timeseries/config.js": { + "lines": { + "total": 28, + "covered": 2, + "skipped": 0, + "pct": 7.14 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 28, + "covered": 2, + "skipped": 0, + "pct": 7.14 + }, + "branches": { + "total": 30, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/timeseries/series.js": { + "lines": { + "total": 19, + "covered": 3, + "skipped": 0, + "pct": 15.79 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 20, + "covered": 3, + "skipped": 0, + "pct": 15 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/timeseries/vis.js": { + "lines": { + "total": 80, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 84, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 48, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/top_n/series.js": { + "lines": { + "total": 16, + "covered": 2, + "skipped": 0, + "pct": 12.5 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 17, + "covered": 2, + "skipped": 0, + "pct": 11.76 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/top_n/vis.js": { + "lines": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 38, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/contexts/form_validation_context.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/contexts/vis_data_context.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/lib/check_ui_restrictions.js": { + "lines": { + "total": 13, + "covered": 5, + "skipped": 0, + "pct": 38.46 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 5, + "skipped": 0, + "pct": 38.46 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/lib/create_brush_handler.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/lib/fetch_fields.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/lib/set_is_reversed.js": { + "lines": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/lib/validate_interval.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/constants/chart.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/constants/icons.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/constants/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/lib/active_cursor.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/lib/calc_dimensions.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/lib/calculate_coordinates.js": { + "lines": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/lib/get_value_by.js": { + "lines": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/annotation.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/gauge.js": { + "lines": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/gauge_vis.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/metric.js": { + "lines": { + "total": 41, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 46, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 40, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/top_n.js": { + "lines": { + "total": 48, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 49, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/index.js": { + "lines": { + "total": 33, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 37, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/decorators/area_decorator.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/decorators/bar_decorator.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/model/charts.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/utils/series_styles.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 23, + "covered": 23, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/utils/stack_format.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_visualization.js": { + "lines": { + "total": 38, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 38, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/ems_file_parser.js": { + "lines": { + "total": 14, + "covered": 12, + "skipped": 0, + "pct": 85.71 + }, + "functions": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 16, + "covered": 13, + "skipped": 0, + "pct": 81.25 + }, + "branches": { + "total": 8, + "covered": 4, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/es_query_parser.js": { + "lines": { + "total": 142, + "covered": 115, + "skipped": 0, + "pct": 80.99 + }, + "functions": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 145, + "covered": 117, + "skipped": 0, + "pct": 80.69 + }, + "branches": { + "total": 104, + "covered": 75, + "skipped": 0, + "pct": 72.12 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/search_cache.js": { + "lines": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/time_cache.js": { + "lines": { + "total": 21, + "covered": 19, + "skipped": 0, + "pct": 90.48 + }, + "functions": { + "total": 5, + "covered": 3, + "skipped": 0, + "pct": 60 + }, + "statements": { + "total": 21, + "covered": 19, + "skipped": 0, + "pct": 90.48 + }, + "branches": { + "total": 12, + "covered": 11, + "skipped": 0, + "pct": 91.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/url_parser.js": { + "lines": { + "total": 9, + "covered": 1, + "skipped": 0, + "pct": 11.11 + }, + "functions": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "statements": { + "total": 9, + "covered": 1, + "skipped": 0, + "pct": 11.11 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/utils.js": { + "lines": { + "total": 11, + "covered": 2, + "skipped": 0, + "pct": 18.18 + }, + "functions": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "statements": { + "total": 11, + "covered": 2, + "skipped": 0, + "pct": 18.18 + }, + "branches": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/vega_parser.js": { + "lines": { + "total": 209, + "covered": 154, + "skipped": 0, + "pct": 73.68 + }, + "functions": { + "total": 20, + "covered": 16, + "skipped": 0, + "pct": 80 + }, + "statements": { + "total": 214, + "covered": 156, + "skipped": 0, + "pct": 72.9 + }, + "branches": { + "total": 193, + "covered": 120, + "skipped": 0, + "pct": 62.18 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_base_view.js": { + "lines": { + "total": 145, + "covered": 7, + "skipped": 0, + "pct": 4.83 + }, + "functions": { + "total": 26, + "covered": 1, + "skipped": 0, + "pct": 3.85 + }, + "statements": { + "total": 150, + "covered": 7, + "skipped": 0, + "pct": 4.67 + }, + "branches": { + "total": 73, + "covered": 1, + "skipped": 0, + "pct": 1.37 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_map_layer.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_map_view.js": { + "lines": { + "total": 44, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 46, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_tooltip.js": { + "lines": { + "total": 24, + "covered": 1, + "skipped": 0, + "pct": 4.17 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 25, + "covered": 1, + "skipped": 0, + "pct": 4 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_view.js": { + "lines": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/response_handler.js": { + "lines": { + "total": 46, + "covered": 3, + "skipped": 0, + "pct": 6.52 + }, + "functions": { + "total": 7, + "covered": 1, + "skipped": 0, + "pct": 14.29 + }, + "statements": { + "total": 47, + "covered": 3, + "skipped": 0, + "pct": 6.38 + }, + "branches": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/vis.js": { + "lines": { + "total": 44, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 47, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 24, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/vislib.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/data_array.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/flatten_series.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/labels.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/truncate_labels.js": { + "lines": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/uniq_labels.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/_collect_branch.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/_hierarchical_tooltip_formatter.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js": { + "lines": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 28, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/position_tooltip.js": { + "lines": { + "total": 69, + "covered": 8, + "skipped": 0, + "pct": 11.59 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 75, + "covered": 8, + "skipped": 0, + "pct": 10.67 + }, + "branches": { + "total": 46, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/tooltip.js": { + "lines": { + "total": 86, + "covered": 11, + "skipped": 0, + "pct": 12.79 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 88, + "covered": 11, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 42, + "covered": 3, + "skipped": 0, + "pct": 7.14 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/flatten_data.js": { + "lines": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "branches": { + "total": 12, + "covered": 8, + "skipped": 0, + "pct": 66.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/inject_zeros.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/ordered_x_keys.js": { + "lines": { + "total": 26, + "covered": 11, + "skipped": 0, + "pct": 42.31 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 29, + "covered": 13, + "skipped": 0, + "pct": 44.83 + }, + "branches": { + "total": 19, + "covered": 11, + "skipped": 0, + "pct": 57.89 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/uniq_keys.js": { + "lines": { + "total": 23, + "covered": 20, + "skipped": 0, + "pct": 86.96 + }, + "functions": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 23, + "covered": 20, + "skipped": 0, + "pct": 86.96 + }, + "branches": { + "total": 12, + "covered": 6, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_fill_data_array.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_filled_array.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/_data_label.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/_error_handler.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/alerts.js": { + "lines": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/chart_grid.js": { + "lines": { + "total": 39, + "covered": 1, + "skipped": 0, + "pct": 2.56 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 47, + "covered": 1, + "skipped": 0, + "pct": 2.13 + }, + "branches": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/chart_title.js": { + "lines": { + "total": 39, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 39, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/data.js": { + "lines": { + "total": 161, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 61, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 168, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 82, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/dispatch.js": { + "lines": { + "total": 141, + "covered": 26, + "skipped": 0, + "pct": 18.44 + }, + "functions": { + "total": 41, + "covered": 6, + "skipped": 0, + "pct": 14.63 + }, + "statements": { + "total": 149, + "covered": 28, + "skipped": 0, + "pct": 18.79 + }, + "branches": { + "total": 97, + "covered": 23, + "skipped": 0, + "pct": 23.71 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/handler.js": { + "lines": { + "total": 69, + "covered": 1, + "skipped": 0, + "pct": 1.45 + }, + "functions": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 71, + "covered": 1, + "skipped": 0, + "pct": 1.41 + }, + "branches": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/vis_config.js": { + "lines": { + "total": 11, + "covered": 1, + "skipped": 0, + "pct": 9.09 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 1, + "skipped": 0, + "pct": 9.09 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/axis.js": { + "lines": { + "total": 106, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 109, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 51, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/axis_config.js": { + "lines": { + "total": 84, + "covered": 7, + "skipped": 0, + "pct": 8.33 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 89, + "covered": 7, + "skipped": 0, + "pct": 7.87 + }, + "branches": { + "total": 66, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/axis_labels.js": { + "lines": { + "total": 72, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 77, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 36, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/axis_scale.js": { + "lines": { + "total": 118, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 134, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 97, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/axis_title.js": { + "lines": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/scale_modes.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/time_ticks.js": { + "lines": { + "total": 12, + "covered": 12, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 13, + "covered": 13, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/layout.js": { + "lines": { + "total": 54, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 54, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/layout_types.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js": { + "lines": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js": { + "lines": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js": { + "lines": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/types/column_layout.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/types/gauge_layout.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/types/pie_layout.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/types/gauge.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/types/index.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/types/pie.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/types/point_series.js": { + "lines": { + "total": 70, + "covered": 57, + "skipped": 0, + "pct": 81.43 + }, + "functions": { + "total": 17, + "covered": 12, + "skipped": 0, + "pct": 70.59 + }, + "statements": { + "total": 73, + "covered": 58, + "skipped": 0, + "pct": 79.45 + }, + "branches": { + "total": 76, + "covered": 48, + "skipped": 0, + "pct": 63.16 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/_chart.js": { + "lines": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/gauge_chart.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/pie_chart.js": { + "lines": { + "total": 146, + "covered": 1, + "skipped": 0, + "pct": 0.68 + }, + "functions": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 153, + "covered": 1, + "skipped": 0, + "pct": 0.65 + }, + "branches": { + "total": 86, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series.js": { + "lines": { + "total": 103, + "covered": 2, + "skipped": 0, + "pct": 1.94 + }, + "functions": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 108, + "covered": 2, + "skipped": 0, + "pct": 1.85 + }, + "branches": { + "total": 63, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/time_marker.js": { + "lines": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/vis_types.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/gauges/gauge_types.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/gauges/meter.js": { + "lines": { + "total": 132, + "covered": 3, + "skipped": 0, + "pct": 2.27 + }, + "functions": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 135, + "covered": 3, + "skipped": 0, + "pct": 2.22 + }, + "branches": { + "total": 57, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/_point_series.js": { + "lines": { + "total": 55, + "covered": 1, + "skipped": 0, + "pct": 1.82 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 61, + "covered": 1, + "skipped": 0, + "pct": 1.64 + }, + "branches": { + "total": 43, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/area_chart.js": { + "lines": { + "total": 94, + "covered": 1, + "skipped": 0, + "pct": 1.06 + }, + "functions": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 95, + "covered": 1, + "skipped": 0, + "pct": 1.05 + }, + "branches": { + "total": 38, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/column_chart.js": { + "lines": { + "total": 133, + "covered": 1, + "skipped": 0, + "pct": 0.75 + }, + "functions": { + "total": 30, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 137, + "covered": 1, + "skipped": 0, + "pct": 0.73 + }, + "branches": { + "total": 107, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/heatmap_chart.js": { + "lines": { + "total": 147, + "covered": 1, + "skipped": 0, + "pct": 0.68 + }, + "functions": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 153, + "covered": 1, + "skipped": 0, + "pct": 0.65 + }, + "branches": { + "total": 80, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/line_chart.js": { + "lines": { + "total": 77, + "covered": 1, + "skipped": 0, + "pct": 1.3 + }, + "functions": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 78, + "covered": 1, + "skipped": 0, + "pct": 1.28 + }, + "branches": { + "total": 51, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/series_types.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/vis_impl.js": { + "lines": { + "total": 58, + "covered": 26, + "skipped": 0, + "pct": 44.83 + }, + "functions": { + "total": 24, + "covered": 7, + "skipped": 0, + "pct": 29.17 + }, + "statements": { + "total": 59, + "covered": 26, + "skipped": 0, + "pct": 44.07 + }, + "branches": { + "total": 48, + "covered": 19, + "skipped": 0, + "pct": 39.58 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/expressions/vis.js": { + "lines": { + "total": 33, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/legacy/calculate_object_hash.js": { + "lines": { + "total": 28, + "covered": 24, + "skipped": 0, + "pct": 85.71 + }, + "functions": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 28, + "covered": 24, + "skipped": 0, + "pct": 85.71 + }, + "branches": { + "total": 16, + "covered": 12, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/legacy/vis_update.js": { + "lines": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 12, + "covered": 3, + "skipped": 0, + "pct": 25 + }, + "branches": { + "total": 28, + "covered": 2, + "skipped": 0, + "pct": 7.14 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/legacy/vis_update_state.js": { + "lines": { + "total": 46, + "covered": 42, + "skipped": 0, + "pct": 91.3 + }, + "functions": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 47, + "covered": 42, + "skipped": 0, + "pct": 89.36 + }, + "branches": { + "total": 38, + "covered": 28, + "skipped": 0, + "pct": 73.68 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/vis_types/base_vis_type.js": { + "lines": { + "total": 17, + "covered": 10, + "skipped": 0, + "pct": 58.82 + }, + "functions": { + "total": 3, + "covered": 2, + "skipped": 0, + "pct": 66.67 + }, + "statements": { + "total": 17, + "covered": 10, + "skipped": 0, + "pct": 58.82 + }, + "branches": { + "total": 17, + "covered": 9, + "skipped": 0, + "pct": 52.94 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/vis_types/react_vis_type.js": { + "lines": { + "total": 12, + "covered": 10, + "skipped": 0, + "pct": 83.33 + }, + "functions": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "statements": { + "total": 12, + "covered": 10, + "skipped": 0, + "pct": 83.33 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + } +} diff --git a/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/coverage-summary-manual-mix.json b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/coverage-summary-manual-mix.json new file mode 100644 index 0000000000000..2554d9131f7c6 --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/coverage-summary-manual-mix.json @@ -0,0 +1,158 @@ +{ + "total": { + "lines": { + "total": 14817, + "covered": 3377, + "skipped": 0, + "pct": 22.79 + }, + "statements": { + "total": 15507, + "covered": 3453, + "skipped": 0, + "pct": 22.27 + }, + "functions": { + "total": 3286, + "covered": 654, + "skipped": 0, + "pct": 19.9 + }, + "branches": { + "total": 8060, + "covered": 1439, + "skipped": 0, + "pct": 17.85 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/x-pack/legacy/plugins/reporting/server/browsers/extract/unzip.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "total": { + "lines": { + "total": 14817, + "covered": 3377, + "skipped": 0, + "pct": 22.79 + }, + "statements": { + "total": 15507, + "covered": 3453, + "skipped": 0, + "pct": 22.27 + }, + "functions": { + "total": 3286, + "covered": 654, + "skipped": 0, + "pct": 19.9 + }, + "branches": { + "total": 8060, + "covered": 1439, + "skipped": 0, + "pct": 17.85 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/button/button.js": { + "lines": { + "total": 33, + "covered": 28, + "skipped": 0, + "pct": 84.85 + }, + "functions": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "statements": { + "total": 33, + "covered": 28, + "skipped": 0, + "pct": 84.85 + }, + "branches": { + "total": 21, + "covered": 16, + "skipped": 0, + "pct": 76.19 + } + }, + "total": { + "lines": { + "total": 14817, + "covered": 3377, + "skipped": 0, + "pct": 22.79 + }, + "statements": { + "total": 15507, + "covered": 3453, + "skipped": 0, + "pct": 22.27 + }, + "functions": { + "total": 3286, + "covered": 654, + "skipped": 0, + "pct": 19.9 + }, + "branches": { + "total": 8060, + "covered": 1439, + "skipped": 0, + "pct": 17.85 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/button/button_icon/button_icon.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + } +} diff --git a/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/coverage-summary.json b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/coverage-summary.json new file mode 100644 index 0000000000000..5e6a8b2d3ea25 --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/jest-combined/coverage-summary.json @@ -0,0 +1,13366 @@ +{ + "total": { + "lines": { + "total": 14817, + "covered": 3377, + "skipped": 0, + "pct": 22.79 + }, + "statements": { + "total": 15507, + "covered": 3453, + "skipped": 0, + "pct": 22.27 + }, + "functions": { + "total": 3286, + "covered": 654, + "skipped": 0, + "pct": 19.9 + }, + "branches": { + "total": 8060, + "covered": 1439, + "skipped": 0, + "pct": 17.85 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/bar/bar.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/bar/bar_section.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/button/button.js": { + "lines": { + "total": 33, + "covered": 28, + "skipped": 0, + "pct": 84.85 + }, + "functions": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "statements": { + "total": 33, + "covered": 28, + "skipped": 0, + "pct": 84.85 + }, + "branches": { + "total": 21, + "covered": 16, + "skipped": 0, + "pct": 76.19 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/button/button_group/button_group.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/button/button_icon/button_icon.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/collapse_button/collapse_button.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/empty_table_prompt/empty_table_prompt.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/empty_table_prompt/empty_table_prompt_actions.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/empty_table_prompt/empty_table_prompt_message.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/empty_table_prompt/empty_table_prompt_panel.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/check_box/check_box.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/check_box/check_box_label.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/label/label.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/select/select.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/text_area/text_area.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form/text_input/text_input.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form_layout/field_group.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/form_layout/field_group_section.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_nav.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_nav_row.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_nav_row_section.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_tab.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_tabs.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/local_nav/local_title.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/pager/pager.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/pager/pager_button_group.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/controlled_table.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_body.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_header.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_header_cell.js": { + "lines": { + "total": 12, + "covered": 6, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 12, + "covered": 6, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_header_check_box_cell.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_info.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_row.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_row_cell.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/table_row_check_box_cell.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table.js": { + "lines": { + "total": 20, + "covered": 16, + "skipped": 0, + "pct": 80 + }, + "functions": { + "total": 11, + "covered": 8, + "skipped": 0, + "pct": 72.73 + }, + "statements": { + "total": 22, + "covered": 16, + "skipped": 0, + "pct": 72.73 + }, + "branches": { + "total": 14, + "covered": 9, + "skipped": 0, + "pct": 64.29 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_create_button.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_delete_button.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_loading_prompt.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_no_matches_prompt.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_row.js": { + "lines": { + "total": 11, + "covered": 10, + "skipped": 0, + "pct": 90.91 + }, + "functions": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + }, + "statements": { + "total": 11, + "covered": 10, + "skipped": 0, + "pct": 90.91 + }, + "branches": { + "total": 6, + "covered": 5, + "skipped": 0, + "pct": 83.33 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_tool_bar.js": { + "lines": { + "total": 6, + "covered": 4, + "skipped": 0, + "pct": 66.67 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 4, + "skipped": 0, + "pct": 66.67 + }, + "branches": { + "total": 4, + "covered": 2, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/table/listing_table/listing_table_tool_bar_footer.js": { + "lines": { + "total": 8, + "covered": 6, + "skipped": 0, + "pct": 75 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 6, + "skipped": 0, + "pct": 75 + }, + "branches": { + "total": 4, + "covered": 2, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tabs/tab.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tabs/tabs.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar_footer.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar_footer_section.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar_search_box.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar_section.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/tool_bar/tool_bar_text.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/components/typography/typography.js": { + "lines": { + "total": 12, + "covered": 12, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 12, + "covered": 12, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/alignment.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/key_codes.js": { + "lines": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/accessibility/accessible_click_keys.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/accessibility/cascading_menu_key_codes.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/accessibility/combo_box_key_codes.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/accessibility/html_id_generator.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/packages/kbn-ui-framework/src/services/sort/sortable_properties.js": { + "lines": { + "total": 17, + "covered": 17, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 18, + "covered": 18, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 10, + "covered": 8, + "skipped": 0, + "pct": 80 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/apm_oss/index.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/data/public/actions/filters/create_filters_from_event.js": { + "lines": { + "total": 39, + "covered": 3, + "skipped": 0, + "pct": 7.69 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 41, + "covered": 3, + "skipped": 0, + "pct": 7.32 + }, + "branches": { + "total": 30, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/data/public/search/aggs/buckets/_terms_other_bucket_helper.js": { + "lines": { + "total": 100, + "covered": 7, + "skipped": 0, + "pct": 7 + }, + "functions": { + "total": 24, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 110, + "covered": 7, + "skipped": 0, + "pct": 6.36 + }, + "branches": { + "total": 42, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/data/public/search/expressions/create_filter.js": { + "lines": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/elasticsearch/index.js": { + "lines": { + "total": 28, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/elasticsearch/lib/version_health_check.js": { + "lines": { + "total": 10, + "covered": 9, + "skipped": 0, + "pct": 90 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 9, + "skipped": 0, + "pct": 90 + }, + "branches": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/elasticsearch/server/lib/abortable_request_handler.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/elasticsearch/server/lib/create_proxy.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/elasticsearch/server/lib/handle_es_error.js": { + "lines": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/index.js": { + "lines": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 33, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/inject_vars.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/ui_setting_defaults.js": { + "lines": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/common/utils/no_white_space.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/common/utils/shorten_dotted_string.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/migrations/migrations.js": { + "lines": { + "total": 264, + "covered": 250, + "skipped": 0, + "pct": 94.7 + }, + "functions": { + "total": 37, + "covered": 35, + "skipped": 0, + "pct": 94.59 + }, + "statements": { + "total": 269, + "covered": 252, + "skipped": 0, + "pct": 93.68 + }, + "branches": { + "total": 190, + "covered": 149, + "skipped": 0, + "pct": 78.42 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/kibana.js": { + "lines": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/dashboard/np_ready/legacy_app.js": { + "lines": { + "total": 64, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 66, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/dashboard/np_ready/listing/dashboard_listing.js": { + "lines": { + "total": 11, + "covered": 10, + "skipped": 0, + "pct": 90.91 + }, + "functions": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "statements": { + "total": 11, + "covered": 10, + "skipped": 0, + "pct": 90.91 + }, + "branches": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context.js": { + "lines": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context_app.js": { + "lines": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/discover.js": { + "lines": { + "total": 313, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 86, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 325, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 137, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/response_handler.js": { + "lines": { + "total": 44, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 45, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/api/anchor.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/helpers/call_after_bindings_workaround.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query/actions.js": { + "lines": { + "total": 57, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 30, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 68, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query/constants.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query/state.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query_parameters/actions.js": { + "lines": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/context/query_parameters/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/field_name.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/fixed_scroll.js": { + "lines": { + "total": 42, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 44, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/index.js": { + "lines": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/no_results.js": { + "lines": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/unsupported_index_pattern.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/debounce/debounce.js": { + "lines": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/directives/debounce/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/doc_table/doc_table_strings.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/doc_table/lib/pager/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/angular/doc_table/lib/pager/pager.js": { + "lines": { + "total": 24, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 24, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/fetch_error/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/field_chooser/discover_field.js": { + "lines": { + "total": 41, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 41, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/field_chooser/field_chooser.js": { + "lines": { + "total": 96, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 102, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 88, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/field_chooser/lib/field_calculator.js": { + "lines": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/help_menu/help_menu_util.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/top_nav/open_search_panel.js": { + "lines": { + "total": 7, + "covered": 4, + "skipped": 0, + "pct": 57.14 + }, + "functions": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "statements": { + "total": 7, + "covered": 4, + "skipped": 0, + "pct": 57.14 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/discover/np_ready/components/top_nav/show_open_search_panel.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/load_tutorials.js": { + "lines": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/sample_data_client.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/add_data.js": { + "lines": { + "total": 14, + "covered": 14, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 14, + "covered": 14, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/feature_directory.js": { + "lines": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/home.js": { + "lines": { + "total": 34, + "covered": 31, + "skipped": 0, + "pct": 91.18 + }, + "functions": { + "total": 14, + "covered": 12, + "skipped": 0, + "pct": 85.71 + }, + "statements": { + "total": 34, + "covered": 31, + "skipped": 0, + "pct": 91.18 + }, + "branches": { + "total": 17, + "covered": 14, + "skipped": 0, + "pct": 82.35 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/home_app.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/recently_accessed.js": { + "lines": { + "total": 37, + "covered": 35, + "skipped": 0, + "pct": 94.59 + }, + "functions": { + "total": 8, + "covered": 7, + "skipped": 0, + "pct": 87.5 + }, + "statements": { + "total": 39, + "covered": 37, + "skipped": 0, + "pct": 94.87 + }, + "branches": { + "total": 15, + "covered": 12, + "skipped": 0, + "pct": 80 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/sample_data_set_card.js": { + "lines": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/sample_data_set_cards.js": { + "lines": { + "total": 48, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 54, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/sample_data_view_data_button.js": { + "lines": { + "total": 13, + "covered": 11, + "skipped": 0, + "pct": 84.62 + }, + "functions": { + "total": 5, + "covered": 2, + "skipped": 0, + "pct": 40 + }, + "statements": { + "total": 14, + "covered": 11, + "skipped": 0, + "pct": 78.57 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/synopsis.js": { + "lines": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial_directory.js": { + "lines": { + "total": 41, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 41, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/content.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/footer.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/instruction.js": { + "lines": { + "total": 12, + "covered": 5, + "skipped": 0, + "pct": 41.67 + }, + "functions": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "statements": { + "total": 12, + "covered": 5, + "skipped": 0, + "pct": 41.67 + }, + "branches": { + "total": 6, + "covered": 3, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/instruction_set.js": { + "lines": { + "total": 54, + "covered": 45, + "skipped": 0, + "pct": 83.33 + }, + "functions": { + "total": 17, + "covered": 13, + "skipped": 0, + "pct": 76.47 + }, + "statements": { + "total": 55, + "covered": 45, + "skipped": 0, + "pct": 81.82 + }, + "branches": { + "total": 36, + "covered": 20, + "skipped": 0, + "pct": 55.56 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/introduction.js": { + "lines": { + "total": 12, + "covered": 12, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 12, + "covered": 12, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/number_parameter.js": { + "lines": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/parameter_form.js": { + "lines": { + "total": 8, + "covered": 2, + "skipped": 0, + "pct": 25 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 2, + "skipped": 0, + "pct": 25 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/replace_template_strings.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/saved_objects_installer.js": { + "lines": { + "total": 31, + "covered": 25, + "skipped": 0, + "pct": 80.65 + }, + "functions": { + "total": 8, + "covered": 6, + "skipped": 0, + "pct": 75 + }, + "statements": { + "total": 31, + "covered": 25, + "skipped": 0, + "pct": 80.65 + }, + "branches": { + "total": 18, + "covered": 13, + "skipped": 0, + "pct": 72.22 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/status_check_states.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/string_parameter.js": { + "lines": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/home/np_ready/components/tutorial/tutorial.js": { + "lines": { + "total": 92, + "covered": 51, + "skipped": 0, + "pct": 55.43 + }, + "functions": { + "total": 24, + "covered": 12, + "skipped": 0, + "pct": 50 + }, + "statements": { + "total": 93, + "covered": 51, + "skipped": 0, + "pct": 54.84 + }, + "branches": { + "total": 50, + "covered": 27, + "skipped": 0, + "pct": 54 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/index.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 37, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/breadcrumbs.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/index.js": { + "lines": { + "total": 40, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 42, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/create_index_pattern_wizard.js": { + "lines": { + "total": 54, + "covered": 40, + "skipped": 0, + "pct": 74.07 + }, + "functions": { + "total": 19, + "covered": 10, + "skipped": 0, + "pct": 52.63 + }, + "statements": { + "total": 58, + "covered": 41, + "skipped": 0, + "pct": 70.69 + }, + "branches": { + "total": 19, + "covered": 14, + "skipped": 0, + "pct": 73.68 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/index.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/render.js": { + "lines": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "branches": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/edit_index_pattern.js": { + "lines": { + "total": 131, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 40, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 132, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 39, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/edit_sections.js": { + "lines": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/create_edit_field/create_edit_field.js": { + "lines": { + "total": 42, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 43, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/create_edit_field/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/index_header/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/index_header/index_header.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/indexed_fields_table.js": { + "lines": { + "total": 22, + "covered": 20, + "skipped": 0, + "pct": 90.91 + }, + "functions": { + "total": 13, + "covered": 11, + "skipped": 0, + "pct": 84.62 + }, + "statements": { + "total": 25, + "covered": 22, + "skipped": 0, + "pct": 88 + }, + "branches": { + "total": 17, + "covered": 12, + "skipped": 0, + "pct": 70.59 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/components/table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/components/table/table.js": { + "lines": { + "total": 19, + "covered": 16, + "skipped": 0, + "pct": 84.21 + }, + "functions": { + "total": 10, + "covered": 7, + "skipped": 0, + "pct": 70 + }, + "statements": { + "total": 19, + "covered": 16, + "skipped": 0, + "pct": 84.21 + }, + "branches": { + "total": 10, + "covered": 9, + "skipped": 0, + "pct": 90 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/lib/get_field_format.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/indexed_fields_table/lib/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/scripted_fields_table.js": { + "lines": { + "total": 44, + "covered": 43, + "skipped": 0, + "pct": 97.73 + }, + "functions": { + "total": 13, + "covered": 12, + "skipped": 0, + "pct": 92.31 + }, + "statements": { + "total": 44, + "covered": 43, + "skipped": 0, + "pct": 97.73 + }, + "branches": { + "total": 12, + "covered": 11, + "skipped": 0, + "pct": 91.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/call_outs/call_outs.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/call_outs/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/header/header.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/header/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/scripted_fields_table/components/table/table.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/source_filters_table.js": { + "lines": { + "total": 51, + "covered": 50, + "skipped": 0, + "pct": 98.04 + }, + "functions": { + "total": 17, + "covered": 17, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 52, + "covered": 51, + "skipped": 0, + "pct": 98.08 + }, + "branches": { + "total": 14, + "covered": 9, + "skipped": 0, + "pct": 64.29 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/add_filter/add_filter.js": { + "lines": { + "total": 8, + "covered": 7, + "skipped": 0, + "pct": 87.5 + }, + "functions": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + }, + "statements": { + "total": 8, + "covered": 7, + "skipped": 0, + "pct": 87.5 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/add_filter/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/header/header.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/header/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/edit_index_pattern/source_filters_table/components/table/table.js": { + "lines": { + "total": 34, + "covered": 30, + "skipped": 0, + "pct": 88.24 + }, + "functions": { + "total": 15, + "covered": 13, + "skipped": 0, + "pct": 86.67 + }, + "statements": { + "total": 34, + "covered": 30, + "skipped": 0, + "pct": 88.24 + }, + "branches": { + "total": 12, + "covered": 10, + "skipped": 0, + "pct": 83.33 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/index_pattern_table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/_objects.js": { + "lines": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/_view.js": { + "lines": { + "total": 107, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 111, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 44, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/breadcrumbs.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/index.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/objects_table.js": { + "lines": { + "total": 130, + "covered": 108, + "skipped": 0, + "pct": 83.08 + }, + "functions": { + "total": 46, + "covered": 35, + "skipped": 0, + "pct": 76.09 + }, + "statements": { + "total": 135, + "covered": 112, + "skipped": 0, + "pct": 82.96 + }, + "branches": { + "total": 48, + "covered": 34, + "skipped": 0, + "pct": 70.83 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/flyout/flyout.js": { + "lines": { + "total": 146, + "covered": 119, + "skipped": 0, + "pct": 81.51 + }, + "functions": { + "total": 43, + "covered": 31, + "skipped": 0, + "pct": 72.09 + }, + "statements": { + "total": 148, + "covered": 120, + "skipped": 0, + "pct": 81.08 + }, + "branches": { + "total": 77, + "covered": 66, + "skipped": 0, + "pct": 85.71 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/flyout/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/header/header.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/header/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/relationships/relationships.js": { + "lines": { + "total": 40, + "covered": 25, + "skipped": 0, + "pct": 62.5 + }, + "functions": { + "total": 13, + "covered": 7, + "skipped": 0, + "pct": 53.85 + }, + "statements": { + "total": 40, + "covered": 25, + "skipped": 0, + "pct": 62.5 + }, + "branches": { + "total": 28, + "covered": 8, + "skipped": 0, + "pct": 28.57 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/table/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/table/table.js": { + "lines": { + "total": 38, + "covered": 23, + "skipped": 0, + "pct": 60.53 + }, + "functions": { + "total": 17, + "covered": 6, + "skipped": 0, + "pct": 35.29 + }, + "statements": { + "total": 40, + "covered": 23, + "skipped": 0, + "pct": 57.5 + }, + "branches": { + "total": 20, + "covered": 13, + "skipped": 0, + "pct": 65 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/fetch_export_by_type_and_search.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/fetch_export_objects.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/find_objects.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/get_default_title.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/get_relationships.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 7, + "covered": 5, + "skipped": 0, + "pct": 71.43 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/get_saved_object_counts.js": { + "lines": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/get_saved_object_label.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/import_file.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/import_legacy_file.js": { + "lines": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/in_app_url.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/is_same_query.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/log_legacy_import.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/parse_query.js": { + "lines": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 6, + "covered": 5, + "skipped": 0, + "pct": 83.33 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/resolve_import_errors.js": { + "lines": { + "total": 59, + "covered": 59, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 13, + "covered": 13, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 62, + "covered": 62, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 38, + "covered": 36, + "skipped": 0, + "pct": 94.74 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/lib/resolve_saved_objects.js": { + "lines": { + "total": 110, + "covered": 69, + "skipped": 0, + "pct": 62.73 + }, + "functions": { + "total": 23, + "covered": 20, + "skipped": 0, + "pct": 86.96 + }, + "statements": { + "total": 114, + "covered": 73, + "skipped": 0, + "pct": 64.04 + }, + "branches": { + "total": 57, + "covered": 29, + "skipped": 0, + "pct": 50.88 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/legacy_app.js": { + "lines": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 37, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/editor.js": { + "lines": { + "total": 212, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 54, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 216, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 74, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/visualization.js": { + "lines": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/editor/visualization_editor.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/help_menu/help_menu_util.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/listing/visualize_listing.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/public/visualize/np_ready/listing/visualize_listing_table.js": { + "lines": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/lib/export/export_dashboards.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/lib/import/import_dashboards.js": { + "lines": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/lib/management/saved_objects/inject_meta_attributes.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/lib/management/saved_objects/relationships.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/export/index.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/import/index.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/management/index.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/management/saved_objects/find.js": { + "lines": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/management/saved_objects/relationships.js": { + "lines": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/kibana/server/routes/api/management/saved_objects/scroll.js": { + "lines": { + "total": 26, + "covered": 8, + "skipped": 0, + "pct": 30.77 + }, + "functions": { + "total": 7, + "covered": 3, + "skipped": 0, + "pct": 42.86 + }, + "statements": { + "total": 26, + "covered": 8, + "skipped": 0, + "pct": 30.77 + }, + "branches": { + "total": 12, + "covered": 3, + "skipped": 0, + "pct": 25 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/region_map/public/choropleth_layer.js": { + "lines": { + "total": 206, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 47, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 211, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 90, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/region_map/public/region_map_fn.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/region_map/public/region_map_type.js": { + "lines": { + "total": 28, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/region_map/public/region_map_visualization.js": { + "lines": { + "total": 59, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 60, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 48, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/region_map/public/tooltip_formatter.js": { + "lines": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/index.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/status_page.js": { + "lines": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/components/metric_tiles.js": { + "lines": { + "total": 10, + "covered": 8, + "skipped": 0, + "pct": 80 + }, + "functions": { + "total": 5, + "covered": 3, + "skipped": 0, + "pct": 60 + }, + "statements": { + "total": 10, + "covered": 8, + "skipped": 0, + "pct": 80 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/components/render.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/components/server_status.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/components/status_app.js": { + "lines": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/components/status_table.js": { + "lines": { + "total": 7, + "covered": 4, + "skipped": 0, + "pct": 57.14 + }, + "functions": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "statements": { + "total": 7, + "covered": 4, + "skipped": 0, + "pct": 57.14 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/lib/format_number.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/lib/load_status.js": { + "lines": { + "total": 19, + "covered": 9, + "skipped": 0, + "pct": 47.37 + }, + "functions": { + "total": 4, + "covered": 3, + "skipped": 0, + "pct": 75 + }, + "statements": { + "total": 19, + "covered": 9, + "skipped": 0, + "pct": 47.37 + }, + "branches": { + "total": 7, + "covered": 3, + "skipped": 0, + "pct": 42.86 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/lib/load_status.test.mocks.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/status_page/public/lib/prop_types.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/testbed/index.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/testbed/public/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/testbed/public/testbed.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tests_bundle/find_source_files.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tests_bundle/index.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 36, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tests_bundle/tests_entry_template.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tests_bundle/webpackShims/angular-mocks.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/base_maps_visualization.js": { + "lines": { + "total": 102, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 103, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 38, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/css_filters.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/geohash_layer.js": { + "lines": { + "total": 55, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 57, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/tile_map_fn.js": { + "lines": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 7, + "skipped": 0, + "pct": 87.5 + }, + "branches": { + "total": 4, + "covered": 2, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/tile_map_type.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/tile_map_visualization.js": { + "lines": { + "total": 93, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 94, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 52, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/editors/_tooltip_formatter.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/markers/geohash_grid.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/markers/heatmap.js": { + "lines": { + "total": 62, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 63, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 28, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/markers/scaled_circles.js": { + "lines": { + "total": 80, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 24, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 80, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/tile_map/public/markers/shaded_circles.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/app.js": { + "lines": { + "total": 151, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 54, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 159, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/breadcrumbs.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/components/timelionhelp_tabs.js": { + "lines": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/components/timelionhelp_tabs_directive.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/fixed_element.js": { + "lines": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/saved_object_finder.js": { + "lines": { + "total": 120, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 134, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 67, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/saved_object_save_as_checkbox.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_expression_input.js": { + "lines": { + "total": 95, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 95, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 36, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_expression_input_helpers.js": { + "lines": { + "total": 88, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 92, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 49, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_grid.js": { + "lines": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_load_sheet.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_options_sheet.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_save_sheet.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/cells/cells.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/chart/chart.js": { + "lines": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/fullscreen/fullscreen.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_expression_suggestions/timelion_expression_suggestions.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_help/timelion_help.js": { + "lines": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/directives/timelion_interval/timelion_interval.js": { + "lines": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/timelion/public/lib/observe_resize.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_table/public/table_vis_controller.js": { + "lines": { + "total": 18, + "covered": 18, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 19, + "covered": 18, + "skipped": 0, + "pct": 94.74 + }, + "branches": { + "total": 8, + "covered": 6, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_table/public/agg_table/agg_table.js": { + "lines": { + "total": 104, + "covered": 1, + "skipped": 0, + "pct": 0.96 + }, + "functions": { + "total": 22, + "covered": 1, + "skipped": 0, + "pct": 4.55 + }, + "statements": { + "total": 113, + "covered": 1, + "skipped": 0, + "pct": 0.88 + }, + "branches": { + "total": 61, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_table/public/agg_table/agg_table_group.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_table/public/paginated_table/paginated_table.js": { + "lines": { + "total": 32, + "covered": 27, + "skipped": 0, + "pct": 84.38 + }, + "functions": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 35, + "covered": 29, + "skipped": 0, + "pct": 82.86 + }, + "branches": { + "total": 27, + "covered": 18, + "skipped": 0, + "pct": 66.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_table/public/paginated_table/rows.js": { + "lines": { + "total": 47, + "covered": 21, + "skipped": 0, + "pct": 44.68 + }, + "functions": { + "total": 12, + "covered": 7, + "skipped": 0, + "pct": 58.33 + }, + "statements": { + "total": 48, + "covered": 22, + "skipped": 0, + "pct": 45.83 + }, + "branches": { + "total": 28, + "covered": 12, + "skipped": 0, + "pct": 42.86 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_tagcloud/public/components/feedback_message.js": { + "lines": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_tagcloud/public/components/label.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_tagcloud/public/components/tag_cloud.js": { + "lines": { + "total": 200, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 53, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 208, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 68, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_tagcloud/public/components/tag_cloud_visualization.js": { + "lines": { + "total": 64, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 65, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/flot.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/_generated_/chain.js": { + "lines": { + "total": 1070, + "covered": 612, + "skipped": 0, + "pct": 57.2 + }, + "functions": { + "total": 72, + "covered": 46, + "skipped": 0, + "pct": 63.89 + }, + "statements": { + "total": 1136, + "covered": 623, + "skipped": 0, + "pct": 54.84 + }, + "branches": { + "total": 559, + "covered": 237, + "skipped": 0, + "pct": 42.4 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.axislabels.js": { + "lines": { + "total": 238, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 238, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 123, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.crosshair.js": { + "lines": { + "total": 63, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 63, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.js": { + "lines": { + "total": 1526, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 123, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1653, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 1142, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.selection.js": { + "lines": { + "total": 138, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 145, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 83, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.stack.js": { + "lines": { + "total": 85, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 87, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 60, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.symbol.js": { + "lines": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timelion/public/webpackShims/jquery.flot.time.js": { + "lines": { + "total": 189, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 208, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 155, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/editor_controller.js": { + "lines": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/request_handler.js": { + "lines": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/add_delete_buttons.js": { + "lines": { + "total": 28, + "covered": 28, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 28, + "covered": 28, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 14, + "covered": 12, + "skipped": 0, + "pct": 85.71 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/annotations_editor.js": { + "lines": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/color_picker.js": { + "lines": { + "total": 20, + "covered": 16, + "skipped": 0, + "pct": 80 + }, + "functions": { + "total": 7, + "covered": 6, + "skipped": 0, + "pct": 85.71 + }, + "statements": { + "total": 21, + "covered": 16, + "skipped": 0, + "pct": 76.19 + }, + "branches": { + "total": 10, + "covered": 8, + "skipped": 0, + "pct": 80 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/color_rules.js": { + "lines": { + "total": 32, + "covered": 24, + "skipped": 0, + "pct": 75 + }, + "functions": { + "total": 7, + "covered": 5, + "skipped": 0, + "pct": 71.43 + }, + "statements": { + "total": 35, + "covered": 25, + "skipped": 0, + "pct": 71.43 + }, + "branches": { + "total": 11, + "covered": 5, + "skipped": 0, + "pct": 45.45 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/custom_color_picker.js": { + "lines": { + "total": 15, + "covered": 11, + "skipped": 0, + "pct": 73.33 + }, + "functions": { + "total": 5, + "covered": 3, + "skipped": 0, + "pct": 60 + }, + "statements": { + "total": 15, + "covered": 11, + "skipped": 0, + "pct": 73.33 + }, + "branches": { + "total": 12, + "covered": 4, + "skipped": 0, + "pct": 33.33 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/data_format_picker.js": { + "lines": { + "total": 47, + "covered": 4, + "skipped": 0, + "pct": 8.51 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 49, + "covered": 4, + "skipped": 0, + "pct": 8.16 + }, + "branches": { + "total": 42, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/error.js": { + "lines": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/index_pattern.js": { + "lines": { + "total": 30, + "covered": 7, + "skipped": 0, + "pct": 23.33 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 30, + "covered": 7, + "skipped": 0, + "pct": 23.33 + }, + "branches": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/markdown_editor.js": { + "lines": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/no_data.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config.js": { + "lines": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/query_bar_wrapper.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/series.js": { + "lines": { + "total": 22, + "covered": 3, + "skipped": 0, + "pct": 13.64 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 22, + "covered": 3, + "skipped": 0, + "pct": 13.64 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/series_config.js": { + "lines": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/series_drag_handler.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/series_editor.js": { + "lines": { + "total": 28, + "covered": 3, + "skipped": 0, + "pct": 10.71 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 3, + "skipped": 0, + "pct": 9.68 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/split.js": { + "lines": { + "total": 17, + "covered": 2, + "skipped": 0, + "pct": 11.76 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 17, + "covered": 2, + "skipped": 0, + "pct": 11.76 + }, + "branches": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_editor.js": { + "lines": { + "total": 53, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 53, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_editor_visualization.js": { + "lines": { + "total": 57, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 58, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 39, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_picker.js": { + "lines": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_with_splits.js": { + "lines": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/visualization.js": { + "lines": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/yes_no.js": { + "lines": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/agg.js": { + "lines": { + "total": 9, + "covered": 1, + "skipped": 0, + "pct": 11.11 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 1, + "skipped": 0, + "pct": 11.11 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/agg_row.js": { + "lines": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/agg_select.js": { + "lines": { + "total": 24, + "covered": 7, + "skipped": 0, + "pct": 29.17 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 30, + "covered": 7, + "skipped": 0, + "pct": 23.33 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/aggs.js": { + "lines": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/calculation.js": { + "lines": { + "total": 11, + "covered": 2, + "skipped": 0, + "pct": 18.18 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/cumulative_sum.js": { + "lines": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/derivative.js": { + "lines": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/field_select.js": { + "lines": { + "total": 20, + "covered": 4, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 20, + "covered": 4, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/filter_ratio.js": { + "lines": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/math.js": { + "lines": { + "total": 11, + "covered": 2, + "skipped": 0, + "pct": 18.18 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/metric_select.js": { + "lines": { + "total": 35, + "covered": 3, + "skipped": 0, + "pct": 8.57 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 36, + "covered": 3, + "skipped": 0, + "pct": 8.33 + }, + "branches": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/moving_average.js": { + "lines": { + "total": 17, + "covered": 4, + "skipped": 0, + "pct": 23.53 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 4, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile.js": { + "lines": { + "total": 12, + "covered": 3, + "skipped": 0, + "pct": 25 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 3, + "skipped": 0, + "pct": 23.08 + }, + "branches": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile_ui.js": { + "lines": { + "total": 33, + "covered": 4, + "skipped": 0, + "pct": 12.12 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 4, + "skipped": 0, + "pct": 11.76 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/positive_only.js": { + "lines": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/serial_diff.js": { + "lines": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/series_agg.js": { + "lines": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 2, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/static.js": { + "lines": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/std_agg.js": { + "lines": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/std_deviation.js": { + "lines": { + "total": 18, + "covered": 4, + "skipped": 0, + "pct": 22.22 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 4, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/std_sibling.js": { + "lines": { + "total": 18, + "covered": 3, + "skipped": 0, + "pct": 16.67 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 3, + "skipped": 0, + "pct": 16.67 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/temporary_unsupported_agg.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/top_hit.js": { + "lines": { + "total": 29, + "covered": 6, + "skipped": 0, + "pct": 20.69 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 6, + "skipped": 0, + "pct": 19.35 + }, + "branches": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/unsupported_agg.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/vars.js": { + "lines": { + "total": 17, + "covered": 3, + "skipped": 0, + "pct": 17.65 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 19, + "covered": 3, + "skipped": 0, + "pct": 15.79 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile_rank/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile_rank/multi_value_row.js": { + "lines": { + "total": 8, + "covered": 3, + "skipped": 0, + "pct": 37.5 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 3, + "skipped": 0, + "pct": 37.5 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile_rank/percentile_rank.js": { + "lines": { + "total": 14, + "covered": 3, + "skipped": 0, + "pct": 21.43 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 14, + "covered": 3, + "skipped": 0, + "pct": 21.43 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/aggs/percentile_rank/percentile_rank_values.js": { + "lines": { + "total": 14, + "covered": 2, + "skipped": 0, + "pct": 14.29 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 2, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/icon_select/icon_select.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/agg_to_component.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/calculate_siblings.js": { + "lines": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/charts.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/collection_actions.js": { + "lines": { + "total": 23, + "covered": 22, + "skipped": 0, + "pct": 95.65 + }, + "functions": { + "total": 6, + "covered": 5, + "skipped": 0, + "pct": 83.33 + }, + "statements": { + "total": 27, + "covered": 24, + "skipped": 0, + "pct": 88.89 + }, + "branches": { + "total": 17, + "covered": 8, + "skipped": 0, + "pct": 47.06 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/convert_series_to_vars.js": { + "lines": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/create_change_handler.js": { + "lines": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 1, + "skipped": 0, + "pct": 25 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/create_number_handler.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 6, + "covered": 3, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/create_select_handler.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/create_text_handler.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 6, + "covered": 3, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/create_xaxis_formatter.js": { + "lines": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/detect_ie.js": { + "lines": { + "total": 12, + "covered": 8, + "skipped": 0, + "pct": 66.67 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 12, + "covered": 8, + "skipped": 0, + "pct": 66.67 + }, + "branches": { + "total": 6, + "covered": 3, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/durations.js": { + "lines": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/get_axis_label_string.js": { + "lines": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "branches": { + "total": 4, + "covered": 2, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/get_default_query_language.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/get_display_name.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/get_interval.js": { + "lines": { + "total": 27, + "covered": 13, + "skipped": 0, + "pct": 48.15 + }, + "functions": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + }, + "statements": { + "total": 31, + "covered": 14, + "skipped": 0, + "pct": 45.16 + }, + "branches": { + "total": 17, + "covered": 4, + "skipped": 0, + "pct": 23.53 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/new_metric_agg_fn.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/new_series_fn.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/re_id_series.js": { + "lines": { + "total": 16, + "covered": 16, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 9, + "covered": 9, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 20, + "covered": 20, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/reorder.js": { + "lines": { + "total": 5, + "covered": 1, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 5, + "covered": 1, + "skipped": 0, + "pct": 20 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/replace_vars.js": { + "lines": { + "total": 11, + "covered": 6, + "skipped": 0, + "pct": 54.55 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 11, + "covered": 6, + "skipped": 0, + "pct": 54.55 + }, + "branches": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/series_change_handler.js": { + "lines": { + "total": 9, + "covered": 1, + "skipped": 0, + "pct": 11.11 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 1, + "skipped": 0, + "pct": 9.09 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/stacked.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/lib/tick_formatter.js": { + "lines": { + "total": 22, + "covered": 18, + "skipped": 0, + "pct": 81.82 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 23, + "covered": 19, + "skipped": 0, + "pct": 82.61 + }, + "branches": { + "total": 10, + "covered": 9, + "skipped": 0, + "pct": 90 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/gauge.js": { + "lines": { + "total": 30, + "covered": 25, + "skipped": 0, + "pct": 83.33 + }, + "functions": { + "total": 8, + "covered": 4, + "skipped": 0, + "pct": 50 + }, + "statements": { + "total": 33, + "covered": 28, + "skipped": 0, + "pct": 84.85 + }, + "branches": { + "total": 21, + "covered": 6, + "skipped": 0, + "pct": 28.57 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/markdown.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/metric.js": { + "lines": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/table.js": { + "lines": { + "total": 26, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 27, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/timeseries.js": { + "lines": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/panel_config/top_n.js": { + "lines": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/everything.js": { + "lines": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/filter.js": { + "lines": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/filter_items.js": { + "lines": { + "total": 25, + "covered": 2, + "skipped": 0, + "pct": 8 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 27, + "covered": 2, + "skipped": 0, + "pct": 7.41 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/filters.js": { + "lines": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/group_by_select.js": { + "lines": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 9, + "covered": 2, + "skipped": 0, + "pct": 22.22 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/terms.js": { + "lines": { + "total": 19, + "covered": 18, + "skipped": 0, + "pct": 94.74 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 20, + "covered": 19, + "skipped": 0, + "pct": 95 + }, + "branches": { + "total": 9, + "covered": 6, + "skipped": 0, + "pct": 66.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/splits/unsupported_split.js": { + "lines": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/svg/bomb_icon.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/svg/fire_icon.js": { + "lines": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/gauge/series.js": { + "lines": { + "total": 18, + "covered": 12, + "skipped": 0, + "pct": 66.67 + }, + "functions": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "statements": { + "total": 19, + "covered": 13, + "skipped": 0, + "pct": 68.42 + }, + "branches": { + "total": 6, + "covered": 2, + "skipped": 0, + "pct": 33.33 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/gauge/vis.js": { + "lines": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 39, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/markdown/series.js": { + "lines": { + "total": 17, + "covered": 2, + "skipped": 0, + "pct": 11.76 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 2, + "skipped": 0, + "pct": 11.11 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/markdown/vis.js": { + "lines": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/metric/series.js": { + "lines": { + "total": 19, + "covered": 12, + "skipped": 0, + "pct": 63.16 + }, + "functions": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "statements": { + "total": 20, + "covered": 13, + "skipped": 0, + "pct": 65 + }, + "branches": { + "total": 8, + "covered": 3, + "skipped": 0, + "pct": 37.5 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/metric/vis.js": { + "lines": { + "total": 28, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/table/config.js": { + "lines": { + "total": 16, + "covered": 2, + "skipped": 0, + "pct": 12.5 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 2, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/table/is_sortable.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/table/series.js": { + "lines": { + "total": 15, + "covered": 2, + "skipped": 0, + "pct": 13.33 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 16, + "covered": 2, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/table/vis.js": { + "lines": { + "total": 75, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 79, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 58, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/timeseries/config.js": { + "lines": { + "total": 28, + "covered": 2, + "skipped": 0, + "pct": 7.14 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 28, + "covered": 2, + "skipped": 0, + "pct": 7.14 + }, + "branches": { + "total": 30, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/timeseries/series.js": { + "lines": { + "total": 19, + "covered": 3, + "skipped": 0, + "pct": 15.79 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 20, + "covered": 3, + "skipped": 0, + "pct": 15 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/timeseries/vis.js": { + "lines": { + "total": 80, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 84, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 48, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/top_n/series.js": { + "lines": { + "total": 16, + "covered": 2, + "skipped": 0, + "pct": 12.5 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 17, + "covered": 2, + "skipped": 0, + "pct": 11.76 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/components/vis_types/top_n/vis.js": { + "lines": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 38, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/contexts/form_validation_context.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/contexts/vis_data_context.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/lib/check_ui_restrictions.js": { + "lines": { + "total": 13, + "covered": 5, + "skipped": 0, + "pct": 38.46 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 13, + "covered": 5, + "skipped": 0, + "pct": 38.46 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/lib/create_brush_handler.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/lib/fetch_fields.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/lib/set_is_reversed.js": { + "lines": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/lib/validate_interval.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/constants/chart.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/constants/icons.js": { + "lines": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/constants/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/lib/active_cursor.js": { + "lines": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/lib/calc_dimensions.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/lib/calculate_coordinates.js": { + "lines": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/lib/get_value_by.js": { + "lines": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/annotation.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/gauge.js": { + "lines": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/gauge_vis.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/metric.js": { + "lines": { + "total": 41, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 46, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 40, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/top_n.js": { + "lines": { + "total": 48, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 16, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 49, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/index.js": { + "lines": { + "total": 33, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 37, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/decorators/area_decorator.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/decorators/bar_decorator.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/model/charts.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/utils/series_styles.js": { + "lines": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 23, + "covered": 23, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_timeseries/public/visualizations/views/timeseries/utils/stack_format.js": { + "lines": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_visualization.js": { + "lines": { + "total": 38, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 38, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/ems_file_parser.js": { + "lines": { + "total": 14, + "covered": 12, + "skipped": 0, + "pct": 85.71 + }, + "functions": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 16, + "covered": 13, + "skipped": 0, + "pct": 81.25 + }, + "branches": { + "total": 8, + "covered": 4, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/es_query_parser.js": { + "lines": { + "total": 142, + "covered": 115, + "skipped": 0, + "pct": 80.99 + }, + "functions": { + "total": 8, + "covered": 8, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 145, + "covered": 117, + "skipped": 0, + "pct": 80.69 + }, + "branches": { + "total": 104, + "covered": 75, + "skipped": 0, + "pct": 72.12 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/search_cache.js": { + "lines": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 11, + "covered": 11, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/time_cache.js": { + "lines": { + "total": 21, + "covered": 19, + "skipped": 0, + "pct": 90.48 + }, + "functions": { + "total": 5, + "covered": 3, + "skipped": 0, + "pct": 60 + }, + "statements": { + "total": 21, + "covered": 19, + "skipped": 0, + "pct": 90.48 + }, + "branches": { + "total": 12, + "covered": 11, + "skipped": 0, + "pct": 91.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/url_parser.js": { + "lines": { + "total": 9, + "covered": 1, + "skipped": 0, + "pct": 11.11 + }, + "functions": { + "total": 3, + "covered": 1, + "skipped": 0, + "pct": 33.33 + }, + "statements": { + "total": 9, + "covered": 1, + "skipped": 0, + "pct": 11.11 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/utils.js": { + "lines": { + "total": 11, + "covered": 2, + "skipped": 0, + "pct": 18.18 + }, + "functions": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + }, + "statements": { + "total": 11, + "covered": 2, + "skipped": 0, + "pct": 18.18 + }, + "branches": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/data_model/vega_parser.js": { + "lines": { + "total": 209, + "covered": 154, + "skipped": 0, + "pct": 73.68 + }, + "functions": { + "total": 20, + "covered": 16, + "skipped": 0, + "pct": 80 + }, + "statements": { + "total": 214, + "covered": 156, + "skipped": 0, + "pct": 72.9 + }, + "branches": { + "total": 193, + "covered": 120, + "skipped": 0, + "pct": 62.18 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_base_view.js": { + "lines": { + "total": 145, + "covered": 7, + "skipped": 0, + "pct": 4.83 + }, + "functions": { + "total": 26, + "covered": 1, + "skipped": 0, + "pct": 3.85 + }, + "statements": { + "total": 150, + "covered": 7, + "skipped": 0, + "pct": 4.67 + }, + "branches": { + "total": 73, + "covered": 1, + "skipped": 0, + "pct": 1.37 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_map_layer.js": { + "lines": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_map_view.js": { + "lines": { + "total": 44, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 46, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_tooltip.js": { + "lines": { + "total": 24, + "covered": 1, + "skipped": 0, + "pct": 4.17 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 25, + "covered": 1, + "skipped": 0, + "pct": 4 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_view.js": { + "lines": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/response_handler.js": { + "lines": { + "total": 46, + "covered": 3, + "skipped": 0, + "pct": 6.52 + }, + "functions": { + "total": 7, + "covered": 1, + "skipped": 0, + "pct": 14.29 + }, + "statements": { + "total": 47, + "covered": 3, + "skipped": 0, + "pct": 6.38 + }, + "branches": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/vis.js": { + "lines": { + "total": 44, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 47, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 24, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/vislib.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/data_array.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/flatten_series.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/labels.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/truncate_labels.js": { + "lines": { + "total": 6, + "covered": 1, + "skipped": 0, + "pct": 16.67 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 8, + "covered": 1, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/labels/uniq_labels.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/_collect_branch.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/_hierarchical_tooltip_formatter.js": { + "lines": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/_pointseries_tooltip_formatter.js": { + "lines": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 28, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/position_tooltip.js": { + "lines": { + "total": 69, + "covered": 8, + "skipped": 0, + "pct": 11.59 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 75, + "covered": 8, + "skipped": 0, + "pct": 10.67 + }, + "branches": { + "total": 46, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/tooltip/tooltip.js": { + "lines": { + "total": 86, + "covered": 11, + "skipped": 0, + "pct": 12.79 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 88, + "covered": 11, + "skipped": 0, + "pct": 12.5 + }, + "branches": { + "total": 42, + "covered": 3, + "skipped": 0, + "pct": 7.14 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/flatten_data.js": { + "lines": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "branches": { + "total": 12, + "covered": 8, + "skipped": 0, + "pct": 66.67 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/inject_zeros.js": { + "lines": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/ordered_x_keys.js": { + "lines": { + "total": 26, + "covered": 11, + "skipped": 0, + "pct": 42.31 + }, + "functions": { + "total": 3, + "covered": 3, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 29, + "covered": 13, + "skipped": 0, + "pct": 44.83 + }, + "branches": { + "total": 19, + "covered": 11, + "skipped": 0, + "pct": 57.89 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/uniq_keys.js": { + "lines": { + "total": 23, + "covered": 20, + "skipped": 0, + "pct": 86.96 + }, + "functions": { + "total": 5, + "covered": 5, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 23, + "covered": 20, + "skipped": 0, + "pct": 86.96 + }, + "branches": { + "total": 12, + "covered": 6, + "skipped": 0, + "pct": 50 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_fill_data_array.js": { + "lines": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 10, + "covered": 10, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/components/zero_injection/zero_filled_array.js": { + "lines": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 6, + "covered": 6, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/_data_label.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/_error_handler.js": { + "lines": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/alerts.js": { + "lines": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/chart_grid.js": { + "lines": { + "total": 39, + "covered": 1, + "skipped": 0, + "pct": 2.56 + }, + "functions": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 47, + "covered": 1, + "skipped": 0, + "pct": 2.13 + }, + "branches": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/chart_title.js": { + "lines": { + "total": 39, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 39, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/data.js": { + "lines": { + "total": 161, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 61, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 168, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 82, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/dispatch.js": { + "lines": { + "total": 141, + "covered": 26, + "skipped": 0, + "pct": 18.44 + }, + "functions": { + "total": 41, + "covered": 6, + "skipped": 0, + "pct": 14.63 + }, + "statements": { + "total": 149, + "covered": 28, + "skipped": 0, + "pct": 18.79 + }, + "branches": { + "total": 97, + "covered": 23, + "skipped": 0, + "pct": 23.71 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/handler.js": { + "lines": { + "total": 69, + "covered": 1, + "skipped": 0, + "pct": 1.45 + }, + "functions": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 71, + "covered": 1, + "skipped": 0, + "pct": 1.41 + }, + "branches": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/vis_config.js": { + "lines": { + "total": 11, + "covered": 1, + "skipped": 0, + "pct": 9.09 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 1, + "skipped": 0, + "pct": 9.09 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/axis.js": { + "lines": { + "total": 106, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 109, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 51, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/axis_config.js": { + "lines": { + "total": 84, + "covered": 7, + "skipped": 0, + "pct": 8.33 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 89, + "covered": 7, + "skipped": 0, + "pct": 7.87 + }, + "branches": { + "total": 66, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/axis_labels.js": { + "lines": { + "total": 72, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 17, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 77, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 36, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/axis_scale.js": { + "lines": { + "total": 118, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 134, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 97, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/axis_title.js": { + "lines": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 22, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/scale_modes.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/axis/time_ticks.js": { + "lines": { + "total": 12, + "covered": 12, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 4, + "covered": 4, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 13, + "covered": 13, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 2, + "covered": 2, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/index.js": { + "lines": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/layout.js": { + "lines": { + "total": 54, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 9, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 54, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/layout_types.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_split.js": { + "lines": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 20, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/chart_title_split.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/x_axis_split.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/column_chart/y_axis_split.js": { + "lines": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 8, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_split.js": { + "lines": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/gauge_chart/chart_title_split.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_split.js": { + "lines": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 5, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/splits/pie_chart/chart_title_split.js": { + "lines": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 10, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 6, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/types/column_layout.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/types/gauge_layout.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/layout/types/pie_layout.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 4, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/types/gauge.js": { + "lines": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/types/index.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/types/pie.js": { + "lines": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 1, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 3, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 2, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/lib/types/point_series.js": { + "lines": { + "total": 70, + "covered": 57, + "skipped": 0, + "pct": 81.43 + }, + "functions": { + "total": 17, + "covered": 12, + "skipped": 0, + "pct": 70.59 + }, + "statements": { + "total": 73, + "covered": 58, + "skipped": 0, + "pct": 79.45 + }, + "branches": { + "total": 76, + "covered": 48, + "skipped": 0, + "pct": 63.16 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/_chart.js": { + "lines": { + "total": 29, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 32, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/gauge_chart.js": { + "lines": { + "total": 34, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 7, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 15, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/pie_chart.js": { + "lines": { + "total": 146, + "covered": 1, + "skipped": 0, + "pct": 0.68 + }, + "functions": { + "total": 31, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 153, + "covered": 1, + "skipped": 0, + "pct": 0.65 + }, + "branches": { + "total": 86, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series.js": { + "lines": { + "total": 103, + "covered": 2, + "skipped": 0, + "pct": 1.94 + }, + "functions": { + "total": 23, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 108, + "covered": 2, + "skipped": 0, + "pct": 1.85 + }, + "branches": { + "total": 63, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/time_marker.js": { + "lines": { + "total": 18, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 12, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 14, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/vis_types.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/gauges/gauge_types.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/gauges/meter.js": { + "lines": { + "total": 132, + "covered": 3, + "skipped": 0, + "pct": 2.27 + }, + "functions": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 135, + "covered": 3, + "skipped": 0, + "pct": 2.22 + }, + "branches": { + "total": 57, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/_point_series.js": { + "lines": { + "total": 55, + "covered": 1, + "skipped": 0, + "pct": 1.82 + }, + "functions": { + "total": 11, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 61, + "covered": 1, + "skipped": 0, + "pct": 1.64 + }, + "branches": { + "total": 43, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/area_chart.js": { + "lines": { + "total": 94, + "covered": 1, + "skipped": 0, + "pct": 1.06 + }, + "functions": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 95, + "covered": 1, + "skipped": 0, + "pct": 1.05 + }, + "branches": { + "total": 38, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/column_chart.js": { + "lines": { + "total": 133, + "covered": 1, + "skipped": 0, + "pct": 0.75 + }, + "functions": { + "total": 30, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 137, + "covered": 1, + "skipped": 0, + "pct": 0.73 + }, + "branches": { + "total": 107, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/heatmap_chart.js": { + "lines": { + "total": 147, + "covered": 1, + "skipped": 0, + "pct": 0.68 + }, + "functions": { + "total": 21, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 153, + "covered": 1, + "skipped": 0, + "pct": 0.65 + }, + "branches": { + "total": 80, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/line_chart.js": { + "lines": { + "total": 77, + "covered": 1, + "skipped": 0, + "pct": 1.3 + }, + "functions": { + "total": 19, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 78, + "covered": 1, + "skipped": 0, + "pct": 1.28 + }, + "branches": { + "total": 51, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/vis_type_vislib/public/vislib/visualizations/point_series/series_types.js": { + "lines": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "functions": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "branches": { + "total": 0, + "covered": 0, + "skipped": 0, + "pct": 100 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/vis_impl.js": { + "lines": { + "total": 58, + "covered": 26, + "skipped": 0, + "pct": 44.83 + }, + "functions": { + "total": 24, + "covered": 7, + "skipped": 0, + "pct": 29.17 + }, + "statements": { + "total": 59, + "covered": 26, + "skipped": 0, + "pct": 44.07 + }, + "branches": { + "total": 48, + "covered": 19, + "skipped": 0, + "pct": 39.58 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/expressions/vis.js": { + "lines": { + "total": 33, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "functions": { + "total": 13, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "statements": { + "total": 35, + "covered": 0, + "skipped": 0, + "pct": 0 + }, + "branches": { + "total": 25, + "covered": 0, + "skipped": 0, + "pct": 0 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/legacy/calculate_object_hash.js": { + "lines": { + "total": 28, + "covered": 24, + "skipped": 0, + "pct": 85.71 + }, + "functions": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 28, + "covered": 24, + "skipped": 0, + "pct": 85.71 + }, + "branches": { + "total": 16, + "covered": 12, + "skipped": 0, + "pct": 75 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/legacy/vis_update.js": { + "lines": { + "total": 10, + "covered": 2, + "skipped": 0, + "pct": 20 + }, + "functions": { + "total": 1, + "covered": 1, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 12, + "covered": 3, + "skipped": 0, + "pct": 25 + }, + "branches": { + "total": 28, + "covered": 2, + "skipped": 0, + "pct": 7.14 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/legacy/vis_update_state.js": { + "lines": { + "total": 46, + "covered": 42, + "skipped": 0, + "pct": 91.3 + }, + "functions": { + "total": 7, + "covered": 7, + "skipped": 0, + "pct": 100 + }, + "statements": { + "total": 47, + "covered": 42, + "skipped": 0, + "pct": 89.36 + }, + "branches": { + "total": 38, + "covered": 28, + "skipped": 0, + "pct": 73.68 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/vis_types/base_vis_type.js": { + "lines": { + "total": 17, + "covered": 10, + "skipped": 0, + "pct": 58.82 + }, + "functions": { + "total": 3, + "covered": 2, + "skipped": 0, + "pct": 66.67 + }, + "statements": { + "total": 17, + "covered": 10, + "skipped": 0, + "pct": 58.82 + }, + "branches": { + "total": 17, + "covered": 9, + "skipped": 0, + "pct": 52.94 + } + }, + "/var/lib/jenkins/workspace/elastic+kibana+code-coverage/kibana/src/legacy/core_plugins/visualizations/public/np_ready/public/vis_types/react_vis_type.js": { + "lines": { + "total": 12, + "covered": 10, + "skipped": 0, + "pct": 83.33 + }, + "functions": { + "total": 5, + "covered": 4, + "skipped": 0, + "pct": 80 + }, + "statements": { + "total": 12, + "covered": 10, + "skipped": 0, + "pct": 83.33 + }, + "branches": { + "total": 2, + "covered": 1, + "skipped": 0, + "pct": 50 + } + } +} diff --git a/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/previous.txt b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/previous.txt new file mode 100644 index 0000000000000..03ae97e5f212e --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/integration_tests/mocks/previous.txt @@ -0,0 +1 @@ +2e51fdb932 diff --git a/src/dev/code_coverage/ingest_coverage/json_stream.js b/src/dev/code_coverage/ingest_coverage/json_stream.js new file mode 100644 index 0000000000000..fbc704b6372f2 --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/json_stream.js @@ -0,0 +1,23 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import oboe from 'oboe'; +import { createReadStream } from 'fs'; + +export default jsonSummaryPath => oboe(createReadStream(jsonSummaryPath)); diff --git a/src/dev/code_coverage/ingest_coverage/process.js b/src/dev/code_coverage/ingest_coverage/process.js new file mode 100644 index 0000000000000..ecd09e0b2fd1a --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/process.js @@ -0,0 +1,104 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import { fromEventPattern, of, fromEvent } from 'rxjs'; +import { concatMap, delay, map, takeUntil } from 'rxjs/operators'; +import jsonStream from './json_stream'; +import { pipe, noop, green, always } from './utils'; +import { ingest } from './ingest'; +import { + staticSite, + statsAndstaticSiteUrl, + addJsonSummaryPath, + testRunner, + addTimeStamp, + buildId, + coveredFilePath, + ciRunUrl, + itemizeVcs, +} from './transforms'; +import { resolve } from 'path'; +import { createReadStream } from 'fs'; +import readline from 'readline'; + +const ROOT = '../../../..'; +const COVERAGE_INGESTION_KIBANA_ROOT = + process.env.COVERAGE_INGESTION_KIBANA_ROOT || resolve(__dirname, ROOT); +const ms = process.env.DELAY || 0; +const staticSiteUrlBase = process.env.STATIC_SITE_URL_BASE || 'https://kibana-coverage.elastic.dev'; +const addPrePopulatedTimeStamp = addTimeStamp(process.env.TIME_STAMP); +const preamble = pipe(statsAndstaticSiteUrl, rootDirAndOrigPath, buildId, addPrePopulatedTimeStamp); +const addTestRunnerAndStaticSiteUrl = pipe(testRunner, staticSite(staticSiteUrlBase)); + +const transform = jsonSummaryPath => log => vcsInfo => { + const objStream = jsonStream(jsonSummaryPath).on('done', noop); + const itemizeVcsInfo = itemizeVcs(vcsInfo); + + const jsonSummary$ = _ => objStream.on('node', '!.*', _); + + fromEventPattern(jsonSummary$) + .pipe( + map(preamble), + map(coveredFilePath), + map(itemizeVcsInfo), + map(ciRunUrl), + map(addJsonSummaryPath(jsonSummaryPath)), + map(addTestRunnerAndStaticSiteUrl), + concatMap(x => of(x).pipe(delay(ms))) + ) + .subscribe(ingest(log)); +}; + +function rootDirAndOrigPath(obj) { + return { + ...obj, + originalFilePath: obj.staticSiteUrl, + COVERAGE_INGESTION_KIBANA_ROOT, + }; +} + +const mutateVcsInfo = vcsInfo => x => vcsInfo.push(x.trimStart().trimEnd()); +const vcsInfoLines$ = vcsInfoFilePath => { + const rl = readline.createInterface({ input: createReadStream(vcsInfoFilePath) }); + return fromEvent(rl, 'line').pipe(takeUntil(fromEvent(rl, 'close'))); +}; + +export const prok = ({ jsonSummaryPath, vcsInfoFilePath }, log) => { + validateRoot(COVERAGE_INGESTION_KIBANA_ROOT, log); + logAll(jsonSummaryPath, log); + + const xformWithPath = transform(jsonSummaryPath)(log); // On complete + + const vcsInfo = []; + vcsInfoLines$(vcsInfoFilePath).subscribe( + mutateVcsInfo(vcsInfo), + err => log.error(err), + always(xformWithPath(vcsInfo)) + ); +}; + +function logAll(jsonSummaryPath, log) { + log.debug(`### Code coverage ingestion set to delay for: ${green(ms)} ms`); + log.debug(`### COVERAGE_INGESTION_KIBANA_ROOT: \n\t${green(COVERAGE_INGESTION_KIBANA_ROOT)}`); + log.debug(`### Ingesting from summary json: \n\t[${green(jsonSummaryPath)}]`); +} + +function validateRoot(x, log) { + return /kibana$/.test(x) ? noop() : log.warning(`✖✖✖ 'kibana' NOT FOUND in ROOT: ${x}\n`); +} diff --git a/src/dev/code_coverage/ingest_coverage/teams_scripted_field.painless b/src/dev/code_coverage/ingest_coverage/teams_scripted_field.painless new file mode 100644 index 0000000000000..6e4d654291f3a --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/teams_scripted_field.painless @@ -0,0 +1,87 @@ +String path = doc['coveredFilePath.keyword'].value; +if (path.contains('/apm')) return "APM"; + else if (path.contains('/canvas')) return "Canvas"; + else if (path.contains('/maps')) return "Maps"; + else if (path.contains('map_')) return "Maps"; + else if (path.contains('/ml')) return "ML"; + else if (path.contains('/transform')) return "ML"; + else if (path.contains('/infra')) return "Infra"; + else if (path.contains('/siem')) return "SIEM"; + else if (path.contains('/endpoint')) return "Endpoint"; + else if (path.contains('logstash')) return "Logstash"; + else if (path.contains('beat')) return "Beats"; + else if (path.contains('uptime')) return "Observability"; + else if (path.contains('observability')) return "Observability"; + else if (path.contains('tutorials')) return "Observability"; + else if (path.contains('/code')) return "Code"; + else if (path.contains('/cross_cluster_replication')) return "Elasticsearch UI"; + else if (path.contains('/index_lifecycle_management')) return "Elasticsearch UI"; + else if (path.contains('/index_management')) return "Elasticsearch UI"; + else if (path.contains('/license_management')) return "Elasticsearch UI"; + else if (path.contains('/management')) return "Elasticsearch UI"; + else if (path.contains('/licensing')) return "Elasticsearch UI"; + else if (path.contains('/public/management'))return "Elasticsearch UI"; + else if (path.contains('/remote_clusters')) return "Elasticsearch UI"; + else if (path.contains('/searchprofiler')) return "Elasticsearch UI"; + else if (path.contains('/searchprofiler')) return "Elasticsearch UI"; + else if (path.contains('/snapshot_restore')) return "Elasticsearch UI"; + else if (path.contains('/rollup')) return "Elasticsearch UI"; + else if (path.contains('/watcher')) return "Elasticsearch UI"; + else if (path.contains('/watcher')) return "Elasticsearch UI"; + else if (path.contains('/file_upload')) return "Elasticsearch UI"; + else if (path.contains('grokdebugger')) return "Elasticsearch UI"; + else if (path.contains('es_ui_shared')) return "Elasticsearch UI"; + else if (path.contains('kibana/x-pack/legacy/server/lib')) return "Elasticsearch UI"; + else if (path.contains('/public/field_editor')) return "Kibana App"; + else if (path.contains('dashboard')) return "Kibana App"; + else if (path.contains('discover')) return "Kibana App"; + else if (path.contains('graph')) return "Kibana App"; + else if (path.contains('timelion')) return "Kibana App"; + else if (path.contains('/lens/')) return "Kibana App"; + else if (path.contains('/core_plugins')) return "Kibana App"; + else if (path.contains('/vislib')) return "Kibana App"; + else if (path.contains('/visualize')) return "Kibana App"; + else if (path.contains('/public/vis/')) return "Kibana App"; + else if (path.contains('/kbn-es')) return "Kibana App"; + else if (path.contains('kuery')) return "Kibana App"; + else if (path.contains('url_shortening')) return "Kibana App"; + else if (path.contains('sample_data')) return "Kibana App"; + else if (path.contains('/home')) return "Kibana App"; + else if (path.contains('/accessibility')) return "Kibana App"; + else if (path.contains('/timeseries')) return "Kibana App"; + else if (path.contains('/point_series')) return "Kibana App"; + else if (path.contains('security')) return "Kibana Security"; + else if (path.contains('privilege')) return "Kibana Security"; + else if (path.contains('/spaces')) return "Kibana Security"; + else if (path.contains('monitoring')) return "Stack Monitoring"; + else if (path.contains('/es_archiver')) return "Kibana Operations"; + else if (path.contains('/dev/build')) return "Kibana Operations"; + else if (path.contains('/kbn-test')) return "Kibana Operations"; + else if (path.contains('upgrade')) return "Kibana Operations"; + else if (path.contains('/kbn-dev-utils')) return "Kibana Operations"; + else if (path.contains('optimize')) return "Kibana Operations"; + else if (path.contains('test_utils')) return "Kibana Operations"; + else if (path.contains('kbn-babel-preset')) return "Kibana Operations"; + else if (path.contains('kibana/server/routes')) return "Kibana Operations"; + else if (path.contains('kibana/src/legacy/server/')) return "Kibana Operations"; + else if (path.contains('kibana/scripts/')) return "Kibana Operations"; + else if (path.contains('kibana/packages/')) return "Kibana Operations"; + else if (path.contains('kibana/src/setup_node_env')) return "Kibana Operations"; + else if (path.contains('/kbn-ui-framework')) return "Kibana Design"; + else if (path.contains('/ui/ui')) return "Kibana Design"; + else if (path.contains('/eui')) return "Kibana Design"; + else if (path.contains('/kbn-es-query')) return "Kibana App Arch"; + else if (path.contains('/kbn-ui-framework')) return "Kibana App Arch"; + else if (path.contains('/kbn-interpreter')) return "Kibana App Arch"; + else if (path.contains('courier')) return "Kibana App Arch"; + else if (path.contains('kbn-config-schema')) return "Kibana Platform"; + else if (path.contains('kibana/src/legacy/utils')) return "Kibana Platform"; + else if (path.contains('saved_objects')) return "Kibana Platform"; + else if (path.contains('/reporting')) return "Kibana Stack Services"; + else if (path.contains('telemetry')) return "Kibana Stack Services"; + else if (path.contains('/kbn-i18n')) return "Kibana Stack Services"; + else if (path.contains('/kbn-analytics')) return "Kibana Stack Services"; + else if (path.contains('/task_manager')) return "Kibana Stack Services"; + else if (path.contains('alert')) return "Kibana Stack Services"; + else if (path.contains('actions')) return "Kibana Stack Services"; + else return "unknown"; diff --git a/src/dev/code_coverage/ingest_coverage/transforms.js b/src/dev/code_coverage/ingest_coverage/transforms.js new file mode 100644 index 0000000000000..0f6b34a39c64a --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/transforms.js @@ -0,0 +1,148 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import { left, right, fromNullable } from './either'; +import { always, id, noop } from './utils'; + +const maybeTotal = x => (x === 'total' ? left(x) : right(x)); + +const trimLeftFrom = (text, x) => x.substr(x.indexOf(text)); + +export const statsAndstaticSiteUrl = (...xs) => { + const [staticSiteUrl] = xs[0][1]; + const [stats] = xs[0]; + return { + staticSiteUrl, + ...stats, + }; +}; + +export const addJsonSummaryPath = jsonSummaryPath => obj => ({ + jsonSummaryPath: trimLeftFrom('target', jsonSummaryPath), + ...obj, +}); + +export const truncate = text => obj => { + const { staticSiteUrl } = obj; + if (staticSiteUrl.includes(text)) obj.staticSiteUrl = trimLeftFrom(text, staticSiteUrl); + return obj; +}; + +export const addTimeStamp = ts => obj => ({ + ...obj, + '@timestamp': ts, +}); + +const setTotal = x => obj => (obj.isTotal = x); +const mutateTrue = setTotal(true); +const mutateFalse = setTotal(false); + +const root = urlBase => ts => testRunnerType => + `${urlBase}/${ts}/${testRunnerType.toLowerCase()}-combined`; + +const prokForTotalsIndex = mutateTrue => urlRoot => obj => + right(obj) + .map(mutateTrue) + .map(always(`${urlRoot}/index.html`)) + .fold(noop, id); + +const prokForCoverageIndex = root => mutateFalse => urlRoot => obj => siteUrl => + right(siteUrl) + .map(x => { + mutateFalse(obj); + return x; + }) + .map(x => x.replace(root, '')) + .map(x => `${urlRoot}${x}.html`) + .fold(noop, id); + +export const staticSite = urlBase => obj => { + const { staticSiteUrl, testRunnerType, COVERAGE_INGESTION_KIBANA_ROOT } = obj; + const ts = obj['@timestamp']; + const urlRoot = root(urlBase)(ts)(testRunnerType); + const prokTotal = prokForTotalsIndex(mutateTrue)(urlRoot); + const prokCoverage = prokForCoverageIndex(COVERAGE_INGESTION_KIBANA_ROOT)(mutateFalse)(urlRoot)( + obj + ); + const prokForBoth = always(maybeTotal(staticSiteUrl).fold(always(prokTotal(obj)), prokCoverage)); + + return { ...obj, staticSiteUrl: prokForBoth() }; +}; + +export const coveredFilePath = obj => { + const { staticSiteUrl, COVERAGE_INGESTION_KIBANA_ROOT } = obj; + + const withoutCoveredFilePath = always(obj); + const leadingSlashRe = /^\//; + const maybeDropLeadingSlash = x => (leadingSlashRe.test(x) ? right(x) : left(x)); + const dropLeadingSlash = x => x.replace(leadingSlashRe, ''); + const dropRoot = root => x => + maybeDropLeadingSlash(x.replace(root, '')).fold(id, dropLeadingSlash); + return maybeTotal(staticSiteUrl) + .map(dropRoot(COVERAGE_INGESTION_KIBANA_ROOT)) + .fold(withoutCoveredFilePath, coveredFilePath => ({ ...obj, coveredFilePath })); +}; + +export const ciRunUrl = obj => + fromNullable(process.env.CI_RUN_URL).fold(always(obj), ciRunUrl => ({ ...obj, ciRunUrl })); + +const size = 50; +const truncateCommitMsg = x => (x.length > size ? `${x.slice(0, 50)}...` : x); + +export const itemizeVcs = vcsInfo => obj => { + const [branch, sha, author, commitMsg] = vcsInfo; + return { + ...obj, + vcs: { + branch, + sha, + author, + commitMsg: truncateCommitMsg(commitMsg), + vcsUrl: `https://github.com/elastic/kibana/commit/${sha}`, + }, + }; +}; +export const testRunner = obj => { + const { jsonSummaryPath } = obj; + + let testRunnerType = 'other'; + + const upperTestRunnerType = x => { + if (jsonSummaryPath.includes(x)) { + testRunnerType = x.toUpperCase(); + return; + } + }; + + ['mocha', 'jest', 'functional'].forEach(upperTestRunnerType); + + return { + testRunnerType, + ...obj, + }; +}; + +export const buildId = obj => { + const { env } = process; + if (env.BUILD_ID) obj.BUILD_ID = env.BUILD_ID; + + return { + ...obj, + }; +}; diff --git a/src/dev/code_coverage/ingest_coverage/utils.js b/src/dev/code_coverage/ingest_coverage/utils.js new file mode 100644 index 0000000000000..df064e73842e7 --- /dev/null +++ b/src/dev/code_coverage/ingest_coverage/utils.js @@ -0,0 +1,27 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import chalk from 'chalk'; + +export const pipe = (...fns) => fns.reduce((f, g) => (...args) => g(f(...args))); +export const noop = () => {}; +export const green = x => chalk.greenBright.bold(x); +export const id = x => x; +export const always = x => () => x; +export const pretty = x => JSON.stringify(x, null, 2); diff --git a/src/dev/code_coverage/shell_scripts/copy_mocha_reports.sh b/src/dev/code_coverage/shell_scripts/copy_mocha_reports.sh new file mode 100644 index 0000000000000..579276aac990f --- /dev/null +++ b/src/dev/code_coverage/shell_scripts/copy_mocha_reports.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +EXTRACT_START_DIR=tmp/extracted_coverage +EXTRACT_END_DIR=target/kibana-coverage +COMBINED_EXRACT_DIR=/${EXTRACT_START_DIR}/${EXTRACT_END_DIR} + + +echo "### Copy mocha reports" +mkdir -p $EXTRACT_END_DIR/mocha-combined +cp -r $COMBINED_EXRACT_DIR/mocha/. $EXTRACT_END_DIR/mocha-combined/ diff --git a/src/dev/code_coverage/shell_scripts/extract_archives.sh b/src/dev/code_coverage/shell_scripts/extract_archives.sh new file mode 100644 index 0000000000000..376467f9f2e55 --- /dev/null +++ b/src/dev/code_coverage/shell_scripts/extract_archives.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +DOWNLOAD_DIR=/tmp/downloaded_coverage +EXTRACT_DIR=/tmp/extracted_coverage + +mkdir -p $EXTRACT_DIR + +echo "### Extracting downloaded artifacts" +for x in kibana-intake x-pack-intake kibana-oss-tests kibana-xpack-tests; do + tar -xzf $DOWNLOAD_DIR/coverage/${x}/kibana-coverage.tar.gz -C $EXTRACT_DIR || echo "### Error 'tarring': ${x}" +done + diff --git a/src/dev/code_coverage/shell_scripts/extract_xpack_tests.sh b/src/dev/code_coverage/shell_scripts/extract_xpack_tests.sh new file mode 100644 index 0000000000000..29184584b726f --- /dev/null +++ b/src/dev/code_coverage/shell_scripts/extract_xpack_tests.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +DOWNLOAD_DIR=/tmp/downloaded_coverage +EXTRACT_DIR=/tmp/extracted_coverage + +echo "### Extracting kibana-xpack-tests" +tar -xzf $DOWNLOAD_DIR/coverage/kibana-xpack-tests/kibana-coverage.tar.gz -C $EXTRACT_DIR diff --git a/src/dev/code_coverage/shell_scripts/fix_html_reports_parallel.sh b/src/dev/code_coverage/shell_scripts/fix_html_reports_parallel.sh new file mode 100644 index 0000000000000..bc184301a6831 --- /dev/null +++ b/src/dev/code_coverage/shell_scripts/fix_html_reports_parallel.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +EXTRACT_START_DIR=tmp/extracted_coverage +EXTRACT_END_DIR=target/kibana-coverage +COMBINED_EXRACT_DIR=/${EXTRACT_START_DIR}/${EXTRACT_END_DIR} + +PWD=$(pwd) +du -sh $COMBINED_EXRACT_DIR + +echo "### Replacing path in json files" +for i in {1..9}; do + sed -i "s|/dev/shm/workspace/kibana|${PWD}|g" $COMBINED_EXRACT_DIR/functional/${i}*.json & +done +wait diff --git a/src/dev/code_coverage/shell_scripts/ingest_coverage.sh b/src/dev/code_coverage/shell_scripts/ingest_coverage.sh new file mode 100644 index 0000000000000..b7064a1e42671 --- /dev/null +++ b/src/dev/code_coverage/shell_scripts/ingest_coverage.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +echo "### Ingesting Code Coverage" +echo "" + + +BUILD_ID=$1 +export BUILD_ID + +CI_RUN_URL=$2 +export CI_RUN_URL +echo "### debug CI_RUN_URL: ${CI_RUN_URL}" + +ES_HOST="https://${USER_FROM_VAULT}:${PASS_FROM_VAULT}@${HOST_FROM_VAULT}" +export ES_HOST + +STATIC_SITE_URL_BASE='https://kibana-coverage.elastic.dev' +export STATIC_SITE_URL_BASE + +for x in jest functional mocha; do + echo "### Ingesting coverage for ${x}" + + COVERAGE_SUMMARY_FILE=target/kibana-coverage/${x}-combined/coverage-summary.json + + node scripts/ingest_coverage.js --verbose --path ${COVERAGE_SUMMARY_FILE} --vcsInfoPath ./VCS_INFO.txt +done + +echo "### Ingesting Code Coverage - Complete" +echo "" diff --git a/src/dev/code_coverage/shell_scripts/merge_jest_and_functional.sh b/src/dev/code_coverage/shell_scripts/merge_jest_and_functional.sh new file mode 100644 index 0000000000000..ff9cb36c894f8 --- /dev/null +++ b/src/dev/code_coverage/shell_scripts/merge_jest_and_functional.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +EXTRACT_START_DIR=tmp/extracted_coverage +EXTRACT_END_DIR=target/kibana-coverage +COMBINED_EXTRACT_DIR=/${EXTRACT_START_DIR}/${EXTRACT_END_DIR} + +echo "### Merge coverage reports" +for x in jest functional; do + yarn nyc report --temp-dir $COMBINED_EXTRACT_DIR/${x} --report-dir $EXTRACT_END_DIR/${x}-combined --reporter=html --reporter=json-summary +done diff --git a/src/dev/code_coverage/www/404.html b/src/dev/code_coverage/www/404.html new file mode 100644 index 0000000000000..0267ceebfc512 --- /dev/null +++ b/src/dev/code_coverage/www/404.html @@ -0,0 +1,16 @@ + + + + + + + + Not Found + + + Requested Resource NOT FOUND + + diff --git a/src/dev/code_coverage/www/index_partial.html b/src/dev/code_coverage/www/index_partial.html new file mode 100644 index 0000000000000..0e3f6e4b1e0ce --- /dev/null +++ b/src/dev/code_coverage/www/index_partial.html @@ -0,0 +1,23 @@ + + + + + + + KBN - Code Coverage + + + + + + + + +
+
+
+

Kibana Code Coverage

+
, "learnHowLink": { it('should render normally', () => { - const component = shallow( {}} />); + const component = shallow( {}} prependBasePath={x => x} />); expect(component).toMatchSnapshot(); }); @@ -34,7 +34,9 @@ describe('EmptyState', () => { it('is called when refresh button is clicked', () => { const onRefreshHandler = sinon.stub(); - const component = shallow(); + const component = shallow( + x} /> + ); component.find('[data-test-subj="refreshIndicesButton"]').simulate('click'); diff --git a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/empty_state/empty_state.tsx b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/empty_state/empty_state.tsx index 676f4d38f409b..3ee5d1a0e96f1 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/empty_state/empty_state.tsx +++ b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/components/empty_state/empty_state.tsx @@ -22,8 +22,15 @@ import React from 'react'; import { EuiCallOut, EuiTextColor, EuiLink, EuiButton } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; +import { IBasePath } from 'kibana/public'; -export const EmptyState = ({ onRefresh }: { onRefresh: () => void }) => ( +export const EmptyState = ({ + onRefresh, + prependBasePath, +}: { + onRefresh: () => void; + prependBasePath: IBasePath['prepend']; +}) => (
void }) => ( ), learnHowLink: ( - + void }) => ( ), getStartedLink: ( - + x), }; describe('CreateIndexPatternWizard', () => { diff --git a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/create_index_pattern_wizard.tsx b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/create_index_pattern_wizard.tsx index 4166d48349d35..a1a263fe88923 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/create_index_pattern_wizard.tsx +++ b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/create_index_pattern_wizard.tsx @@ -35,6 +35,7 @@ import { SavedObjectsClient, IUiSettingsClient, OverlayStart, + IBasePath, } from '../../../../../../../../core/public'; import { DataPublicPluginStart } from '../../../../../../../../plugins/data/public'; import { IndexPatternCreationConfig } from '../../../../../../../../plugins/index_pattern_management/public'; @@ -50,6 +51,7 @@ interface CreateIndexPatternWizardProps { uiSettings: IUiSettingsClient; changeUrl: (url: string) => void; openConfirm: OverlayStart['openConfirm']; + prependBasePath: IBasePath['prepend']; }; } @@ -235,7 +237,12 @@ export class CreateIndexPatternWizard extends Component< const hasDataIndices = allIndices.some(({ name }: MatchedIndex) => !name.startsWith('.')); if (!hasDataIndices && !isIncludingSystemIndices && !remoteClustersExist) { - return ; + return ( + + ); } if (step === 1) { diff --git a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/index.js b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/index.js index ed1fc026c560c..2762a4f6e8726 100644 --- a/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/index.js +++ b/src/legacy/core_plugins/kibana/public/management/sections/index_patterns/create_index_pattern_wizard/index.js @@ -45,6 +45,7 @@ uiRoutes.when('/management/kibana/index_pattern', { $scope.$evalAsync(() => kbnUrl.changePath(url)); }, openConfirm: npStart.core.overlays.openConfirm, + prependBasePath: npStart.core.http.basePath.prepend, }; const initialQuery = $routeParams.id ? decodeURIComponent($routeParams.id) : undefined; diff --git a/src/legacy/core_plugins/kibana/server/lib/__tests__/relationships.js b/src/legacy/core_plugins/kibana/server/lib/__tests__/relationships.js index b06a5b443e709..e5d43fec4e59c 100644 --- a/src/legacy/core_plugins/kibana/server/lib/__tests__/relationships.js +++ b/src/legacy/core_plugins/kibana/server/lib/__tests__/relationships.js @@ -85,7 +85,7 @@ const savedObjectsManagement = getManagementaMock({ }, getInAppUrl(obj) { return { - path: `/app/kibana#/visualize/edit/${encodeURIComponent(obj.id)}`, + path: `/app/visualize#/edit/${encodeURIComponent(obj.id)}`, uiCapabilitiesPath: 'visualize.show', }; }, @@ -101,7 +101,7 @@ const savedObjectsManagement = getManagementaMock({ }, getInAppUrl(obj) { return { - path: `/app/kibana#/discover/${encodeURIComponent(obj.id)}`, + path: `/app/discover#//${encodeURIComponent(obj.id)}`, uiCapabilitiesPath: 'discover.show', }; }, @@ -200,7 +200,7 @@ describe('findRelationships', () => { title: 'Foo', editUrl: '/management/kibana/objects/savedVisualizations/1', inAppUrl: { - path: '/app/kibana#/visualize/edit/1', + path: '/app/visualize#/edit/1', uiCapabilitiesPath: 'visualize.show', }, }, @@ -214,7 +214,7 @@ describe('findRelationships', () => { title: 'Bar', editUrl: '/management/kibana/objects/savedVisualizations/2', inAppUrl: { - path: '/app/kibana#/visualize/edit/2', + path: '/app/visualize#/edit/2', uiCapabilitiesPath: 'visualize.show', }, }, @@ -228,7 +228,7 @@ describe('findRelationships', () => { title: 'FooBar', editUrl: '/management/kibana/objects/savedVisualizations/3', inAppUrl: { - path: '/app/kibana#/visualize/edit/3', + path: '/app/visualize#/edit/3', uiCapabilitiesPath: 'visualize.show', }, }, @@ -453,7 +453,7 @@ describe('findRelationships', () => { title: 'Foo', editUrl: '/management/kibana/objects/savedVisualizations/1', inAppUrl: { - path: '/app/kibana#/visualize/edit/1', + path: '/app/visualize#/edit/1', uiCapabilitiesPath: 'visualize.show', }, }, @@ -467,7 +467,7 @@ describe('findRelationships', () => { title: 'Bar', editUrl: '/management/kibana/objects/savedVisualizations/2', inAppUrl: { - path: '/app/kibana#/visualize/edit/2', + path: '/app/visualize#/edit/2', uiCapabilitiesPath: 'visualize.show', }, }, @@ -481,7 +481,7 @@ describe('findRelationships', () => { title: 'FooBar', editUrl: '/management/kibana/objects/savedVisualizations/3', inAppUrl: { - path: '/app/kibana#/visualize/edit/3', + path: '/app/visualize#/edit/3', uiCapabilitiesPath: 'visualize.show', }, }, @@ -567,7 +567,7 @@ describe('findRelationships', () => { title: 'Foo', editUrl: '/management/kibana/objects/savedVisualizations/1', inAppUrl: { - path: '/app/kibana#/visualize/edit/1', + path: '/app/visualize#/edit/1', uiCapabilitiesPath: 'visualize.show', }, }, @@ -581,7 +581,7 @@ describe('findRelationships', () => { title: 'Bar', editUrl: '/management/kibana/objects/savedVisualizations/2', inAppUrl: { - path: '/app/kibana#/visualize/edit/2', + path: '/app/visualize#/edit/2', uiCapabilitiesPath: 'visualize.show', }, }, @@ -595,7 +595,7 @@ describe('findRelationships', () => { title: 'FooBar', editUrl: '/management/kibana/objects/savedVisualizations/3', inAppUrl: { - path: '/app/kibana#/visualize/edit/3', + path: '/app/visualize#/edit/3', uiCapabilitiesPath: 'visualize.show', }, }, @@ -609,7 +609,7 @@ describe('findRelationships', () => { title: 'My Saved Search', editUrl: '/management/kibana/objects/savedSearches/1', inAppUrl: { - path: '/app/kibana#/discover/1', + path: '/app/discover#//1', uiCapabilitiesPath: 'discover.show', }, }, diff --git a/src/legacy/core_plugins/kibana/server/ui_setting_defaults.js b/src/legacy/core_plugins/kibana/server/ui_setting_defaults.js index 91c61886d216c..1a040e236351a 100644 --- a/src/legacy/core_plugins/kibana/server/ui_setting_defaults.js +++ b/src/legacy/core_plugins/kibana/server/ui_setting_defaults.js @@ -69,7 +69,7 @@ export function getUiSettingDefaults() { name: i18n.translate('kbn.advancedSettings.defaultRoute.defaultRouteTitle', { defaultMessage: 'Default route', }), - value: '/app/kibana', + value: '/app/home', schema: schema.string({ validate(value) { if (!value.startsWith('/') || !isRelativeUrl(value)) { diff --git a/src/legacy/core_plugins/newsfeed/constants.ts b/src/legacy/core_plugins/newsfeed/constants.ts deleted file mode 100644 index 55a0c51c2ac65..0000000000000 --- a/src/legacy/core_plugins/newsfeed/constants.ts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -export const PLUGIN_ID = 'newsfeed'; -export const DEFAULT_SERVICE_URLROOT = 'https://feeds.elastic.co'; -export const DEV_SERVICE_URLROOT = 'https://feeds-staging.elastic.co'; -export const DEFAULT_SERVICE_PATH = '/kibana/v{VERSION}.json'; diff --git a/src/legacy/core_plugins/newsfeed/index.ts b/src/legacy/core_plugins/newsfeed/index.ts deleted file mode 100644 index cf8852be09a1e..0000000000000 --- a/src/legacy/core_plugins/newsfeed/index.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import { resolve } from 'path'; -import { LegacyPluginApi, LegacyPluginSpec, ArrayOrItem } from 'src/legacy/plugin_discovery/types'; -import { Legacy } from 'kibana'; -import { NewsfeedPluginInjectedConfig } from '../../../plugins/newsfeed/types'; -import { - PLUGIN_ID, - DEFAULT_SERVICE_URLROOT, - DEV_SERVICE_URLROOT, - DEFAULT_SERVICE_PATH, -} from './constants'; - -// eslint-disable-next-line import/no-default-export -export default function(kibana: LegacyPluginApi): ArrayOrItem { - const pluginSpec: Legacy.PluginSpecOptions = { - id: PLUGIN_ID, - config(Joi: any) { - // NewsfeedPluginInjectedConfig in Joi form - return Joi.object({ - enabled: Joi.boolean().default(true), - service: Joi.object({ - pathTemplate: Joi.string().default(DEFAULT_SERVICE_PATH), - urlRoot: Joi.when('$prod', { - is: true, - then: Joi.string().default(DEFAULT_SERVICE_URLROOT), - otherwise: Joi.string().default(DEV_SERVICE_URLROOT), - }), - }).default(), - defaultLanguage: Joi.string().default('en'), - mainInterval: Joi.number().default(120 * 1000), // (2min) How often to retry failed fetches, and/or check if newsfeed items need to be refreshed from remote - fetchInterval: Joi.number().default(86400 * 1000), // (1day) How often to fetch remote and reset the last fetched time - }).default(); - }, - uiExports: { - styleSheetPaths: resolve(__dirname, 'public/index.scss'), - injectDefaultVars(server): NewsfeedPluginInjectedConfig { - const config = server.config(); - return { - newsfeed: { - service: { - pathTemplate: config.get('newsfeed.service.pathTemplate') as string, - urlRoot: config.get('newsfeed.service.urlRoot') as string, - }, - defaultLanguage: config.get('newsfeed.defaultLanguage') as string, - mainInterval: config.get('newsfeed.mainInterval') as number, - fetchInterval: config.get('newsfeed.fetchInterval') as number, - }, - }; - }, - }, - }; - return new kibana.Plugin(pluginSpec); -} diff --git a/src/legacy/core_plugins/newsfeed/package.json b/src/legacy/core_plugins/newsfeed/package.json deleted file mode 100644 index d4d753f32b0f9..0000000000000 --- a/src/legacy/core_plugins/newsfeed/package.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "newsfeed", - "version": "kibana" -} diff --git a/src/legacy/core_plugins/newsfeed/public/index.scss b/src/legacy/core_plugins/newsfeed/public/index.scss deleted file mode 100644 index a77132379041c..0000000000000 --- a/src/legacy/core_plugins/newsfeed/public/index.scss +++ /dev/null @@ -1,3 +0,0 @@ -@import 'src/legacy/ui/public/styles/styling_constants'; - -@import './np_ready/components/header_alert/_index'; diff --git a/src/legacy/core_plugins/newsfeed/public/np_ready/components/header_alert/_index.scss b/src/legacy/core_plugins/newsfeed/public/np_ready/components/header_alert/_index.scss deleted file mode 100644 index e25dbd25daaf5..0000000000000 --- a/src/legacy/core_plugins/newsfeed/public/np_ready/components/header_alert/_index.scss +++ /dev/null @@ -1,27 +0,0 @@ -@import '@elastic/eui/src/components/header/variables'; - -.kbnNews__flyout { - top: $euiHeaderChildSize + 1px; - height: calc(100% - #{$euiHeaderChildSize}); -} - -.kbnNewsFeed__headerAlert.euiHeaderAlert { - margin-bottom: $euiSizeL; - padding: 0 $euiSizeS $euiSizeL; - border-bottom: $euiBorderThin; - border-top: none; - - .euiHeaderAlert__title { - @include euiTitle('xs'); - margin-bottom: $euiSizeS; - } - - .euiHeaderAlert__text { - @include euiFontSizeS; - margin-bottom: $euiSize; - } - - .euiHeaderAlert__action { - @include euiFontSizeS; - } -} diff --git a/src/legacy/core_plugins/newsfeed/public/np_ready/components/header_alert/header_alert.tsx b/src/legacy/core_plugins/newsfeed/public/np_ready/components/header_alert/header_alert.tsx deleted file mode 100644 index c3c3e4144fca8..0000000000000 --- a/src/legacy/core_plugins/newsfeed/public/np_ready/components/header_alert/header_alert.tsx +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import React from 'react'; -import PropTypes from 'prop-types'; -import classNames from 'classnames'; - -import { EuiFlexGroup, EuiFlexItem, EuiI18n } from '@elastic/eui'; - -interface IEuiHeaderAlertProps { - action: JSX.Element; - className?: string; - date: string; - text: string; - title: string; - badge?: JSX.Element; - rest?: string[]; -} - -export const EuiHeaderAlert = ({ - action, - className, - date, - text, - title, - badge, - ...rest -}: IEuiHeaderAlertProps) => { - const classes = classNames('euiHeaderAlert', 'kbnNewsFeed__headerAlert', className); - - const badgeContent = badge || null; - - return ( - - {(dismiss: any) => ( -
- - -
{date}
-
- {badgeContent} -
- -
{title}
-
{text}
-
{action}
-
- )} -
- ); -}; - -EuiHeaderAlert.propTypes = { - action: PropTypes.node, - className: PropTypes.string, - date: PropTypes.node.isRequired, - text: PropTypes.node, - title: PropTypes.node.isRequired, - badge: PropTypes.node, -}; diff --git a/src/legacy/core_plugins/timelion/index.ts b/src/legacy/core_plugins/timelion/index.ts index 31926f658ec13..9c8ab156d1a79 100644 --- a/src/legacy/core_plugins/timelion/index.ts +++ b/src/legacy/core_plugins/timelion/index.ts @@ -62,7 +62,6 @@ const timelionPluginInitializer: LegacyPluginInitializer = ({ Plugin }: LegacyPl }, styleSheetPaths: resolve(__dirname, 'public/index.scss'), hacks: [resolve(__dirname, 'public/legacy')], - mappings: require('./mappings.json'), uiSettingDefaults: { 'timelion:showTutorial': { name: i18n.translate('timelion.uiSettings.showTutorialLabel', { diff --git a/src/legacy/core_plugins/timelion/mappings.json b/src/legacy/core_plugins/timelion/mappings.json deleted file mode 100644 index eb761cfe46212..0000000000000 --- a/src/legacy/core_plugins/timelion/mappings.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - } -} diff --git a/src/legacy/server/config/schema.js b/src/legacy/server/config/schema.js index a66d3b24732f0..87db8c184ad36 100644 --- a/src/legacy/server/config/schema.js +++ b/src/legacy/server/config/schema.js @@ -264,7 +264,7 @@ export default () => .allow(''), emsFileApiUrl: Joi.string().default('https://vector.maps.elastic.co'), emsTileApiUrl: Joi.string().default('https://tiles.maps.elastic.co'), - emsLandingPageUrl: Joi.string().default('https://maps.elastic.co/v7.7'), + emsLandingPageUrl: Joi.string().default('https://maps.elastic.co/v7.8'), emsFontLibraryUrl: Joi.string().default( 'https://tiles.maps.elastic.co/fonts/{fontstack}/{range}.pbf' ), diff --git a/src/legacy/ui/public/_index.scss b/src/legacy/ui/public/_index.scss index f10718ba58c2c..15a70e0ef7f5a 100644 --- a/src/legacy/ui/public/_index.scss +++ b/src/legacy/ui/public/_index.scss @@ -11,7 +11,5 @@ @import './accessibility/index'; @import './directives/index'; @import './error_url_overflow/index'; -@import './exit_full_screen/index'; @import './field_editor/index'; -@import './style_compile/index'; @import '../../../plugins/management/public/components/index'; diff --git a/src/legacy/ui/public/autoload/modules.js b/src/legacy/ui/public/autoload/modules.js index b40f051a5ec10..94929c8ca26d3 100644 --- a/src/legacy/ui/public/autoload/modules.js +++ b/src/legacy/ui/public/autoload/modules.js @@ -25,7 +25,6 @@ import '../private'; import '../promises'; import '../state_management/app_state'; import '../state_management/global_state'; -import '../style_compile'; import '../url'; import '../directives/watch_multi'; import '../react_components'; diff --git a/src/legacy/ui/public/chrome/api/__tests__/nav.js b/src/legacy/ui/public/chrome/api/__tests__/nav.js index 853ef4ad0b3dc..877da3539828f 100644 --- a/src/legacy/ui/public/chrome/api/__tests__/nav.js +++ b/src/legacy/ui/public/chrome/api/__tests__/nav.js @@ -112,66 +112,28 @@ describe('chrome nav apis', function() { }); }); - describe('internals.trackPossibleSubUrl()', function() { - it('injects the globalState of the current url to all links for the same app', function() { - const appUrlStore = new StubBrowserStorage(); - fakedLinks = [ - { - id: 'kibana:discover', - baseUrl: `${baseUrl}/app/kibana#discover`, - subUrlBase: '/app/kibana#discover', - legacy: true, - }, - { - id: 'kibana:visualize', - baseUrl: `${baseUrl}/app/kibana#visualize`, - subUrlBase: '/app/kibana#visualize', - legacy: true, - }, - { - id: 'kibana:dashboard', - baseUrl: `${baseUrl}/app/kibana#dashboards`, - subUrlBase: '/app/kibana#dashboard', - legacy: true, - }, - ]; - - const { internals } = init({ appUrlStore }); - internals.trackPossibleSubUrl(`${baseUrl}/app/kibana#dashboard?_g=globalstate`); - - expect(fakedLinks[0].url).to.be(`${baseUrl}/app/kibana#discover?_g=globalstate`); - expect(fakedLinks[0].active).to.be(false); - - expect(fakedLinks[1].url).to.be(`${baseUrl}/app/kibana#visualize?_g=globalstate`); - expect(fakedLinks[1].active).to.be(false); - - expect(fakedLinks[2].url).to.be(`${baseUrl}/app/kibana#dashboard?_g=globalstate`); - expect(fakedLinks[2].active).to.be(true); - }); - }); - describe('chrome.trackSubUrlForApp()', function() { it('injects a manual app url', function() { const appUrlStore = new StubBrowserStorage(); fakedLinks = [ { - id: 'kibana:visualize', - baseUrl: `${baseUrl}/app/kibana#visualize`, - url: `${baseUrl}/app/kibana#visualize`, - subUrlBase: '/app/kibana#visualize', + id: 'visualize', + baseUrl: `${baseUrl}/app/visualize#`, + url: `${baseUrl}/app/visualize#`, + subUrlBase: '/app/visualize#', legacy: true, }, ]; const { chrome } = init({ appUrlStore }); const kibanaParsedUrl = absoluteToParsedUrl( - `${baseUrl}/xyz/app/kibana#visualize/1234?_g=globalstate`, + `${baseUrl}/xyz/app/visualize#/1234?_g=globalstate`, '/xyz' ); - chrome.trackSubUrlForApp('kibana:visualize', kibanaParsedUrl); + chrome.trackSubUrlForApp('visualize', kibanaParsedUrl); expect( - coreNavLinks.update.calledWith('kibana:visualize', { - url: `${baseUrl}/xyz/app/kibana#visualize/1234?_g=globalstate`, + coreNavLinks.update.calledWith('visualize', { + url: `${baseUrl}/xyz/app/visualize#/1234?_g=globalstate`, }) ).to.be(true); }); diff --git a/src/legacy/ui/public/new_platform/__mocks__/helpers.ts b/src/legacy/ui/public/new_platform/__mocks__/helpers.ts index f9f4494929014..e3aa49baeae0d 100644 --- a/src/legacy/ui/public/new_platform/__mocks__/helpers.ts +++ b/src/legacy/ui/public/new_platform/__mocks__/helpers.ts @@ -32,6 +32,7 @@ import { chartPluginMock } from '../../../../../plugins/charts/public/mocks'; import { advancedSettingsMock } from '../../../../../plugins/advanced_settings/public/mocks'; import { savedObjectsManagementPluginMock } from '../../../../../plugins/saved_objects_management/public/mocks'; import { visualizationsPluginMock } from '../../../../../plugins/visualizations/public/mocks'; +import { discoverPluginMock } from '../../../../../plugins/discover/public/mocks'; /* eslint-enable @kbn/eslint/no-restricted-paths */ export const pluginsMock = { @@ -48,6 +49,7 @@ export const pluginsMock = { visualizations: visualizationsPluginMock.createSetupContract(), kibanaLegacy: kibanaLegacyPluginMock.createSetupContract(), savedObjectsManagement: savedObjectsManagementPluginMock.createSetupContract(), + discover: discoverPluginMock.createSetupContract(), }), createStart: () => ({ data: dataPluginMock.createStartContract(), @@ -62,6 +64,7 @@ export const pluginsMock = { visualizations: visualizationsPluginMock.createStartContract(), kibanaLegacy: kibanaLegacyPluginMock.createStartContract(), savedObjectsManagement: savedObjectsManagementPluginMock.createStartContract(), + discover: discoverPluginMock.createStartContract(), }), }; diff --git a/src/legacy/ui/public/new_platform/new_platform.karma_mock.js b/src/legacy/ui/public/new_platform/new_platform.karma_mock.js index 3caba24748bfa..67422fa659439 100644 --- a/src/legacy/ui/public/new_platform/new_platform.karma_mock.js +++ b/src/legacy/ui/public/new_platform/new_platform.karma_mock.js @@ -357,9 +357,6 @@ export const npStart = { registerRenderer: sinon.fake(), registerType: sinon.fake(), }, - devTools: { - getSortedDevTools: () => [], - }, kibanaLegacy: { getApps: () => [], getForwards: () => [], @@ -515,6 +512,7 @@ export const npStart = { docViews: { DocViewer: () => null, }, + savedSearchLoader: {}, }, }, }; diff --git a/src/legacy/ui/public/new_platform/new_platform.ts b/src/legacy/ui/public/new_platform/new_platform.ts index 1eb46e1a43895..ddf768495a9da 100644 --- a/src/legacy/ui/public/new_platform/new_platform.ts +++ b/src/legacy/ui/public/new_platform/new_platform.ts @@ -39,7 +39,7 @@ import { Start as InspectorStart, } from '../../../../plugins/inspector/public'; import { ChartsPluginSetup, ChartsPluginStart } from '../../../../plugins/charts/public'; -import { DevToolsSetup, DevToolsStart } from '../../../../plugins/dev_tools/public'; +import { DevToolsSetup } from '../../../../plugins/dev_tools/public'; import { KibanaLegacySetup, KibanaLegacyStart } from '../../../../plugins/kibana_legacy/public'; import { HomePublicPluginSetup } from '../../../../plugins/home/public'; import { SharePluginSetup, SharePluginStart } from '../../../../plugins/share/public'; @@ -105,7 +105,6 @@ export interface PluginsStart { inspector: InspectorStart; uiActions: UiActionsStart; navigation: NavigationPublicPluginStart; - devTools: DevToolsStart; kibanaLegacy: KibanaLegacyStart; share: SharePluginStart; management: ManagementStart; diff --git a/src/legacy/ui/public/new_platform/set_services.ts b/src/legacy/ui/public/new_platform/set_services.ts index 400f31e73ffa1..9d02ad67b3937 100644 --- a/src/legacy/ui/public/new_platform/set_services.ts +++ b/src/legacy/ui/public/new_platform/set_services.ts @@ -57,12 +57,14 @@ export function setStartServices(npStart: NpStart) { dataServices.setIndexPatterns(npStart.plugins.data.indexPatterns); dataServices.setQueryService(npStart.plugins.data.query); dataServices.setSearchService(npStart.plugins.data.search); + visualizationsServices.setI18n(npStart.core.i18n); visualizationsServices.setTypes( pick(npStart.plugins.visualizations, ['get', 'all', 'getAliases']) ); visualizationsServices.setCapabilities(npStart.core.application.capabilities); visualizationsServices.setHttp(npStart.core.http); + visualizationsServices.setApplication(npStart.core.application); visualizationsServices.setSavedObjects(npStart.core.savedObjects); visualizationsServices.setIndexPatterns(npStart.plugins.data.indexPatterns); visualizationsServices.setFilterManager(npStart.plugins.data.query.filterManager); @@ -82,4 +84,5 @@ export function setStartServices(npStart: NpStart) { visualizationTypes: visualizationsServices.getTypes(), }); visualizationsServices.setSavedVisualizationsLoader(savedVisualizationsLoader); + visualizationsServices.setSavedSearchLoader(npStart.plugins.discover.savedSearchLoader); } diff --git a/src/legacy/ui/public/style_compile/__tests__/style_compile.js b/src/legacy/ui/public/style_compile/__tests__/style_compile.js deleted file mode 100644 index 329177f67539b..0000000000000 --- a/src/legacy/ui/public/style_compile/__tests__/style_compile.js +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import $ from 'jquery'; -import expect from '@kbn/expect'; -import ngMock from 'ng_mock'; -describe('styleCompile directive', function() { - let config; - let $rootScope; - - beforeEach(ngMock.module('kibana')); - beforeEach( - ngMock.inject(function($injector) { - config = $injector.get('config'); - $rootScope = $injector.get('$rootScope'); - }) - ); - - it('exports a few config values as css', function() { - const $style = $('#style-compile'); - - config.set('truncate:maxHeight', 0); - $rootScope.$apply(); - expect($style.html().trim()).to.be( - [ - '.truncate-by-height {', - ' max-height: none;', - ' display: inline-block;', - '}', - '.truncate-by-height:before {', - ' top: -15px;', - '}', - ].join('\n') - ); - - config.set('truncate:maxHeight', 15); - $rootScope.$apply(); - expect($style.html().trim()).to.be( - [ - '.truncate-by-height {', - ' max-height: 15px !important;', - ' display: inline-block;', - '}', - '.truncate-by-height:before {', - ' top: 0px;', - '}', - ].join('\n') - ); - }); -}); diff --git a/src/legacy/ui/public/style_compile/_index.scss b/src/legacy/ui/public/style_compile/_index.scss deleted file mode 100644 index 6dd403d730314..0000000000000 --- a/src/legacy/ui/public/style_compile/_index.scss +++ /dev/null @@ -1,3 +0,0 @@ -style-compile { - display: none; -} diff --git a/src/legacy/ui/public/style_compile/index.js b/src/legacy/ui/public/style_compile/index.js deleted file mode 100644 index 47496328b9bea..0000000000000 --- a/src/legacy/ui/public/style_compile/index.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import './style_compile'; diff --git a/src/legacy/ui/public/style_compile/style_compile.css.tmpl b/src/legacy/ui/public/style_compile/style_compile.css.tmpl deleted file mode 100644 index 943b459acc565..0000000000000 --- a/src/legacy/ui/public/style_compile/style_compile.css.tmpl +++ /dev/null @@ -1,7 +0,0 @@ -.truncate-by-height { - max-height: <%= truncateMaxHeight %>; - display: inline-block; -} -.truncate-by-height:before { - top: <%= truncateGradientTop %>; -} diff --git a/src/legacy/ui/public/style_compile/style_compile.js b/src/legacy/ui/public/style_compile/style_compile.js deleted file mode 100644 index 5b53947e6eb00..0000000000000 --- a/src/legacy/ui/public/style_compile/style_compile.js +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import _ from 'lodash'; -import $ from 'jquery'; -import '../config'; -import { uiModules } from '../modules'; -import cssTmpl from './style_compile.css.tmpl'; - -const $style = $('