Closed gogonzo closed 1 year ago
Filename Stmts Miss Cover Missing
------------------ ------- ------ ------- ----------------------------------------------------------------------------------
R/AddCardModule.R 140 1 99.29% 195
R/Archiver.R 25 0 100.00%
R/ContentBlock.R 18 2 88.89% 46-51
R/DownloadModule.R 207 49 76.33% 89-95, 138, 163-168, 177-181, 184-188, 196-200, 203-207, 214-218, 221-225, 262-266
R/FileBlock.R 13 0 100.00%
R/NewpageBlock.R 2 0 100.00%
R/PictureBlock.R 30 2 93.33% 15, 101
R/Previewer.R 295 56 81.02% 183, 197, 199-202, 205, 208-216, 325-369
R/RcodeBlock.R 15 0 100.00%
R/Renderer.R 84 13 84.52% 158, 166, 175, 177-189
R/ReportCard.R 77 4 94.81% 180, 219, 224, 245
R/Reporter.R 94 1 98.94% 254
R/ResetModule.R 55 0 100.00%
R/SimpleReporter.R 29 0 100.00%
R/TableBlock.R 8 0 100.00%
R/TextBlock.R 13 0 100.00%
R/utils.R 78 66 15.38% 7, 38-97, 99, 102-109
R/yaml_utils.R 74 2 97.30% 65, 263
TOTAL 1257 196 84.41%
Filename Stmts Miss Cover
---------------- ------- ------ -------
R/ContentBlock.R +2 +2 -11.11%
R/Previewer.R +3 +2 -0.49%
R/Renderer.R +3 0 +0.57%
R/ReportCard.R -1 0 -0.07%
R/Reporter.R -2 0 -0.02%
TOTAL +5 +4 -0.56%
Results for commit: 59697eba3b60f6690df97753c83cb280eb27f588
Minimum allowed coverage is 80%
:recycle: This comment has been updated with latest results
1 files 18 suites 11s :stopwatch: 195 tests 195 :heavy_check_mark: 0 :zzz: 0 :x: 334 runs 334 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit 8983ff77.
Closes https://github.com/insightsengineering/teal/issues/864
TealReportCard
toteal
switch(class(obj)[1], ...)
. This factory design causing some problems as it is impossible to extend any ofteal.reporter
classes since method dispatch is hardcoded in this package.inherits
solves some of the problems but not entirely. In the future we might consider moving some methods to the*Block
classes but it needs to be preceeded with some design analysis (what should decide about output,Renderer
sPreviewers
or*ReportCard
,*Block
. We should revisit this later)