Skip to content

remove more unused functions from metricsHelper

Codecov / codecov/project failed Sep 20, 2024 in 0s

28.27% (-1.88%) compared to 4596d0c

View this Pull Request on Codecov

28.27% (-1.88%) compared to 4596d0c

Details

Codecov Report

Attention: Patch coverage is 24.36548% with 298 lines in your changes missing coverage. Please review.

Project coverage is 28.27%. Comparing base (4596d0c) to head (dabeb7c).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
www/js/metrics/footprint/WeeklyFootprintCard.tsx 0.00% 40 Missing ⚠️
www/js/metrics/MetricsTab.tsx 0.00% 36 Missing ⚠️
www/js/metrics/footprint/FootprintSection.tsx 0.00% 33 Missing ⚠️
www/js/metrics/metricsHelper.ts 28.20% 28 Missing ⚠️
...w/js/metrics/footprint/FootprintComparisonCard.tsx 0.00% 24 Missing ⚠️
...ww/js/metrics/movement/WeeklyActiveMinutesCard.tsx 0.00% 23 Missing ⚠️
www/js/metrics/SumaryCard.tsx 0.00% 18 Missing ⚠️
www/js/metrics/movement/DailyActiveMinutesCard.tsx 0.00% 15 Missing ⚠️
www/js/metrics/MetricsScreen.tsx 0.00% 14 Missing ⚠️
www/js/survey/multilabel/MultiLabelButtonGroup.tsx 0.00% 7 Missing ⚠️
... and 21 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1176      +/-   ##
==========================================
- Coverage   30.14%   28.27%   -1.88%     
==========================================
  Files         118      122       +4     
  Lines        5172     5012     -160     
  Branches     1110     1139      +29     
==========================================
- Hits         1559     1417     -142     
+ Misses       3611     3593      -18     
  Partials        2        2              
Files with missing lines Coverage Δ
www/js/App.tsx 0.00% <ø> (ø)
www/js/Main.tsx 0.00% <ø> (ø)
www/js/appTheme.ts 100.00% <100.00%> (ø)
www/js/components/AlertBar.tsx 6.25% <ø> (ø)
www/js/components/BarChart.tsx 0.00% <ø> (ø)
www/js/components/Carousel.tsx 100.00% <100.00%> (ø)
www/js/components/Chart.tsx 0.00% <ø> (ø)
www/js/components/NavBar.tsx 83.33% <100.00%> (+4.76%) ⬆️
www/js/components/ToggleSwitch.tsx 0.00% <ø> (ø)
www/js/control/ProfileSettings.tsx 0.00% <ø> (ø)
... and 40 more

... and 1 file with indirect coverage changes