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

Increase code coverage #1323

Open
Jesus89 opened this issue Dec 5, 2019 · 1 comment
Open

Increase code coverage #1323

Jesus89 opened this issue Dec 5, 2019 · 1 comment
Assignees
Labels

Comments

@Jesus89
Copy link
Member

Jesus89 commented Dec 5, 2019

Module statements missing excluded coverage
Total 4097 1333 0 67%
cartoframes/init.py 7 0 0 100%
cartoframes/_version.py 1 0 0 100%
cartoframes/analysis/init.py 0 0 0 100%
cartoframes/analysis/grid.py 27 21 0 22%
cartoframes/auth/init.py 3 0 0 100%
cartoframes/auth/credentials.py 79 4 0 95%
cartoframes/auth/defaults.py 22 16 0 27%
cartoframes/data/init.py 0 0 0 100%
cartoframes/data/clients/init.py 3 0 0 100%
cartoframes/data/clients/auth_api_client.py 19 4 0 79%
cartoframes/data/clients/bigquery_client.py 131 56 0 57%
cartoframes/data/clients/data_obs_client.py 125 108 0 14%
cartoframes/data/clients/sql_client.py 94 15 0 84%
cartoframes/data/observatory/init.py 12 0 0 100%
cartoframes/data/observatory/catalog/init.py 0 0 0 100%
cartoframes/data/observatory/catalog/catalog.py 43 4 0 91%
cartoframes/data/observatory/catalog/category.py 13 0 0 100%
cartoframes/data/observatory/catalog/country.py 14 0 0 100%
cartoframes/data/observatory/catalog/dataset.py 83 18 0 78%
cartoframes/data/observatory/catalog/entity.py 80 8 0 90%
cartoframes/data/observatory/catalog/geography.py 74 6 0 92%
cartoframes/data/observatory/catalog/provider.py 10 0 0 100%
cartoframes/data/observatory/catalog/repository/init.py 0 0 0 100%
cartoframes/data/observatory/catalog/repository/category_repo.py 19 0 0 100%
cartoframes/data/observatory/catalog/repository/constants.py 7 0 0 100%
cartoframes/data/observatory/catalog/repository/country_repo.py 17 0 0 100%
cartoframes/data/observatory/catalog/repository/dataset_repo.py 28 3 0 89%
cartoframes/data/observatory/catalog/repository/entity_repo.py 76 5 0 93%
cartoframes/data/observatory/catalog/repository/geography_repo.py 31 2 0 94%
cartoframes/data/observatory/catalog/repository/provider_repo.py 15 0 0 100%
cartoframes/data/observatory/catalog/repository/repo_client.py 72 30 0 58%
cartoframes/data/observatory/catalog/repository/variable_group_repo.py 18 0 0 100%
cartoframes/data/observatory/catalog/repository/variable_repo.py 18 0 0 100%
cartoframes/data/observatory/catalog/subscription_info.py 29 4 0 86%
cartoframes/data/observatory/catalog/subscriptions.py 30 16 0 47%
cartoframes/data/observatory/catalog/summary.py 82 50 0 39%
cartoframes/data/observatory/catalog/utils.py 78 66 0 15%
cartoframes/data/observatory/catalog/variable.py 63 14 0 78%
cartoframes/data/observatory/catalog/variable_group.py 14 0 0 100%
cartoframes/data/observatory/enrichment/init.py 0 0 0 100%
cartoframes/data/observatory/enrichment/enrichment.py 18 12 0 33%
cartoframes/data/observatory/enrichment/enrichment_service.py 213 10 0 95%
cartoframes/data/services/init.py 3 0 0 100%
cartoframes/data/services/geocoding.py 135 119 0 12%
cartoframes/data/services/isolines.py 65 49 0 25%
cartoframes/data/services/service.py 35 19 0 46%
cartoframes/data/services/utils/init.py 4 0 0 100%
cartoframes/data/services/utils/geocoding_constants.py 10 0 0 100%
cartoframes/data/services/utils/geocoding_utils.py 109 86 0 21%
cartoframes/data/services/utils/table_geocoding_lock.py 13 8 0 38%
cartoframes/exceptions.py 12 0 0 100%
cartoframes/io/init.py 0 0 0 100%
cartoframes/io/carto.py 115 53 0 54%
cartoframes/io/dataset_info.py 36 22 0 39%
cartoframes/io/managers/init.py 0 0 0 100%
cartoframes/io/managers/context_manager.py 204 92 0 55%
cartoframes/io/managers/source_manager.py 41 25 0 39%
cartoframes/utils/init.py 3 0 0 100%
cartoframes/utils/columns.py 147 39 0 73%
cartoframes/utils/geom_utils.py 106 24 0 77%
cartoframes/utils/logger.py 17 8 0 53%
cartoframes/utils/utils.py 248 55 0 78%
cartoframes/viz/init.py 35 0 0 100%
cartoframes/viz/basemaps.py 4 0 0 100%
cartoframes/viz/constants.py 25 0 0 100%
cartoframes/viz/defaults.py 2 0 0 100%
cartoframes/viz/html/init.py 3 0 0 100%
cartoframes/viz/html/html_layout.py 32 24 0 25%
cartoframes/viz/html/html_map.py 54 12 0 78%
cartoframes/viz/html/utils.py 15 6 0 60%
cartoframes/viz/kuviz.py 80 12 0 85%
cartoframes/viz/layer.py 107 28 0 74%
cartoframes/viz/layout.py 43 4 0 91%
cartoframes/viz/legend.py 39 8 0 79%
cartoframes/viz/legend_list.py 22 11 0 50%
cartoframes/viz/legends/init.py 9 0 0 100%
cartoframes/viz/legends/basic_legend.py 3 1 0 67%
cartoframes/viz/legends/color_bins_legend.py 3 1 0 67%
cartoframes/viz/legends/color_category_legend.py 3 1 0 67%
cartoframes/viz/legends/color_continuous_legend.py 3 1 0 67%
cartoframes/viz/legends/default_legend.py 3 1 0 67%
cartoframes/viz/legends/size_bins_legend.py 3 1 0 67%
cartoframes/viz/legends/size_category_legend.py 3 1 0 67%
cartoframes/viz/legends/size_continuous_legend.py 3 1 0 67%
cartoframes/viz/map.py 142 20 0 86%
cartoframes/viz/popup.py 26 0 0 100%
cartoframes/viz/popup_list.py 45 5 0 89%
cartoframes/viz/popups/init.py 3 0 0 100%
cartoframes/viz/popups/default_popup_element.py 2 1 0 50%
cartoframes/viz/popups/popup_element.py 2 0 0 100%
cartoframes/viz/source.py 71 11 0 85%
cartoframes/viz/style.py 71 21 0 70%
cartoframes/viz/styles/init.py 11 0 0 100%
cartoframes/viz/styles/animation_style.py 10 4 0 60%
cartoframes/viz/styles/basic_style.py 8 3 0 62%
cartoframes/viz/styles/cluster_size_style.py 31 19 0 39%
cartoframes/viz/styles/color_bins_style.py 17 11 0 35%
cartoframes/viz/styles/color_category_style.py 11 5 0 55%
cartoframes/viz/styles/color_continuous_style.py 14 8 0 43%
cartoframes/viz/styles/isolines_style.py 4 1 0 75%
cartoframes/viz/styles/size_bins_style.py 15 9 0 40%
cartoframes/viz/styles/size_category_style.py 11 5 0 55%
cartoframes/viz/styles/size_continuous_style.py 13 7 0 46%
cartoframes/viz/styles/utils.py 11 8 0 27%
cartoframes/viz/themes.py 3 0 0 100%
cartoframes/viz/widget.py 34 3 0 91%
cartoframes/viz/widget_list.py 32 7 0 78%
cartoframes/viz/widgets/init.py 8 0 0 100%
cartoframes/viz/widgets/animation_widget.py 3 0 0 100%
cartoframes/viz/widgets/basic_widget.py 3 0 0 100%
cartoframes/viz/widgets/category_widget.py 3 0 0 100%
cartoframes/viz/widgets/default_widget.py 3 1 0 67%
cartoframes/viz/widgets/formula_widget.py 19 0 0 100%
cartoframes/viz/widgets/histogram_widget.py 3 0 0 100%
cartoframes/viz/widgets/time_series_widget.py 3 0 0 100%
Total 4097 1333 0 67%
@cmongut cmongut added this to the [1.0rc1] Stabilization milestone Dec 12, 2019
@cmongut cmongut added the triage label Dec 12, 2019
@Jesus89 Jesus89 self-assigned this Dec 16, 2019
@Jesus89 Jesus89 changed the title Add unit tests for DS Increase code coverage Jan 13, 2020
@Jesus89 Jesus89 added the tests label Jan 13, 2020
@Jesus89 Jesus89 removed the triage label Jun 17, 2020
@Jesus89
Copy link
Member Author

Jesus89 commented Jul 20, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants