fedspendingtransparency/usaspending-api

View on GitHub
Branch: qat(View all)
NameLines of codeMaintainabilityTest coverage
usaspending_api/search/__init__.py0
A
0 mins
F
0%
usaspending_api/search/delta_models/__init__.py30
A
0 mins
A
100%
usaspending_api/search/delta_models/award_search.py631
C
1 day
A
100%
usaspending_api/search/delta_models/subaward_search.py667
A
0 mins
A
100%
usaspending_api/search/elasticsearch/__init__.py0
A
0 mins
F
0%
usaspending_api/search/filters/__init__.py0
A
0 mins
F
0%
usaspending_api/search/filters/elasticsearch/HierarchicalFilter.py84
A
0 mins
A
95%
usaspending_api/search/filters/elasticsearch/__init__.py0
A
0 mins
F
0%
usaspending_api/search/filters/elasticsearch/filter.py27
A
0 mins
A
90%
usaspending_api/search/filters/elasticsearch/naics.py47
A
0 mins
A
90%
usaspending_api/search/filters/elasticsearch/psc.py26
A
0 mins
A
100%
usaspending_api/search/filters/elasticsearch/tas.py76
A
0 mins
A
97%
usaspending_api/search/filters/mixins/__init__.py0
A
0 mins
F
0%
usaspending_api/search/filters/mixins/psc.py72
A
0 mins
A
97%
usaspending_api/search/filters/postgres/HierarchicalFilter.py72
A
0 mins
A
95%
usaspending_api/search/filters/postgres/__init__.py0
A
0 mins
F
0%
usaspending_api/search/filters/postgres/defc.py61
A
0 mins
A
100%
usaspending_api/search/filters/postgres/psc.py36
A
0 mins
A
96%
usaspending_api/search/filters/postgres/tas.py85
A
0 mins
A
94%
usaspending_api/search/filters/time_period/__init__.py4
A
0 mins
A
100%
usaspending_api/search/filters/time_period/decorators.py68
A
0 mins
A
97%
usaspending_api/search/filters/time_period/query_types.py121
A
0 mins
A
98%
usaspending_api/search/filters/time_period/time_period.py61
A
0 mins
C
72%
usaspending_api/search/helpers/__init__.py0
A
0 mins
F
0%
usaspending_api/search/helpers/matview_filter_helpers.py22
A
0 mins
C
75%
usaspending_api/search/helpers/spending_by_category_helpers.py58
A
0 mins
F
55%
usaspending_api/search/models/__init__.py16
A
0 mins
A
100%
usaspending_api/search/models/award_search.py225
A
0 mins
A
100%
usaspending_api/search/models/mv_agency_autocomplete.py19
A
0 mins
A
100%
usaspending_api/search/models/mv_agency_office_autocomplete.py33
A
0 mins
A
100%
usaspending_api/search/models/subaward_search.py447
A
0 mins
A
100%
usaspending_api/search/models/summary_state_view.py17
A
0 mins
A
100%
usaspending_api/search/models/tas_autocomplete_matview.py18
A
0 mins
A
100%
usaspending_api/search/models/transaction_search.py471
C
7 hrs
A
100%
usaspending_api/search/v2/__init__.py0
A
0 mins
F
0%
usaspending_api/search/v2/elasticsearch_helper.py194
A
0 mins
C
70%
usaspending_api/search/v2/es_sanitization.py46
A
0 mins
A
95%
usaspending_api/search/v2/urls.py21
A
0 mins
A
100%
usaspending_api/search/v2/urls_spending_by_category.py41
A
0 mins
A
100%
usaspending_api/search/v2/views/__init__.py0
A
0 mins
F
0%
usaspending_api/search/v2/views/new_awards_over_time.py158
A
0 mins
A
95%
usaspending_api/search/v2/views/search_elasticsearch.py311
A
3 hrs
A
93%
usaspending_api/search/v2/views/spending_by_award.py469
D
1 day
C
75%
usaspending_api/search/v2/views/spending_by_award_count.py139
A
0 mins
A
100%
usaspending_api/search/v2/views/spending_by_category.py99
A
0 mins
A
92%
usaspending_api/search/v2/views/spending_by_category_views/__init__.py0
A
0 mins
F
0%
usaspending_api/search/v2/views/spending_by_category_views/spending_by_agency_types.py135
A
1 hr
A
100%
usaspending_api/search/v2/views/spending_by_category_views/spending_by_category.py173
A
0 mins
A
92%
usaspending_api/search/v2/views/spending_by_category_views/spending_by_federal_account.py39
A
0 mins
A
95%
usaspending_api/search/v2/views/spending_by_category_views/spending_by_industry_codes.py151
A
0 mins
B
86%