setup.py
    F 10:0 _get_requirements - A (2)
    F 15:0 _get_long_description - A (2)
tests/data_store/test_aws.py
    M 259:4 TestAmazonEMR.test_terminate_jobs - B (7)
    M 157:4 TestAmazonS3.test_read_yaml_file - B (6)
    M 123:4 TestAmazonS3.test_s3_delete_objects - A (5)
    M 116:4 TestAmazonS3.test_s3_delete_object - A (4)
    M 165:4 TestAmazonS3.test_read_pickle_file - A (4)
    M 208:4 TestAmazonEMR.test_run_flow - A (4)
    M 232:4 TestAmazonEMR.test_terminate_job - A (4)
    C 49:0 TestAmazonS3 - A (3)
    M 77:4 TestAmazonS3.test_upload_file - A (3)
    M 84:4 TestAmazonS3.test_write_json_file - A (3)
    M 90:4 TestAmazonS3.test_write_pickle_file - A (3)
    M 96:4 TestAmazonS3.test_read_generic_file - A (3)
    M 101:4 TestAmazonS3.test_list_bucket_objects - A (3)
    M 106:4 TestAmazonS3.test_list_bucket_objects_filter - A (3)
    M 111:4 TestAmazonS3.test_list_bucket_keys - A (3)
    M 132:4 TestAmazonS3.test_s3_clean_bucket - A (3)
    M 137:4 TestAmazonS3.test_load_matlab_multi_matrix - A (3)
    M 143:4 TestAmazonS3.test_s3_upload_folder - A (3)
    M 151:4 TestAmazonS3.test_store_blob - A (3)
    C 188:0 TestAmazonEMR - A (3)
    F 17:0 s3_bucket - A (2)
    F 24:0 s3 - A (2)
    F 40:0 _upload_dir - A (2)
    F 172:0 emr - A (2)
    M 51:4 TestAmazonS3.test_connect_without_creds - A (2)
    M 56:4 TestAmazonS3.test_connect_with_creds - A (2)
    M 63:4 TestAmazonS3.test_disconnect_with_creds - A (2)
    M 71:4 TestAmazonS3.test_get_name - A (2)
    M 74:4 TestAmazonS3.test_object_exists - A (2)
    M 189:4 TestAmazonEMR.test_connect_without_creds - A (2)
    M 194:4 TestAmazonEMR.test_connect_with_creds - A (2)
    M 200:4 TestAmazonEMR.test_disconnect_with_creds - A (2)
tests/data_store/test_local_store.py
    M 56:4 TestLocalDataStore.test_read_yaml_file - B (6)
    C 34:0 TestLocalDataStore - A (4)
    M 44:4 TestLocalDataStore.test_read_json_file - A (4)
    M 50:4 TestLocalDataStore.test_load_matlab_multi_matrix - A (4)
    M 64:4 TestLocalDataStore.test_read_pickle_file - A (4)
    M 39:4 TestLocalDataStore.test_read_generic_file - A (3)
    F 11:0 tmp_dir - A (2)
    M 36:4 TestLocalDataStore.test_get_name - A (2)
    F 17:0 local_data_store - A (1)
tests/data_store/bigquery/test_pypi_bigquery.py
    C 99:0 TestPyPiDataProcessing - B (9)
    M 100:4 TestPyPiDataProcessing.test_process_with_validation - B (9)
    M 113:4 TestPyPiDataProcessing.test_process_without_validation - B (9)
    M 78:4 TestPyPiBigQuery.test_get_result_sync - B (6)
    M 88:4 TestPyPiBigQuery.test_get_result_async - B (6)
    C 62:0 TestPyPiBigQuery - A (4)
    M 72:4 TestPyPiBigQuery.test_run_query_async - A (4)
    M 27:4 MockS3.write_json_file - A (3)
    M 64:4 TestPyPiBigQuery.test_run_query - A (2)
    M 68:4 TestPyPiBigQuery.test_run_query_sync - A (2)
    F 41:0 _pypi_bigquery_client - A (1)
    F 50:0 _data_process_client - A (1)
    C 17:0 MockS3 - A (1)
    M 19:4 MockS3.__init__ - A (1)
    M 24:4 MockS3.object_exists - A (1)
    M 34:4 MockS3.__del__ - A (1)
    M 37:4 MockS3.connect - A (1)
