1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render source file 1`] = `
6 onRequestClose={[MockFunction]}
10 className="modal-container source-viewer-measures-modal"
13 className="source-viewer-header-component source-viewer-measures-component"
16 className="source-viewer-header-component-project"
19 className="little-spacer-right"
23 onlyActiveOnIndex={false}
27 "pathname": "/project/issues",
39 className="big-spacer-left little-spacer-right"
45 className="source-viewer-header-component-name display-flex-center little-spacer-top"
48 className="little-spacer-right"
55 className="source-viewer-measures"
58 className="source-viewer-measures-section"
61 className="source-viewer-measures-card"
67 className="measures-list"
69 <MeasuresOverlayMeasure
82 <MeasuresOverlayMeasure
95 <MeasuresOverlayMeasure
101 "key": "comment_lines",
108 <MeasuresOverlayMeasure
109 key="comment_lines_density"
114 "key": "comment_lines_density",
127 className="measures-list"
129 <MeasuresOverlayMeasure
130 key="cognitive_complexity"
134 "domain": "Complexity",
135 "key": "cognitive_complexity",
142 <MeasuresOverlayMeasure
147 "domain": "Complexity",
160 className="source-viewer-measures-section"
163 className="source-viewer-measures-card"
169 className="measure measure-big"
170 data-metric="sqale_index"
173 className="measure-value"
176 metricKey="sqale_index"
177 metricType="WORK_DUR"
182 className="measure-name"
191 className="source-viewer-measures-section"
194 className="source-viewer-measures-card"
200 className="measures-chart"
208 className="measure measure-big"
209 data-metric="coverage"
212 className="measure-value"
221 className="measure-name"
231 className="measures-list"
233 <MeasuresOverlayMeasure
234 key="uncovered_lines"
238 "domain": "Coverage",
239 "key": "uncovered_lines",
246 <MeasuresOverlayMeasure
251 "domain": "Coverage",
252 "key": "lines_to_cover",
264 className="source-viewer-measures-section"
267 className="source-viewer-measures-card"
273 className="measures-chart"
282 className="measure measure-big"
283 data-metric="duplicated_lines_density"
286 className="measure-value"
289 metricKey="duplicated_lines_density"
295 className="measure-name"
297 duplicated_lines_density
305 className="measures-list"
307 <MeasuresOverlayMeasure
308 key="duplicated_blocks"
312 "domain": "Duplications",
313 "key": "duplicated_blocks",
320 <MeasuresOverlayMeasure
321 key="duplicated_lines"
325 "domain": "Duplications",
326 "key": "duplicated_lines",
339 className="spacer-top"
342 className="js-show-all-measures"
346 component_viewer.show_all_measures
351 className="modal-foot"
354 onClick={[MockFunction]}
362 exports[`should render source file 2`] = `
365 onRequestClose={[MockFunction]}
369 className="modal-container source-viewer-measures-modal"
372 className="source-viewer-header-component source-viewer-measures-component"
375 className="source-viewer-header-component-project"
378 className="little-spacer-right"
382 onlyActiveOnIndex={false}
386 "pathname": "/project/issues",
398 className="big-spacer-left little-spacer-right"
404 className="source-viewer-header-component-name display-flex-center little-spacer-top"
407 className="little-spacer-right"
414 className="source-viewer-measures"
417 className="source-viewer-measures-section"
420 className="source-viewer-measures-card"
426 className="measures-list"
428 <MeasuresOverlayMeasure
441 <MeasuresOverlayMeasure
454 <MeasuresOverlayMeasure
460 "key": "comment_lines",
467 <MeasuresOverlayMeasure
468 key="comment_lines_density"
473 "key": "comment_lines_density",
486 className="measures-list"
488 <MeasuresOverlayMeasure
489 key="cognitive_complexity"
493 "domain": "Complexity",
494 "key": "cognitive_complexity",
501 <MeasuresOverlayMeasure
506 "domain": "Complexity",
519 className="source-viewer-measures-section"
522 className="source-viewer-measures-card"
528 className="measure measure-big"
529 data-metric="sqale_index"
532 className="measure-value"
535 metricKey="sqale_index"
536 metricType="WORK_DUR"
541 className="measure-name"
550 className="source-viewer-measures-section"
553 className="source-viewer-measures-card"
559 className="measures-chart"
567 className="measure measure-big"
568 data-metric="coverage"
571 className="measure-value"
580 className="measure-name"
590 className="measures-list"
592 <MeasuresOverlayMeasure
593 key="uncovered_lines"
597 "domain": "Coverage",
598 "key": "uncovered_lines",
605 <MeasuresOverlayMeasure
610 "domain": "Coverage",
611 "key": "lines_to_cover",
623 className="source-viewer-measures-section"
626 className="source-viewer-measures-card"
632 className="measures-chart"
641 className="measure measure-big"
642 data-metric="duplicated_lines_density"
645 className="measure-value"
648 metricKey="duplicated_lines_density"
654 className="measure-name"
656 duplicated_lines_density
664 className="measures-list"
666 <MeasuresOverlayMeasure
667 key="duplicated_blocks"
671 "domain": "Duplications",
672 "key": "duplicated_blocks",
679 <MeasuresOverlayMeasure
680 key="duplicated_lines"
684 "domain": "Duplications",
685 "key": "duplicated_lines",
698 className="spacer-top"
701 className="source-viewer-measures source-viewer-measures-secondary js-all-measures"
704 className="source-viewer-measures-section source-viewer-measures-section-big"
707 className="source-viewer-measures-card"
714 className="measures-list"
717 className="measure measure-one-line measure-big"
720 className="measure-name"
725 <MeasuresOverlayMeasure
726 key="cognitive_complexity"
730 "domain": "Complexity",
731 "key": "cognitive_complexity",
738 <MeasuresOverlayMeasure
743 "domain": "Complexity",
755 className="source-viewer-measures-card"
762 className="measures-list"
765 className="measure measure-one-line measure-big"
768 className="measure-name"
773 <MeasuresOverlayMeasure
786 <MeasuresOverlayMeasure
792 "key": "comment_lines",
799 <MeasuresOverlayMeasure
800 key="comment_lines_density"
805 "key": "comment_lines_density",
812 <MeasuresOverlayMeasure
825 <MeasuresOverlayMeasure
838 <MeasuresOverlayMeasure
851 <MeasuresOverlayMeasure
864 <MeasuresOverlayMeasure
881 className="source-viewer-measures-card"
888 className="measures-list"
891 className="measure measure-one-line measure-big"
894 className="measure-name"
899 <MeasuresOverlayMeasure
904 "domain": "Coverage",
912 <MeasuresOverlayMeasure
917 "domain": "Coverage",
918 "key": "line_coverage",
925 <MeasuresOverlayMeasure
930 "domain": "Coverage",
931 "key": "lines_to_cover",
938 <MeasuresOverlayMeasure
939 key="uncovered_lines"
943 "domain": "Coverage",
944 "key": "uncovered_lines",
955 className="source-viewer-measures-card"
962 className="measures-list"
965 className="measure measure-one-line measure-big"
968 className="measure-name"
973 <MeasuresOverlayMeasure
978 "domain": "Reliability",
986 <MeasuresOverlayMeasure
987 key="reliability_rating"
991 "domain": "Reliability",
992 "key": "reliability_rating",
1004 className="source-viewer-measures-section source-viewer-measures-section-big"
1007 className="source-viewer-measures-card"
1011 className="measures"
1014 className="measures-list"
1017 className="measure measure-one-line measure-big"
1020 className="measure-name"
1025 <MeasuresOverlayMeasure
1026 key="security_rating"
1030 "domain": "Security",
1031 "key": "security_rating",
1038 <MeasuresOverlayMeasure
1039 key="vulnerabilities"
1043 "domain": "Security",
1044 "key": "vulnerabilities",
1055 className="source-viewer-measures-card"
1059 className="measures"
1062 className="measures-list"
1065 className="measure measure-one-line measure-big"
1068 className="measure-name"
1073 <MeasuresOverlayMeasure
1079 "key": "skipped_tests",
1086 <MeasuresOverlayMeasure
1092 "key": "test_errors",
1099 <MeasuresOverlayMeasure
1105 "key": "test_failures",
1112 <MeasuresOverlayMeasure
1113 key="test_success_density"
1118 "key": "test_success_density",
1129 className="source-viewer-measures-card"
1133 className="measures"
1136 className="measures-list"
1139 className="measure measure-one-line measure-big"
1142 className="measure-name"
1147 <MeasuresOverlayMeasure
1148 key="false_positive_issues"
1153 "key": "false_positive_issues",
1160 <MeasuresOverlayMeasure
1161 key="wont_fix_issues"
1166 "key": "wont_fix_issues",
1177 className="source-viewer-measures-card"
1181 className="measures"
1184 className="measures-list"
1187 className="measure measure-one-line measure-big"
1190 className="measure-name"
1195 <MeasuresOverlayMeasure
1196 key="duplicated_blocks"
1200 "domain": "Duplications",
1201 "key": "duplicated_blocks",
1208 <MeasuresOverlayMeasure
1209 key="duplicated_files"
1213 "domain": "Duplications",
1214 "key": "duplicated_files",
1221 <MeasuresOverlayMeasure
1222 key="duplicated_lines"
1226 "domain": "Duplications",
1227 "key": "duplicated_lines",
1234 <MeasuresOverlayMeasure
1235 key="duplicated_lines_density"
1239 "domain": "Duplications",
1240 "key": "duplicated_lines_density",
1251 className="source-viewer-measures-card"
1252 key="Maintainability"
1255 className="measures"
1258 className="measures-list"
1261 className="measure measure-one-line measure-big"
1264 className="measure-name"
1269 <MeasuresOverlayMeasure
1274 "domain": "Maintainability",
1275 "key": "code_smells",
1282 <MeasuresOverlayMeasure
1283 key="sqale_debt_ratio"
1287 "domain": "Maintainability",
1288 "key": "sqale_debt_ratio",
1295 <MeasuresOverlayMeasure
1300 "domain": "Maintainability",
1301 "key": "sqale_index",
1316 className="modal-foot"
1319 onClick={[MockFunction]}
1327 exports[`should render test file 1`] = `
1330 onRequestClose={[MockFunction]}
1334 className="modal-container source-viewer-measures-modal"
1337 className="source-viewer-header-component source-viewer-measures-component"
1340 className="source-viewer-header-component-project"
1343 className="little-spacer-right"
1347 onlyActiveOnIndex={false}
1351 "pathname": "/project/issues",
1353 "branch": "feature",
1354 "id": "project-key",
1355 "resolved": "false",
1363 className="big-spacer-left little-spacer-right"
1369 className="source-viewer-header-component-name display-flex-center little-spacer-top"
1372 className="little-spacer-right"
1379 className="source-viewer-measures"
1382 className="source-viewer-measures-section"
1385 className="source-viewer-measures-card"
1388 className="measures"
1391 className="measures-list"
1393 <MeasuresOverlayMeasure
1394 key="test_success_density"
1399 "key": "test_success_density",
1406 <MeasuresOverlayMeasure
1412 "key": "test_failures",
1419 <MeasuresOverlayMeasure
1425 "key": "test_errors",
1432 <MeasuresOverlayMeasure
1438 "key": "skipped_tests",
1451 className="spacer-top"
1454 className="js-show-all-measures"
1456 onClick={[Function]}
1458 component_viewer.show_all_measures
1463 className="modal-foot"
1466 onClick={[MockFunction]}