diff --git a/report-viewer/src/components/TextInformation.vue b/report-viewer/src/components/TextInformation.vue index e9e54640c..11e6fed07 100644 --- a/report-viewer/src/components/TextInformation.vue +++ b/report-viewer/src/components/TextInformation.vue @@ -3,30 +3,25 @@ --> diff --git a/report-viewer/src/components/ToolTipComponent.vue b/report-viewer/src/components/ToolTipComponent.vue index 48212c0f5..04f63e0a1 100644 --- a/report-viewer/src/components/ToolTipComponent.vue +++ b/report-viewer/src/components/ToolTipComponent.vue @@ -6,7 +6,9 @@ :style="tooltipPosition" > -
+
+ +
diff --git a/report-viewer/src/model/Overview.ts b/report-viewer/src/model/Overview.ts index 63b705dde..ede6f93e9 100644 --- a/report-viewer/src/model/Overview.ts +++ b/report-viewer/src/model/Overview.ts @@ -119,4 +119,12 @@ export class Overview { get totalComparisons() { return this._totalComparisons } + + get shownComparisons() { + return this.topComparisons.length + } + + get missingComparisons() { + return this.totalComparisons - this.shownComparisons + } } diff --git a/report-viewer/src/views/InformationView.vue b/report-viewer/src/views/InformationView.vue index b55a73cc7..aa761904e 100644 --- a/report-viewer/src/views/InformationView.vue +++ b/report-viewer/src/views/InformationView.vue @@ -4,17 +4,17 @@

Run Options:

- {{ + {{ overview.submissionFolderPath.join(', ') }} - {{ + {{ overview.baseCodeFolderPath }} {{ overview.language }} {{ overview.fileExtensions.join(', ') }} - {{ + {{ overview.matchSensitivity }} @@ -30,17 +30,17 @@ {{ overview.durationOfExecution }} ms - {{ + {{ store().getSubmissionIds.length }} {{ - totalComparisons + overview.totalComparisons }} {{ - shownComparisons + overview.shownComparisons }} {{ - missingComparisons + overview.missingComparisons }} @@ -53,16 +53,12 @@ import TextInformation from '@/components/TextInformation.vue' import ScrollableComponent from '@/components/ScrollableComponent.vue' import { store } from '@/stores/store' import { Overview } from '@/model/Overview' -import { computed, type PropType } from 'vue' +import { type PropType } from 'vue' -const props = defineProps({ +defineProps({ overview: { type: Object as PropType, required: true } }) - -const totalComparisons = computed(() => props.overview.totalComparisons) -const shownComparisons = computed(() => props.overview.topComparisons.length) -const missingComparisons = computed(() => totalComparisons.value - shownComparisons.value) diff --git a/report-viewer/src/views/OverviewView.vue b/report-viewer/src/views/OverviewView.vue index fb6d9f33d..bb345c175 100644 --- a/report-viewer/src/views/OverviewView.vue +++ b/report-viewer/src/views/OverviewView.vue @@ -7,16 +7,50 @@

JPlag Report

- {{ submissionPathValue }} + {{ submissionPathValue }} {{ store().getSubmissionIds.length }} - {{ - overview.totalComparisons - }} - {{ - overview.matchSensitivity - }} + + + + + + + + + +