tests/data_store/bigquery/test_npm_bigquery.py
    M 100:4 TestNpmataProcessing.test_process - B (8)
    M 78:4 TestNpmBigQuery.test_get_result_sync - B (6)
    M 88:4 TestNpmBigQuery.test_get_result_async - B (6)
    C 99:0 TestNpmataProcessing - A (5)
    C 62:0 TestNpmBigQuery - A (4)
    M 72:4 TestNpmBigQuery.test_run_query_async - A (4)
    M 112:4 TestNpmataProcessing.test_handle_corrupt_packagejson - A (4)
    M 27:4 MockS3.write_json_file - A (3)
    M 127:4 TestNpmataProcessing.test_construct_packages - A (3)
    M 64:4 TestNpmBigQuery.test_run_query - A (2)
    M 68:4 TestNpmBigQuery.test_run_query_sync - A (2)
    F 41:0 _npm_bigquery_client - A (1)
    F 50:0 _data_process_client - A (1)
    C 17:0 MockS3 - A (1)
    M 19:4 MockS3.__init__ - A (1)
    M 24:4 MockS3.object_exists - A (1)
    M 34:4 MockS3.__del__ - A (1)
    M 37:4 MockS3.connect - A (1)
tests/data_store/bigquery/test_maven_bigquery.py
    M 100:4 TestMavenDataProcessing.test_process - B (7)
    M 78:4 TestMavenBigQuery.test_get_result_sync - B (6)
    M 88:4 TestMavenBigQuery.test_get_result_async - B (6)
    C 99:0 TestMavenDataProcessing - A (5)
    C 62:0 TestMavenBigQuery - A (4)
    M 72:4 TestMavenBigQuery.test_run_query_async - A (4)
    M 27:4 MockS3.write_json_file - A (3)
    M 111:4 TestMavenDataProcessing.test_construct_packages - A (3)
    M 64:4 TestMavenBigQuery.test_run_query - A (2)
    M 68:4 TestMavenBigQuery.test_run_query_sync - A (2)
    F 41:0 _maven_bigquery_client - A (1)
    F 50:0 _data_process_client - A (1)
    C 17:0 MockS3 - A (1)
    M 19:4 MockS3.__init__ - A (1)
    M 24:4 MockS3.object_exists - A (1)
    M 34:4 MockS3.__del__ - A (1)
    M 37:4 MockS3.connect - A (1)
tests/data_store/bigquery/test_base_upload_s3.py
    F 56:0 test_update_s3_bucket_file_exist - B (7)
    F 39:0 test_update_s3_bucket_file_not_exist - A (5)
    F 15:0 s3_bucket - A (2)
    F 23:0 s3 - A (2)
tests/data_store/bigquery/test_base.py
    M 128:4 TestBigQueryBuilder.test_get_result_sync - B (6)
    M 138:4 TestBigQueryBuilder.test_get_result_async - B (6)
    C 108:0 TestBigQueryBuilder - A (4)
    M 122:4 TestBigQueryBuilder.test_run_query_async - A (4)
    M 148:4 TestBigQueryBuilder.test_iter_ - A (4)
    M 110:4 TestBigQueryBuilder.test_init - A (3)
    M 38:4 MockDB.manifest_content - A (2)
    M 48:4 MockDB.run - A (2)
    M 114:4 TestBigQueryBuilder.test_run_query - A (2)
    M 118:4 TestBigQueryBuilder.test_run_query_sync - A (2)
    F 99:0 _builder_client - A (1)
    C 15:0 MockDB - A (1)
    M 16:4 MockDB.__init__ - A (1)
    M 21:4 MockDB._create_data - A (1)
    C 53:0 QueryJob - A (1)
    M 55:4 QueryJob.__init__ - A (1)
    M 60:4 QueryJob.result - A (1)
    M 63:4 QueryJob.done - A (1)
    M 66:4 QueryJob.__iter__ - A (1)
    C 70:0 MockBigQuery - A (1)
    M 74:4 MockBigQuery.__init__ - A (1)
