Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(code): update barrel file #22

Merged
merged 4 commits into from
Feb 21, 2024

Conversation

ryanaidilp
Copy link
Owner

close #17

@ryanaidilp ryanaidilp self-assigned this Feb 21, 2024
@ryanaidilp ryanaidilp linked an issue Feb 21, 2024 that may be closed by this pull request
Copy link

Coverage Report

Coverage after merging feature/update-barrel-file into feature/statistics will be
30.44%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
features/home/lib/src/data/datasources
   banner_remote_data_source.dart0%100%100%0%13, 15, 17, 19–21, 24
features/home/lib/src/data/models
   banner_model.dart100%100%100%100%
features/home/lib/src/data/repositories
   banner_repository_impl.dart0%100%100%0%10, 13, 15–18, 23, 25
features/home/lib/src/domain/entities
   banner.dart12.50%100%100%12.50%18, 20–25
features/home/lib/src/domain/exceptions
   banner_exception.dart0%100%100%0%4
features/home/lib/src/domain/failures
   banner_failure.dart100%100%100%100%
features/home/lib/src/domain/usecases
   get_all_banner.dart100%100%100%100%
features/home/lib/src/presentation/blocs/banner
   banner_bloc.dart0%100%100%0%10–18, 20–21
features/statistic/lib/src/data/datasources
   covid_test_remote_data_source.dart85.71%100%100%85.71%20
   statistic_remote_data_source.dart30.77%100%100%30.77%41, 43, 45–46, 48–50, 53, 55, 64, 66, 68–69, 71–73, 76, 78
features/statistic/lib/src/data/models
   case_model.dart54.17%100%100%54.17%48–58
   covid_test_model.dart100%100%100%100%
   percentage_model.dart60%100%100%60%16–19
   recap_model.dart50%100%100%50%18–20, 22–23
   reproduction_number_model.dart54.55%100%100%54.55%17–21
   statistic_model.dart57.14%100%100%57.14%21–26
features/statistic/lib/src/data/repositories
   covid_test_repository_impl.dart100%100%100%100%
   statistic_repository_impl.dart29.41%100%100%29.41%19–21, 38–40, 51, 54, 56–59, 64, 66, 68, 72, 75, 77–80, 85, 87, 89
features/statistic/lib/src/domain/entities
   case.dart100%100%100%100%
   covid_test.dart96.88%100%100%96.88%16
   percentage.dart33.33%100%100%33.33%12–13
   recap.dart33.33%100%100%33.33%12–13
   reproduction_number.dart33.33%100%100%33.33%13–14
   statistic.dart75%100%100%75%12
features/statistic/lib/src/domain/enums
   case_type.dart0%100%100%0%12–14, 17–21, 24–28, 31, 36–40, 42–47, 49–54, 56–61, 63, 66–70, 73–77, 80–81, 83, 85, 87, 89, 91, 93, 95
   data_time_frame.dart0%100%100%0%10–12, 15–19, 22–25
features/statistic/lib/src/domain/exception
   covid_test_exception.dart100%100%100%100%
   statistic_exception.dart100%100%100%100%
features/statistic/lib/src/domain/failures
   covid_test_failure.dart100%100%100%100%
   statistic_failure.dart100%100%100%100%
features/statistic/lib/src/domain/usecases
   get_all_national_statistic.dart0%100%100%0%11, 13–14, 9
   get_all_statistic.dart0%100%100%0%10, 12–13, 9
   get_latest_covid_test.dart100%100%100%100%
   get_latest_national_statistic.dart100%100%100%100%
   get_latest_statistic.dart100%100%100%100%
features/statistic/lib/src/presentation/cubits/all_national_statistic_filter
   all_national_statistic_filter_cubit.dart0%100%100%0%10–11, 15–16, 18–19, 23–25, 27, 31–34, 39, 41, 43, 45–47, 54, 56–57
   all_national_statistic_filter_state.dart0%100%100%0%11–15, 17, 24–25, 27–30, 32, 38, 43, 5
features/statistic/lib/src/presentation/cubits/all_national_statistics
   all_national_statistics_cubit.dart0%100%100%0%12, 14–21, 23, 33, 35–36, 38–40, 47, 49–53, 55
features/statistic/lib/src/presentation/cubits/all_statistic_filter
   all_statistic_filter_cubit.dart0%100%100%0%10, 14–15, 17–18, 22–24, 26, 30–33, 38, 40–41, 43–45, 52, 54–55
   all_statistic_filter_state.dart0%100%100%0%11–15, 17, 24–25, 27–30, 32, 37, 41, 5
features/statistic/lib/src/presentation/cubits/all_statistics
   all_statistics_cubit.dart0%100%100%0%10, 14–20
features/statistic/lib/src/presentation/cubits/latest_covid_test
   latest_covid_test_cubit.dart100%100%100%100%
features/statistic/lib/src/presentation/cubits/latest_national_statistic
   latest_national_statistic_cubit.dart100%100%100%100%
features/statistic/lib/src/presentation/cubits/latest_statistic
   latest_statistic_cubit.dart100%100%100%100%
features/statistic/lib/src/presentation/cubits/line_chart_local_statistic_filter
   line_chart_local_statistic_filter_cubit.dart0%100%100%0%106–109, 11, 113–117, 13–14, 16, 20–23, 26, 29–32, 34, 40–43, 46, 49–53, 56, 63–66, 69, 72–76, 78, 85–88, 93–97
   line_chart_local_statistic_filter_state.dart0%100%100%0%21–28, 31, 39–42, 44–45, 5
features/statistic/lib/src/presentation/cubits/line_chart_national_statistic_filter
   line_chart_national_statistic_filter_cubit.dart0%100%100%0%106–109, 11, 113–117, 13–14, 16, 20–23, 26, 29–32, 34, 40–43, 46, 49–53, 56, 63–66, 69, 72–76, 78, 85–88, 93–97
   line_chart_national_statistic_filter_state.dart0%100%100%0%21–28, 31, 39–42, 44–45, 5

@ryanaidilp ryanaidilp merged commit a2ad698 into feature/statistics Feb 21, 2024
5 checks passed
@ryanaidilp ryanaidilp deleted the feature/update-barrel-file branch February 21, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

refactor(code): use barrel file import
1 participant