Skip to content

Implement PDF reports for submissions#3754

Draft
andreia-ferreira wants to merge 58 commits into
masterfrom
andreia/3739/pdf-report-impl
Draft

Implement PDF reports for submissions#3754
andreia-ferreira wants to merge 58 commits into
masterfrom
andreia/3739/pdf-report-impl

update composable tests

77e1f86
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 17, 2026 in 1s

67.23% (-0.89%) compared to 73d2729

View this Pull Request on Codecov

67.23% (-0.89%) compared to 73d2729

Details

Codecov Report

❌ Patch coverage is 75.19623% with 158 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.23%. Comparing base (73d2729) to head (77e1f86).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
...undplatform/feature/pdf/AndroidPdfImageProvider.kt 52.77% 24 Missing and 10 partials ⚠️
...ndplatform/feature/pdf/AndroidPdfReportLauncher.kt 0.00% 19 Missing ⚠️
.../ui/datacollection/DataCollectionScreenPreviews.kt 0.00% 17 Missing ⚠️
...g/groundplatform/feature/pdf/AndroidPdfRenderer.kt 0.00% 17 Missing ⚠️
...ome/mapcontainer/HomeScreenMapContainerFragment.kt 20.00% 12 Missing ⚠️
...datacollection/DataSubmissionConfirmationScreen.kt 70.96% 8 Missing and 1 partial ⚠️
...me/mapcontainer/HomeScreenMapContainerViewModel.kt 77.77% 1 Missing and 7 partials ⚠️
...droid/ui/home/mapcontainer/jobs/JobMapComponent.kt 38.46% 2 Missing and 6 partials ⚠️
...id/ui/home/mapcontainer/jobs/ShareLocationModal.kt 52.94% 7 Missing and 1 partial ⚠️
...ndplatform/feature/pdf/render/DocumentPdfCanvas.kt 55.55% 6 Missing and 2 partials ⚠️
... and 8 more
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3754      +/-   ##
============================================
- Coverage     68.12%   67.23%   -0.89%     
- Complexity     1616     1786     +170     
============================================
  Files           369      404      +35     
  Lines          9537    10573    +1036     
  Branches       1248     1347      +99     
============================================
+ Hits           6497     7109     +612     
- Misses         2368     2767     +399     
- Partials        672      697      +25     
Files with missing lines Coverage Δ
...latform/android/repository/SubmissionRepository.kt 100.00% <100.00%> (ø)
...ndroid/ui/datacollection/DataCollectionFragment.kt 96.42% <100.00%> (+3.83%) ⬆️
.../android/ui/datacollection/DataCollectionScreen.kt 87.77% <100.00%> (+1.19%) ⬆️
...ome/mapcontainer/HomeScreenMapContainerUiEffect.kt 100.00% <100.00%> (ø)
...tform/domain/model/locationofinterest/LoiReport.kt 100.00% <100.00%> (ø)
...rm/ui/components/qrcode/QrCodeGenerator.android.kt 100.00% <ø> (ø)
...ndplatform/ui/components/qrcode/QrCodeGenerator.kt 100.00% <100.00%> (ø)
...org/groundplatform/feature/pdf/render/PdfCanvas.kt 100.00% <100.00%> (ø)
...groundplatform/feature/pdf/render/PdfTextPaints.kt 100.00% <100.00%> (ø)
...org/groundplatform/feature/pdf/render/PdfCursor.kt 100.00% <100.00%> (ø)
... and 24 more

... and 17 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.