Code quality measurement for the repository fabric8-analytics-worker
Source file
Line count
Linter
Docstyle
setup.py
40
✓
✓
f8a_worker/graphutils.py
382
✓
✓
f8a_worker/models.py
413
✓
✓
f8a_worker/data_normalizer/java.py
101
✓
✓
f8a_worker/data_normalizer/__init__.py
90
✓
✓
f8a_worker/data_normalizer/python.py
120
✓
✓
f8a_worker/data_normalizer/csharp.py
97
✓
✓
f8a_worker/data_normalizer/go.py
141
✓
✓
f8a_worker/data_normalizer/abstract.py
108
✓
✓
f8a_worker/data_normalizer/javascript.py
292
✓
✓
f8a_worker/__init__.py
4
✓
✓
f8a_worker/start.py
30
✓
✓
f8a_worker/celery_settings.py
158
✓
✓
f8a_worker/errors.py
28
✓
✓
f8a_worker/manifests.py
119
✓
✓
f8a_worker/object_cache.py
319
✓
✓
f8a_worker/enums.py
21
✓
✓
f8a_worker/workers/graph_importer.py
70
✓
✓
f8a_worker/workers/golangcvepredictor.py
123
✓
✓
f8a_worker/workers/schemas/digests.py
48
✓
✓
f8a_worker/workers/schemas/__init__.py
1
✓
✓
f8a_worker/workers/schemas/dependency_snapshot.py
81
✓
✓
f8a_worker/workers/schemas/metadata.py
185
✓
✓
f8a_worker/workers/schemas/crypto_algorithms.py
82
✓
✓
f8a_worker/workers/schemas/libraries_io.py
86
✓
✓
f8a_worker/workers/schemas/github_details.py
130
✓
✓
f8a_worker/workers/schemas/source_licenses.py
188
✓
✓
f8a_worker/workers/user_notifier.py
73
✓
✓
f8a_worker/workers/repo_dependency_finder.py
195
✓
✓
f8a_worker/workers/dependency_parser.py
363
✓
✓
f8a_worker/workers/bookkeeper.py
81
✓
✓
f8a_worker/workers/__init__.py
46
✓
✓
f8a_worker/workers/git_operations.py
162
✓
✓
f8a_worker/workers/report_generation.py
128
✓
✓
f8a_worker/workers/unknown_dep_fetcher.py
67
✓
✓
f8a_worker/workers/dependency_snapshot.py
114
✓
✓
f8a_worker/workers/init_package_flow.py
167
✓
✓
f8a_worker/workers/license.py
125
✓
✓
f8a_worker/workers/finalize.py
52
✓
✓
f8a_worker/workers/libraries_io.py
60
✓
✓
f8a_worker/workers/graphaggregator.py
120
✓
✓
f8a_worker/workers/repository_description.py
87
✓
✓
f8a_worker/workers/init_analysis_flow.py
169
✓
✓
f8a_worker/workers/githuber.py
185
✓
✓
f8a_worker/workers/digester.py
83
✓
✓
f8a_worker/workers/result_collector.py
79
✓
✓
f8a_worker/workers/mercator.py
273
✓
✓
f8a_worker/utils.py
598
✓
✓
f8a_worker/defaults.py
185
✓
✓
f8a_worker/dispatcher/foreach.py
126
✓
✓
f8a_worker/dispatcher/selective.py
42
✓
✓
f8a_worker/dispatcher/__init__.py
1
✓
✓
f8a_worker/dispatcher/predicates.py
155
✓
✓
f8a_worker/dispatcher/trace.py
38
✓
✓
f8a_worker/storages/__init__.py
40
✓
✓
f8a_worker/storages/s3_readme.py
30
✓
✓
f8a_worker/storages/postgres_base.py
179
✓
✓
f8a_worker/storages/s3_data.py
41
✓
✓
f8a_worker/storages/s3_userintent.py
31
✓
✓
f8a_worker/storages/postgres.py
280
✓
✓
f8a_worker/storages/s3_crowd_source_tags.py
24
✓
✓
f8a_worker/storages/s3.py
256
✓
✓
f8a_worker/storages/s3_gh_manifests.py
32
✓
✓
f8a_worker/storages/s3_userprofilestore.py
15
✓
✓
f8a_worker/storages/s3_temp_artifacts.py
51
✓
✓
f8a_worker/storages/s3_package_data.py
38
✓
✓
f8a_worker/storages/s3_manifests.py
26
✓
✓
f8a_worker/storages/s3_artifacts.py
11
✓
✓
f8a_worker/storages/s3_description_repository.py
27
✓
✓
f8a_worker/storages/s3_gocveartifact.py
52
✓
✓
f8a_worker/storages/package_postgres.py
218
✓
✓
f8a_worker/storages/s3_manual_tagging.py
34
✓
✓
f8a_worker/storages/s3_data_base.py
95
✓
✓
f8a_worker/storages/s3_mavenindex.py
69
✓
✓
f8a_worker/setup_celery.py
72
✓
✓
f8a_worker/schemas.py
428
✓
✓
f8a_worker/process.py
519
✓
✓
f8a_worker/solver.py
954
✓
✓
f8a_worker/base.py
164
✓
✓
dead_code_whitelist.py
22
✓
✓
hack/queue_conf.py
87
✓
✓
alembic/versions/43360d9467b9_drop_bigquery_results_table.py
72
✓
✓
alembic/versions/b19a6deb869d_stack_request_coltype_change.py
39
✓
✓
alembic/versions/a46a17bfd29b_batches_versions_relation.py
38
✓
✓
alembic/versions/424427c5f988_relative_usage.py
30
✓
✓
alembic/versions/49c27b67936f_permissions.py
40
✓
✓
alembic/versions/d62464ca17ae_introduce_error_flag_for_worker_results.py
31
✓
✓
alembic/versions/ea55c632ae8d_create_auth_data.py
52
✓
✓
alembic/versions/5cf8c7dac1b6_remove_active_flag.py
32
✓
✓
alembic/versions/51cb05927271_downstream_map.py
33
✓
✓
alembic/versions/f5c853b83d41_add_api_requests_table.py
42
✓
✓
alembic/versions/22a1cd66a9c6_batches_reviews.py
45
✓
✓
alembic/versions/e2762a61d34c_upstream_url_can_be_null.py
46
✓
✓
alembic/versions/063c0fcb3fa3_add_index_on_user_email.py
31
✓
✓
alembic/versions/76c5fd72744e_gh_usage_stats.py
43
✓
✓
alembic/versions/9d605c7725d8_add_app_stack_tables.py
41
✓
✓
alembic/versions/33b719488061_add_col_dep_snapshot.py
34
✓
✓
alembic/versions/b4fbc8e04c81_gh_usage_with_versions.py
42
✓
✓
alembic/versions/a60f15a395e2_do_not_index_ecosystem_url.py
29
✓
✓
alembic/versions/02b91e918b43_migrate_to_dynamic_control_flow.py
34
✓
✓
alembic/versions/8302d3bb5f68_stackreq_team_result.py
33
✓
✓
alembic/versions/c3ea37a6ebc5_add_redhat_maven_ecosystem.py
34
✓
✓
alembic/versions/967036f90ba1_gemini_model_py.py
35
✓
✓
alembic/versions/3655e38b92bc_increase_pkg_name_length.py
40
✓
✓
alembic/versions/da53445aabad_add_recommendation_feedback_py.py
44
✓
✓
alembic/versions/2bd5f6d0c8b0_introduce_stackreq_origin_flag.py
31
✓
✓
alembic/versions/f8bb0efac483_nuget_ecosystem.py
67
✓
✓
alembic/versions/750621a9cd89_drop_server_tables.py
81
✓
✓
alembic/versions/7c643a1823db_index_on_external_request_id.py
30
✓
✓
alembic/versions/cd05b43f27e5_add_synced2graph_boolean_column_to_.py
32
✓
✓
alembic/versions/21b3add12b10_initial_ref_stack_support.py
38
✓
✓
alembic/versions/727aeeb88b2f_add_started_at_and_ended_at_to_.py
36
✓
✓
alembic/versions/49fb7de6227f_removal_of_anitya.py
34
✓
✓
alembic/versions/47f4ce1e8d75_stack_analyses_request.py
37
✓
✓
alembic/versions/a0433904c63b_analysis_requests.py
42
✓
✓
alembic/versions/6e7ff4c3177e_remove_batches.py
44
✓
✓
alembic/versions/ddb09a7d6633_delete_unnecessary_db_tables.py
72
✓
✓
alembic/versions/094ea67a2baf_add_index_for_synced2graph_column.py
29
✓
✓
alembic/versions/01404498814b_create_epv_and_workerresult_indexes.py
35
✓
✓
alembic/versions/133cd5484609_add_es_marker.py
34
✓
✓
alembic/versions/813f9a704eb7_stack_request_coltypechange.py
37
✓
✓
alembic/versions/245b57b274c2_introduce_upstream_monitoring_flows.py
74
✓
✓
alembic/versions/2ff043a5af5b_make_ecosystem_name_unique.py
29
✓
✓
alembic/versions/097bb617eade_go_backend_for_golang.py
37
✓
✓
alembic/versions/0ff7fe2828a5_initial_revision.py
23
✓
✓
alembic/versions/e48c7b4235aa_drop_analysisrequest_table.py
48
✓
✓
alembic/versions/be06b06767de_add_indexes_on_foreign_keys_in_.py
32
✓
✓
alembic/versions/20cf59abbda8_add_external_reqeust_id_to_workerresult.py
31
✓
✓
alembic/versions/4bffa8c11eb8_add_indexes_to_start_and_end_date_for_.py
35
✓
✓
alembic/versions/a31c98c74ea0_add_e_p_v.py
104
✓
✓
alembic/versions/79d88d57baa7_remove_analyses_column.py
32
✓
✓
alembic/versions/c23ff3124920_fix_ecosystem_data.py
38
✓
✓
alembic/versions/3eb32f202f93_removing_starttime_and_endtime.py
35
✓
✓
alembic/versions/fc7ea2a7e386_analytics_tables.py
76
✓
✓
alembic/versions/3fd95b3a69f5_bye_reviews.py
40
✓
✓
alembic/versions/963d3d929b19_analyses.py
51
✓
✓
alembic/versions/60b296cac700_add_similar_components_table.py
36
✓
✓
alembic/versions/35180d0f1ced_fix_pypi_url.py
32
✓
✓
alembic/env.py
87
✓
✓
tests/data/schemas/generate.py
30
✓
✓
tests/data/license/license.py
28
✓
Ignored
tests/test_process.py
219
✓
✓
tests/data_normalizer/test_java.py
54
✓
✓
tests/data_normalizer/__init__.py
1
✓
✓
tests/data_normalizer/test_javascript.py
91
✓
✓
tests/data_normalizer/test_abstract.py
78
✓
✓
tests/data_normalizer/test_python.py
48
✓
✓
tests/test_solver.py
344
✓
✓
tests/__init__.py
1
✓
✓
tests/test_schemas.py
144
✓
✓
tests/conftest.py
95
✓
✓
tests/workers/test_githuber.py
42
✓
✓
tests/workers/test_recurse.py
17
✓
✓
tests/workers/test_mercator.py
143
✓
✓
tests/workers/__init__.py
1
✓
✓
tests/workers/test_repository_description.py
51
✓
✓
tests/workers/test_libraries_io.py
78
✓
✓
tests/workers/test_digester.py
47
✓
✓
tests/workers/test_git_operations.py
78
✓
✓
tests/workers/test_licensecheck.py
57
✓
✓
tests/workers/test_init_analysis_flow.py
24
✓
✓
tests/workers/test_gocvecollector.py
70
✓
✓
tests/workers/test_init_package_flow.py
23
✓
✓
tests/workers/test_github_dependency_tree.py
110
✓
✓
tests/test_data_normalizer.py
118
✓
✓
tests/storages/__init__.py
1
✓
✓
tests/storages/test_postgres.py
112
✓
✓
tests/storages/test_s3_gocveartifact.py
11
✓
✓
tests/test_utils.py
263
✓
✓
tools/check_python_version.py
71
✓
✓
Author: Pavel Tisnovsky <
ptisnovs@redhat.com
>
Generated on: 2020-04-28 12:44:30