tests/utils/test_helper.py
    F 64:0 test_cache_dict - B (8)
    F 8:0 test_get_github_repo_info - A (5)
    F 23:0 test_get_training_file_url - A (4)
    F 55:0 test_cache_dict_with_one_max_size - A (4)
    F 40:0 test_load_hyper_params - A (3)
    F 48:0 test_cache_dict_with_zero_max_size - A (3)
tests/utils/test_pypi_parser.py
    F 10:0 test_get_file_content - A (4)
    F 23:0 test_parse_requirements - A (4)
    F 39:0 test_pip_req - A (2)
tests/utils/test_validation.py
    C 27:0 TestBQValidation - B (6)
    M 29:4 TestBQValidation.test_validate_pypi_content - B (6)
    F 7:0 test_check_field_exists - A (5)
    F 20:0 test_check_url_alive - A (3)
tests/utils/test_mercator.py
    M 30:4 TestSimpleMercator.test_get_dependencies - B (8)
    C 8:0 TestSimpleMercator - A (4)
    M 50:4 TestSimpleMercator.test_find_data_corrupt_pom - A (4)
    M 41:4 TestSimpleMercator.test_get_dependencies_with_no_dependencies - A (2)
    M 46:4 TestSimpleMercator.test_get_dependencies_with_no_content - A (2)
tests/deployments/emr_scripts/test_emr_script_builder.py
    M 34:4 TestEMRScriptBuilder.test_construct_job - B (10)
    C 12:0 TestEMRScriptBuilder - B (6)
    M 19:4 TestEMRScriptBuilder.test_construct_job_without_required_params - B (6)
    M 14:4 TestEMRScriptBuilder.test_curr_time - A (2)
tests/deployments/emr_scripts/test_pypi_emr.py
    C 26:0 TestPyPiEMR - A (4)
    M 28:4 TestPyPiEMR.test_run_job - A (4)
    C 6:0 MockEMRConfig - A (1)
    M 7:4 MockEMRConfig.__init__ - A (1)
    M 10:4 MockEMRConfig.get_config - A (1)
tests/deployments/emr_scripts/test_npm_emr.py
    C 26:0 TestNpmEMR - A (4)
    M 28:4 TestNpmEMR.test_run_job - A (4)
    C 6:0 MockEMRConfig - A (1)
    M 7:4 MockEMRConfig.__init__ - A (1)
    M 10:4 MockEMRConfig.get_config - A (1)
tests/deployments/emr_scripts/test_emr_config.py
    C 4:0 TestEMRConfig - C (15)
    M 6:4 TestEMRConfig.test_get_config - C (15)
tests/deployments/emr_scripts/test_maven_emr.py
    C 26:0 TestMavenEMR - A (4)
    M 28:4 TestMavenEMR.test_run_job - A (4)
    C 6:0 MockEMRConfig - A (1)
    M 7:4 MockEMRConfig.__init__ - A (1)
    M 10:4 MockEMRConfig.get_config - A (1)
tools/check_python_version.py
    F 19:0 get_expected_version - A (4)
    F 48:0 compare_versions - A (2)
    F 59:0 main - A (2)
    F 43:0 get_actual_version - A (1)
rudra/data_store/abstract_data_store.py
    C 9:0 AbstractDataStore - A (1)
    M 12:4 AbstractDataStore.get_name - A (1)
    M 17:4 AbstractDataStore.read_json_file - A (1)
    M 22:4 AbstractDataStore.read_generic_file - A (1)
    M 27:4 AbstractDataStore.read_pickle_file - A (1)
    M 32:4 AbstractDataStore.read_yaml_file - A (1)
    M 37:4 AbstractDataStore.upload_file - A (1)
    M 42:4 AbstractDataStore.write_json_file - A (1)
