Skip to content

Add Android rendering logic for PDF reports#3774

Open
andreia-ferreira wants to merge 22 commits into
masterfrom
andreia/3739/pdf-report-layout
Open

Add Android rendering logic for PDF reports#3774
andreia-ferreira wants to merge 22 commits into
masterfrom
andreia/3739/pdf-report-layout

add unit tests to assure PdfWriter only draws one internal border bet…

25ffb1f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 11, 2026 in 1s

66.97% (+0.37%) compared to c167392

View this Pull Request on Codecov

66.97% (+0.37%) compared to c167392

Details

Codecov Report

❌ Patch coverage is 75.52239% with 82 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.97%. Comparing base (c167392) to head (25ffb1f).

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 ⚠️
...g/groundplatform/feature/pdf/AndroidPdfRenderer.kt 0.00% 17 Missing ⚠️
...ndplatform/feature/pdf/render/DocumentPdfCanvas.kt 55.55% 6 Missing and 2 partials ⚠️
...org/groundplatform/feature/pdf/render/PdfWriter.kt 98.03% 1 Missing and 2 partials ⚠️
...ndplatform/feature/pdf/AndroidPdfOutputProvider.kt 88.88% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3774      +/-   ##
============================================
+ Coverage     66.60%   66.97%   +0.37%     
- Complexity     1684     1771      +87     
============================================
  Files           392      402      +10     
  Lines         10145    10480     +335     
  Branches       1295     1333      +38     
============================================
+ Hits           6757     7019     +262     
- Misses         2711     2769      +58     
- Partials        677      692      +15     
Files with missing lines Coverage Δ
...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%> (ø)
...ndplatform/feature/pdf/render/PdfPageController.kt 100.00% <100.00%> (ø)
...ndplatform/feature/pdf/AndroidPdfOutputProvider.kt 88.88% <88.88%> (ø)
...org/groundplatform/feature/pdf/render/PdfWriter.kt 98.03% <98.03%> (ø)
...ndplatform/feature/pdf/render/DocumentPdfCanvas.kt 55.55% <55.55%> (ø)
...g/groundplatform/feature/pdf/AndroidPdfRenderer.kt 0.00% <0.00%> (ø)
...ndplatform/feature/pdf/AndroidPdfReportLauncher.kt 0.00% <0.00%> (ø)
...undplatform/feature/pdf/AndroidPdfImageProvider.kt 52.77% <52.77%> (ø)

... and 4 files with indirect coverage changes

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