Coverage report: 80%

Files Functions Classes

coverage.py v7.13.5, created at 2026-03-24 09:47 +0100

File function   statements missing excluded   coverage
src / eclipse / care / __init__.py main   58 49 0   16%
src / eclipse / care / __init__.py (no function)   14 1 0   93%
src / eclipse / care / copyright / __init__.py (no function)   3 0 0   100%
src / eclipse / care / copyright / copyright_headers.py _load_known_extensions   11 8 0   27%
src / eclipse / care / copyright / copyright_headers.py _detect_copyright   7 3 0   57%
src / eclipse / care / copyright / copyright_headers.py _get_copyright_info   41 1 0   98%
src / eclipse / care / copyright / copyright_headers.py gh_analyze   15 1 0   93%
src / eclipse / care / copyright / copyright_headers.py gl_analyze   15 1 0   93%
src / eclipse / care / copyright / copyright_headers.py analyse_project   16 4 0   75%
src / eclipse / care / copyright / copyright_headers.py (no function)   20 0 0   100%
src / eclipse / care / legal / __init__.py (no function)   3 0 0   100%
src / eclipse / care / legal / recommended_files.py find_file_in_list   8 1 0   88%
src / eclipse / care / legal / recommended_files.py gh_analyse   19 3 0   84%
src / eclipse / care / legal / recommended_files.py gl_analyse   21 3 0   86%
src / eclipse / care / legal / recommended_files.py analyse_project   17 2 0   88%
src / eclipse / care / legal / recommended_files.py (no function)   22 0 0   100%
src / eclipse / care / utils / __init__.py (no function)   3 0 0   100%
src / eclipse / care / utils / cli_utils.py print_debug   1 0 0   100%
src / eclipse / care / utils / cli_utils.py print_error   1 0 0   100%
src / eclipse / care / utils / cli_utils.py print_warning   1 0 0   100%
src / eclipse / care / utils / cli_utils.py (no function)   5 0 0   100%
src / eclipse / care / utils / eclipse.py Eclipse.__init__   2 1 0   50%
src / eclipse / care / utils / eclipse.py Eclipse.get_project_api   16 6 0   62%
src / eclipse / care / utils / eclipse.py (no function)   5 0 0   100%
src / eclipse / care / utils / git_provider.py GitProviderEMO.__init__   1 0 0   100%
src / eclipse / care / utils / git_provider.py GitProviderEMO.get_repo   1 1 0   0%
src / eclipse / care / utils / git_provider.py GitProviderEMO.get_content_root   1 1 0   0%
src / eclipse / care / utils / git_provider.py GitProviderEMO.get_content_recursive   1 1 0   0%
src / eclipse / care / utils / git_provider.py GitProviderEMO.get_file   1 1 0   0%
src / eclipse / care / utils / git_provider.py (no function)   14 1 0   93%
src / eclipse / care / utils / github.py GitHubEmo.__init__   11 1 0   91%
src / eclipse / care / utils / github.py GitHubEmo.get_gh   1 1 0   0%
src / eclipse / care / utils / github.py GitHubEmo.get_repo   12 6 0   50%
src / eclipse / care / utils / github.py GitHubEmo.get_repos   8 0 0   100%
src / eclipse / care / utils / github.py GitHubEmo.get_content_root   10 3 0   70%
src / eclipse / care / utils / github.py GitHubEmo.get_content_recursive   17 4 0   76%
src / eclipse / care / utils / github.py GitHubEmo.get_file   18 6 0   67%
src / eclipse / care / utils / github.py (no function)   20 0 0   100%
src / eclipse / care / utils / gitlab.py GitLabEmo.__init__   11 0 0   100%
src / eclipse / care / utils / gitlab.py GitLabEmo.get_gl   1 0 0   100%
src / eclipse / care / utils / gitlab.py GitLabEmo.get_repo   15 9 0   40%
src / eclipse / care / utils / gitlab.py GitLabEmo.get_repos   14 5 0   64%
src / eclipse / care / utils / gitlab.py GitLabEmo.get_content_root   7 0 0   100%
src / eclipse / care / utils / gitlab.py GitLabEmo.get_content_recursive   30 22 0   27%
src / eclipse / care / utils / gitlab.py GitLabEmo.get_readme   2 0 0   100%
src / eclipse / care / utils / gitlab.py GitLabEmo.get_licence   2 0 0   100%
src / eclipse / care / utils / gitlab.py GitLabEmo.get_file   32 22 0   31%
src / eclipse / care / utils / gitlab.py (no function)   23 0 0   100%
tests / eclipse / care / copyright / test_copyright_headers.py setup_credentials   14 3 0   79%
tests / eclipse / care / copyright / test_copyright_headers.py test_load_known_extensions   2 0 0   100%
tests / eclipse / care / copyright / test_copyright_headers.py test_detect_copyright   6 0 0   100%
tests / eclipse / care / copyright / test_copyright_headers.py test_get_copyright_info   5 0 0   100%
tests / eclipse / care / copyright / test_copyright_headers.py test_gl_analyze   4 0 0   100%
tests / eclipse / care / copyright / test_copyright_headers.py test_gl_analyze_nok   3 0 0   100%
tests / eclipse / care / copyright / test_copyright_headers.py test_gh_analyze   4 0 0   100%
tests / eclipse / care / copyright / test_copyright_headers.py test_gh_analyze_nok   3 0 0   100%
tests / eclipse / care / copyright / test_copyright_headers.py test_analyse_project   4 0 0   100%
tests / eclipse / care / copyright / test_copyright_headers.py test_analyse_project_nok   3 0 0   100%
tests / eclipse / care / copyright / test_copyright_headers.py (no function)   20 0 0   100%
tests / eclipse / care / legal / test_recommended_files.py setup_credentials   14 3 0   79%
tests / eclipse / care / legal / test_recommended_files.py test_find_file_in_list   8 0 0   100%
tests / eclipse / care / legal / test_recommended_files.py test_gh_analyse   12 0 0   100%
tests / eclipse / care / legal / test_recommended_files.py test_gh_analyse_nok   4 0 0   100%
tests / eclipse / care / legal / test_recommended_files.py test_gl_analyse   12 0 0   100%
tests / eclipse / care / legal / test_recommended_files.py test_gl_analyse_nok   4 0 0   100%
tests / eclipse / care / legal / test_recommended_files.py test_analyse_project   8 0 0   100%
tests / eclipse / care / legal / test_recommended_files.py test_analyse_project_nok   4 0 0   100%
tests / eclipse / care / legal / test_recommended_files.py (no function)   16 0 0   100%
tests / eclipse / care / test_care.py test_args_help   6 0 0   100%
tests / eclipse / care / test_care.py test_args_version   7 0 0   100%
tests / eclipse / care / test_care.py test_args_no_project   7 0 0   100%
tests / eclipse / care / test_care.py (no function)   8 0 0   100%
tests / eclipse / care / utils / test_cli_utils.py test_print_debug   5 0 0   100%
tests / eclipse / care / utils / test_cli_utils.py test_print_error   5 0 0   100%
tests / eclipse / care / utils / test_cli_utils.py test_print_warning   5 0 0   100%
tests / eclipse / care / utils / test_cli_utils.py (no function)   6 0 0   100%
tests / eclipse / care / utils / test_eclipse.py test_get_project_api   4 0 0   100%
tests / eclipse / care / utils / test_eclipse.py test_get_project_api_nok   3 0 0   100%
tests / eclipse / care / utils / test_eclipse.py (no function)   5 0 0   100%
tests / eclipse / care / utils / test_github.py setup_credentials   14 3 0   79%
tests / eclipse / care / utils / test_github.py test_gh_init_env_nok   5 0 0   100%
tests / eclipse / care / utils / test_github.py test_gh_init_ok   8 0 0   100%
tests / eclipse / care / utils / test_github.py test_gh_contents_root   5 0 0   100%
tests / eclipse / care / utils / test_github.py test_gh_contents_recursive   5 0 0   100%
tests / eclipse / care / utils / test_github.py test_gh_get_file   5 0 0   100%
tests / eclipse / care / utils / test_github.py (no function)   14 0 0   100%
tests / eclipse / care / utils / test_gitlab.py setup_credentials   14 3 0   79%
tests / eclipse / care / utils / test_gitlab.py test_gl_init_auth_nok   7 0 0   100%
tests / eclipse / care / utils / test_gitlab.py test_gl_init_auth_ok   8 0 0   100%
tests / eclipse / care / utils / test_gitlab.py test_gl_repos   4 0 0   100%
tests / eclipse / care / utils / test_gitlab.py test_gl_contents_root   6 0 0   100%
tests / eclipse / care / utils / test_gitlab.py test_gl_contents_recursive   6 0 0   100%
tests / eclipse / care / utils / test_gitlab.py test_gl_get_file   4 0 0   100%
tests / eclipse / care / utils / test_gitlab.py (no function)   15 0 0   100%
Total     908 180 0   80%

No items found using the specified filter.