rudra/data_store/aws.py
    M 38:4 AmazonS3.__init__ - C (11)
    M 69:4 AmazonS3.object_exists - A (4)
    M 138:4 AmazonS3.s3_upload_folder - A (4)
    M 155:4 AmazonS3.read_json_file - A (4)
    M 241:4 AmazonS3.s3_delete_objects - A (4)
    M 82:4 AmazonS3.connect - A (3)
    M 169:4 AmazonS3.read_yaml_file - A (3)
    M 182:4 AmazonS3.read_pickle_file - A (3)
    M 212:4 AmazonS3.list_bucket_objects - A (3)
    M 223:4 AmazonS3.list_bucket_keys - A (3)
    C 30:0 AmazonS3 - A (2)
    M 122:4 AmazonS3.store_blob - A (2)
    M 130:4 AmazonS3.upload_file - A (2)
    M 193:4 AmazonS3.write_json_file - A (2)
    M 204:4 AmazonS3.read_generic_file - A (2)
    M 231:4 AmazonS3.s3_delete_object - A (2)
    M 254:4 AmazonS3.s3_clean_bucket - A (2)
    M 265:4 AmazonS3.load_matlab_multi_matrix - A (2)
    M 289:4 AmazonEmr.connect - A (2)
    M 319:4 AmazonEmr.terminate_jobs - A (2)
    M 325:4 AmazonEmr.get_status - A (2)
    C 20:0 NotFoundAccessKeySecret - A (1)
    M 23:4 NotFoundAccessKeySecret.__init__ - A (1)
    M 103:4 AmazonS3.is_connected - A (1)
    M 107:4 AmazonS3.disconnect - A (1)
    M 113:4 AmazonS3._get_fake_version_id - A (1)
    M 118:4 AmazonS3.get_name - A (1)
    M 200:4 AmazonS3.write_pickle_file - A (1)
    C 281:0 AmazonEmr - A (1)
    M 284:4 AmazonEmr.__init__ - A (1)
    M 305:4 AmazonEmr.is_connected - A (1)
    M 309:4 AmazonEmr.disconnect - A (1)
    M 315:4 AmazonEmr.run_flow - A (1)
rudra/data_store/local_data_store.py
    M 30:4 LocalDataStore.read_generic_file - A (2)
    M 35:4 LocalDataStore.read_json_file - A (2)
    M 52:4 LocalDataStore.load_matlab_multi_matrix - A (2)
    C 16:0 LocalDataStore - A (1)
    M 19:4 LocalDataStore.__init__ - A (1)
    M 26:4 LocalDataStore.get_name - A (1)
    M 40:4 LocalDataStore.read_yaml_file - A (1)
    M 47:4 LocalDataStore.read_pickle_file - A (1)
    M 65:4 LocalDataStore.upload_file - A (1)
    M 69:4 LocalDataStore.write_json_file - A (1)
rudra/data_store/bigquery/pypi_bigquery.py
    M 52:4 PyPiBigQueryDataProcessing.process - B (7)
    C 37:0 PyPiBigQueryDataProcessing - A (5)
    M 40:4 PyPiBigQueryDataProcessing.__init__ - A (3)
    C 13:0 PyPiBigQuery - A (1)
    M 16:4 PyPiBigQuery.__init__ - A (1)
rudra/data_store/bigquery/maven_bigquery.py
    M 74:4 MavenBQDataProcessing.construct_packages - B (6)
    C 34:0 MavenBQDataProcessing - A (4)
    M 37:4 MavenBQDataProcessing.__init__ - A (3)
    M 49:4 MavenBQDataProcessing.process - A (3)
    C 11:0 MavenBigQuery - A (1)
    M 14:4 MavenBigQuery.__init__ - A (1)
