1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render source file 1`] = `
5 contentLabel="component_viewer.file_measures"
6 onRequestClose={[MockFunction]}
10 className="modal-head"
13 component_viewer.file_measures
17 className="modal-body modal-container"
20 className="measures-viewer-header big-spacer-bottom"
24 className="little-spacer-right"
30 "pathname": "/dashboard",
31 "search": "?branch=feature&id=project-key",
39 className="display-flex-center little-spacer-top"
42 className="little-spacer-right"
49 className="measures-viewer"
52 className="measures-viewer-section"
55 className="measures-viewer-card"
60 <MeasuresOverlayMeasure
73 <MeasuresOverlayMeasure
86 <MeasuresOverlayMeasure
92 "key": "comment_lines",
99 <MeasuresOverlayMeasure
100 key="comment_lines_density"
105 "key": "comment_lines_density",
116 <MeasuresOverlayMeasure
117 key="cognitive_complexity"
121 "domain": "Complexity",
122 "key": "cognitive_complexity",
129 <MeasuresOverlayMeasure
134 "domain": "Complexity",
146 className="measures-viewer-section"
149 className="measures-viewer-card"
155 className="measure measure-big"
156 data-metric="violations"
159 className="measure-value"
162 metricKey="violations"
168 className="measure-name"
174 className="measure measure-big"
175 data-metric="sqale_index"
178 className="measure-value"
181 metricKey="sqale_index"
182 metricType="WORK_DUR"
187 className="measure-name"
197 className="measure measure-one-line"
201 className="measure-name"
204 className="little-spacer-right"
210 className="measure-value"
216 className="measure measure-one-line"
220 className="measure-name"
223 className="little-spacer-right"
224 query="VULNERABILITY"
226 issue.type.VULNERABILITY
229 className="measure-value"
235 className="measure measure-one-line"
239 className="measure-name"
242 className="little-spacer-right"
245 issue.type.CODE_SMELL
248 className="measure-value"
258 className="measure measure-one-line"
262 className="measure-name"
269 className="measure-value"
275 className="measure measure-one-line"
279 className="measure-name"
286 className="measure-value"
292 className="measure measure-one-line"
296 className="measure-name"
303 className="measure-value"
309 className="measure measure-one-line"
313 className="measure-name"
320 className="measure-value"
326 className="measure measure-one-line"
330 className="measure-name"
337 className="measure-value"
347 className="measure measure-one-line"
351 className="measure-name"
354 className="little-spacer-right"
359 className="measure-value"
365 className="measure measure-one-line"
369 className="measure-name"
372 className="little-spacer-right"
377 className="measure-value"
383 className="measure measure-one-line"
387 className="measure-name"
390 className="little-spacer-right"
395 className="measure-value"
404 className="measures-viewer-section"
407 className="measures-viewer-card"
413 className="measures-chart"
421 className="measure measure-big"
422 data-metric="coverage"
425 className="measure-value"
434 className="measure-name"
443 <MeasuresOverlayMeasure
444 key="uncovered_lines"
448 "domain": "Coverage",
449 "key": "uncovered_lines",
456 <MeasuresOverlayMeasure
461 "domain": "Coverage",
462 "key": "lines_to_cover",
473 className="measures-viewer-section"
476 className="measures-viewer-card"
482 className="measures-chart"
491 className="measure measure-big"
492 data-metric="duplicated_lines_density"
495 className="measure-value"
498 metricKey="duplicated_lines_density"
504 className="measure-name"
506 duplicated_lines_density
513 <MeasuresOverlayMeasure
514 key="duplicated_blocks"
518 "domain": "Duplications",
519 "key": "duplicated_blocks",
526 <MeasuresOverlayMeasure
527 key="duplicated_lines"
531 "domain": "Duplications",
532 "key": "duplicated_lines",
544 className="spacer-top"
547 className="js-show-all-measures"
551 component_viewer.show_all_measures
556 className="modal-foot"
559 onClick={[MockFunction]}
567 exports[`should render source file 2`] = `
569 contentLabel="component_viewer.file_measures"
570 onRequestClose={[MockFunction]}
574 className="modal-head"
577 component_viewer.file_measures
581 className="modal-body modal-container"
584 className="measures-viewer-header big-spacer-bottom"
588 className="little-spacer-right"
594 "pathname": "/dashboard",
595 "search": "?branch=feature&id=project-key",
603 className="display-flex-center little-spacer-top"
606 className="little-spacer-right"
613 className="measures-viewer"
616 className="measures-viewer-section"
619 className="measures-viewer-card"
624 <MeasuresOverlayMeasure
637 <MeasuresOverlayMeasure
650 <MeasuresOverlayMeasure
656 "key": "comment_lines",
663 <MeasuresOverlayMeasure
664 key="comment_lines_density"
669 "key": "comment_lines_density",
680 <MeasuresOverlayMeasure
681 key="cognitive_complexity"
685 "domain": "Complexity",
686 "key": "cognitive_complexity",
693 <MeasuresOverlayMeasure
698 "domain": "Complexity",
710 className="measures-viewer-section"
713 className="measures-viewer-card"
719 className="measure measure-big"
720 data-metric="violations"
723 className="measure-value"
726 metricKey="violations"
732 className="measure-name"
738 className="measure measure-big"
739 data-metric="sqale_index"
742 className="measure-value"
745 metricKey="sqale_index"
746 metricType="WORK_DUR"
751 className="measure-name"
761 className="measure measure-one-line"
765 className="measure-name"
768 className="little-spacer-right"
774 className="measure-value"
780 className="measure measure-one-line"
784 className="measure-name"
787 className="little-spacer-right"
788 query="VULNERABILITY"
790 issue.type.VULNERABILITY
793 className="measure-value"
799 className="measure measure-one-line"
803 className="measure-name"
806 className="little-spacer-right"
809 issue.type.CODE_SMELL
812 className="measure-value"
822 className="measure measure-one-line"
826 className="measure-name"
833 className="measure-value"
839 className="measure measure-one-line"
843 className="measure-name"
850 className="measure-value"
856 className="measure measure-one-line"
860 className="measure-name"
867 className="measure-value"
873 className="measure measure-one-line"
877 className="measure-name"
884 className="measure-value"
890 className="measure measure-one-line"
894 className="measure-name"
901 className="measure-value"
911 className="measure measure-one-line"
915 className="measure-name"
918 className="little-spacer-right"
923 className="measure-value"
929 className="measure measure-one-line"
933 className="measure-name"
936 className="little-spacer-right"
941 className="measure-value"
947 className="measure measure-one-line"
951 className="measure-name"
954 className="little-spacer-right"
959 className="measure-value"
968 className="measures-viewer-section"
971 className="measures-viewer-card"
977 className="measures-chart"
985 className="measure measure-big"
986 data-metric="coverage"
989 className="measure-value"
998 className="measure-name"
1005 className="measures"
1007 <MeasuresOverlayMeasure
1008 key="uncovered_lines"
1012 "domain": "Coverage",
1013 "key": "uncovered_lines",
1020 <MeasuresOverlayMeasure
1021 key="lines_to_cover"
1025 "domain": "Coverage",
1026 "key": "lines_to_cover",
1037 className="measures-viewer-section"
1040 className="measures-viewer-card"
1043 className="measures"
1046 className="measures-chart"
1055 className="measure measure-big"
1056 data-metric="duplicated_lines_density"
1059 className="measure-value"
1062 metricKey="duplicated_lines_density"
1063 metricType="PERCENT"
1068 className="measure-name"
1070 duplicated_lines_density
1075 className="measures"
1077 <MeasuresOverlayMeasure
1078 key="duplicated_blocks"
1082 "domain": "Duplications",
1083 "key": "duplicated_blocks",
1090 <MeasuresOverlayMeasure
1091 key="duplicated_lines"
1095 "domain": "Duplications",
1096 "key": "duplicated_lines",
1108 className="spacer-top"
1111 className="measures-viewer measures-viewer-secondary"
1114 className="measures-viewer-section"
1117 className="measures-viewer-card"
1121 className="measures"
1124 className="measure measure-big"
1127 className="measure-name"
1129 metric_domain.Complexity
1132 <MeasuresOverlayMeasure
1133 key="cognitive_complexity"
1137 "domain": "Complexity",
1138 "key": "cognitive_complexity",
1145 <MeasuresOverlayMeasure
1150 "domain": "Complexity",
1151 "key": "complexity",
1161 className="measures-viewer-card"
1165 className="measures"
1168 className="measure measure-big"
1171 className="measure-name"
1176 <MeasuresOverlayMeasure
1189 <MeasuresOverlayMeasure
1195 "key": "comment_lines",
1202 <MeasuresOverlayMeasure
1203 key="comment_lines_density"
1208 "key": "comment_lines_density",
1215 <MeasuresOverlayMeasure
1228 <MeasuresOverlayMeasure
1241 <MeasuresOverlayMeasure
1254 <MeasuresOverlayMeasure
1267 <MeasuresOverlayMeasure
1273 "key": "statements",
1283 className="measures-viewer-card"
1287 className="measures"
1290 className="measure measure-big"
1293 className="measure-name"
1295 metric_domain.Coverage
1298 <MeasuresOverlayMeasure
1303 "domain": "Coverage",
1311 <MeasuresOverlayMeasure
1316 "domain": "Coverage",
1317 "key": "line_coverage",
1324 <MeasuresOverlayMeasure
1325 key="lines_to_cover"
1329 "domain": "Coverage",
1330 "key": "lines_to_cover",
1337 <MeasuresOverlayMeasure
1338 key="uncovered_lines"
1342 "domain": "Coverage",
1343 "key": "uncovered_lines",
1353 className="measures-viewer-card"
1357 className="measures"
1360 className="measure measure-big"
1363 className="measure-name"
1365 metric_domain.Reliability
1368 <MeasuresOverlayMeasure
1373 "domain": "Reliability",
1381 <MeasuresOverlayMeasure
1382 key="reliability_rating"
1386 "domain": "Reliability",
1387 "key": "reliability_rating",
1398 className="measures-viewer-section"
1401 className="measures-viewer-card"
1405 className="measures"
1408 className="measure measure-big"
1411 className="measure-name"
1413 metric_domain.Security
1416 <MeasuresOverlayMeasure
1417 key="security_rating"
1421 "domain": "Security",
1422 "key": "security_rating",
1429 <MeasuresOverlayMeasure
1430 key="vulnerabilities"
1434 "domain": "Security",
1435 "key": "vulnerabilities",
1445 className="measures-viewer-card"
1449 className="measures"
1452 className="measure measure-big"
1455 className="measure-name"
1460 <MeasuresOverlayMeasure
1466 "key": "skipped_tests",
1473 <MeasuresOverlayMeasure
1479 "key": "test_errors",
1486 <MeasuresOverlayMeasure
1492 "key": "test_failures",
1499 <MeasuresOverlayMeasure
1500 key="test_success_density"
1505 "key": "test_success_density",
1515 className="measures-viewer-card"
1519 className="measures"
1522 className="measure measure-big"
1525 className="measure-name"
1527 metric_domain.Issues
1530 <MeasuresOverlayMeasure
1531 key="false_positive_issues"
1536 "key": "false_positive_issues",
1543 <MeasuresOverlayMeasure
1549 "key": "violations",
1556 <MeasuresOverlayMeasure
1557 key="wont_fix_issues"
1562 "key": "wont_fix_issues",
1572 className="measures-viewer-card"
1576 className="measures"
1579 className="measure measure-big"
1582 className="measure-name"
1584 metric_domain.Duplications
1587 <MeasuresOverlayMeasure
1588 key="duplicated_blocks"
1592 "domain": "Duplications",
1593 "key": "duplicated_blocks",
1600 <MeasuresOverlayMeasure
1601 key="duplicated_files"
1605 "domain": "Duplications",
1606 "key": "duplicated_files",
1613 <MeasuresOverlayMeasure
1614 key="duplicated_lines"
1618 "domain": "Duplications",
1619 "key": "duplicated_lines",
1626 <MeasuresOverlayMeasure
1627 key="duplicated_lines_density"
1631 "domain": "Duplications",
1632 "key": "duplicated_lines_density",
1642 className="measures-viewer-card"
1643 key="Maintainability"
1646 className="measures"
1649 className="measure measure-big"
1652 className="measure-name"
1654 metric_domain.Maintainability
1657 <MeasuresOverlayMeasure
1662 "domain": "Maintainability",
1663 "key": "code_smells",
1670 <MeasuresOverlayMeasure
1671 key="sqale_debt_ratio"
1675 "domain": "Maintainability",
1676 "key": "sqale_debt_ratio",
1683 <MeasuresOverlayMeasure
1688 "domain": "Maintainability",
1689 "key": "sqale_index",
1703 className="modal-foot"
1706 onClick={[MockFunction]}
1714 exports[`should render test file 1`] = `
1716 contentLabel="component_viewer.file_measures"
1717 onRequestClose={[MockFunction]}
1721 className="modal-head"
1724 component_viewer.file_measures
1728 className="modal-body modal-container"
1731 className="measures-viewer-header big-spacer-bottom"
1735 className="little-spacer-right"
1741 "pathname": "/dashboard",
1742 "search": "?branch=feature&id=project-key",
1750 className="display-flex-center little-spacer-top"
1753 className="little-spacer-right"
1760 className="measures-viewer"
1763 className="measures-viewer-section measures-viewer-section-limited"
1766 className="measures-viewer-card"
1769 className="measures"
1771 <MeasuresOverlayMeasure
1772 key="test_success_density"
1777 "key": "test_success_density",
1784 <MeasuresOverlayMeasure
1790 "key": "test_failures",
1797 <MeasuresOverlayMeasure
1803 "key": "test_errors",
1810 <MeasuresOverlayMeasure
1816 "key": "skipped_tests",
1828 className="spacer-top"
1831 className="js-show-all-measures"
1833 onClick={[Function]}
1835 component_viewer.show_all_measures
1840 className="modal-foot"
1843 onClick={[MockFunction]}