rudra/data_store/bigquery/npm_bigquery.py
    M 70:4 NpmBQDataProcessing.construct_packages - B (7)
    C 29:0 NpmBQDataProcessing - A (5)
    M 85:4 NpmBQDataProcessing.handle_corrupt_packagejson - A (5)
    M 44:4 NpmBQDataProcessing.process - A (4)
    M 32:4 NpmBQDataProcessing.__init__ - A (3)
    C 12:0 NpmBigQuery - A (1)
    M 15:4 NpmBigQuery.__init__ - A (1)
rudra/data_store/bigquery/base.py
    M 108:4 BigqueryBuilder.get_result - B (6)
    M 135:4 DataProcessing.update_s3_bucket - A (5)
    M 83:4 BigqueryBuilder._run_query - A (4)
    M 17:4 BigqueryBuilder.__init__ - A (3)
    C 128:0 DataProcessing - A (3)
    C 14:0 BigqueryBuilder - A (2)
    M 42:4 BigqueryBuilder._generate_bq_credentials - A (1)
    M 93:4 BigqueryBuilder.run_query_sync - A (1)
    M 97:4 BigqueryBuilder.run_query_async - A (1)
    M 103:4 BigqueryBuilder.get_status - A (1)
    M 123:4 BigqueryBuilder.__iter__ - A (1)
    M 131:4 DataProcessing.__init__ - A (1)
rudra/utils/validation.py
    F 16:0 check_field_exists - A (5)
    F 28:0 check_url_alive - A (4)
    C 41:0 BQValidation - A (3)
    M 49:4 BQValidation.validate_pypi - A (3)
    M 44:4 BQValidation.__init__ - A (2)
    F 10:0 nn - A (1)
rudra/utils/pypi_parser.py
    F 13:0 parse_requirements - A (5)
    F 33:0 get_file_content - A (5)
rudra/utils/mercator.py
    M 59:4 SimpleMercator.handle_corrupt_pom - B (6)
    M 10:4 SimpleMercator.__init__ - A (5)
    C 7:0 SimpleMercator - A (4)
    M 24:4 SimpleMercator.get_dependencies - A (3)
    M 34:4 SimpleMercator.__iter__ - A (1)
rudra/utils/helper.py
    F 23:0 load_hyper_params - A (4)
    F 34:0 get_training_file_url - A (4)
    M 61:4 CacheDict.__setitem__ - A (3)
    F 12:0 get_github_repo_info - A (2)
    C 53:0 CacheDict - A (1)
    M 56:4 CacheDict.__init__ - A (1)
    M 67:4 CacheDict.__getitem__ - A (1)
    M 71:4 CacheDict.__iter__ - A (1)
    M 75:4 CacheDict.__delitem__ - A (1)
    M 79:4 CacheDict.__len__ - A (1)
    M 83:4 CacheDict.__repr__ - A (1)
rudra/deployments/emr_scripts/emr_config.py
    C 4:0 EMRConfig - A (3)
    M 9:4 EMRConfig.__init__ - A (3)
    M 57:4 EMRConfig.get_config - A (2)
rudra/deployments/emr_scripts/maven_emr.py
    C 7:0 MavenEMR - A (2)
    M 12:4 MavenEMR.run_job - A (2)
rudra/deployments/emr_scripts/npm_emr.py
    C 7:0 NpmEMR - A (2)
    M 12:4 NpmEMR.run_job - A (2)
rudra/deployments/emr_scripts/pypi_emr.py
    C 7:0 PyPiEMR - A (2)
    M 12:4 PyPiEMR.run_job - A (2)
rudra/deployments/emr_scripts/emr_script_builder.py
    M 18:4 EMRScriptBuilder.construct_job - B (10)
    C 11:0 EMRScriptBuilder - A (4)
    M 14:4 EMRScriptBuilder.__init__ - A (1)
    M 77:4 EMRScriptBuilder.run_job - A (1)
rudra/deployments/emr_scripts/abstract_emr.py
    C 6:0 AbstractEMR - A (1)
    M 9:4 AbstractEMR.construct_job - A (1)
    M 14:4 AbstractEMR.run_job - A (1)

284 blocks (classes, functions, methods) analyzed.
Average complexity: A (2.897887323943662)