Repository Analysis

jhao104/proxy_pool

Python ProxyPool for web spider

12.2 Low AI signal View on GitHub
12.2
Adjusted Score
12.2
Raw Score
100%
Time Factor
2026-05-29
Last Push
23,366
Stars
Python
Language
5,103
Lines of Code
62
Files
57
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 56

Pattern Findings

57 matches across 4 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers28 hits · 32 pts
SeverityFileLineSnippet
LOWtests/unit/test_db_client.py36 def test_redis_uri_no_password(self):
LOWtests/unit/test_db_client.py44 def test_ssdb_uri_no_password(self):
LOWtests/unit/test_db_client.py50 def test_unknown_db_type_raises(self):
LOWtests/unit/test_config.py63 def test_verify_timeout_default(self, conf):
LOWtests/unit/test_config.py66 def test_max_fail_count_default(self, conf):
LOWtests/unit/test_config.py69 def test_pool_size_min_default(self, conf):
LOWtests/unit/test_config.py92 def test_verify_timeout_override(self):
LOWtests/unit/test_config.py97 def test_max_fail_count_override(self):
LOWtests/unit/test_validator.py48 def test_invalid_proxy_format(self, proxy):
LOWtests/unit/test_validator.py67 def test_invalid_returns_false(self, proxy):
LOWtests/unit/test_proxy.py81 def test_to_json_is_valid_json(self):
LOWtests/unit/test_proxy.py87 def test_create_from_json_roundtrip(self):
LOWtests/unit/test_proxy.py98 def test_create_from_json_minimal(self):
LOWtests/unit/test_proxy.py106 def test_create_from_json_with_slash_source(self):
LOWtests/unit/test_proxy.py112 def test_to_dict_to_json_consistency(self):
LOWtests/unit/test_proxy.py169 def test_add_source_empty_string(self):
LOWtests/integration/test_redis_client.py57 def test_get_https_excludes_http(self, redis_client):
LOWtests/integration/test_redis_client.py63 def test_get_empty_returns_none(self, redis_client):
LOWtests/integration/test_redis_client.py97 def test_pop_empty_returns_none(self, redis_client):
LOWtests/integration/test_redis_client.py110 def test_get_all_https_filter(self, redis_client):
LOWtests/integration/test_redis_client.py144 def test_change_table_isolation(self, redis_client):
LOWtests/integration/test_ssdb_client.py56 def test_get_https_excludes_http(self, ssdb_client):
LOWtests/integration/test_ssdb_client.py62 def test_get_empty_returns_none(self, ssdb_client):
LOWtests/integration/test_ssdb_client.py96 def test_pop_empty_returns_none(self, ssdb_client):
LOWtests/integration/test_ssdb_client.py109 def test_get_all_https_filter(self, ssdb_client):
LOWtests/integration/test_ssdb_client.py143 def test_change_table_isolation(self, ssdb_client):
LOWtests/api/test_proxy_api.py27 def test_index_returns_api_list(self, client):
LOWtests/api/test_proxy_api.py118 def test_delete_calls_handler(self, client, mocks):
Excessive Try-Catch Wrapping15 hits · 16 pts
SeverityFileLineSnippet
LOWREADME.md157 except Exception:
LOWutil/webRequest.py79 except Exception as e:
LOWutil/webRequest.py106 except Exception as e:
LOWutil/webRequest.py131 except Exception as e:
MEDIUMutil/webRequest.py128def json(self):
LOWfetcher/proxyFetcher.py184 except Exception as e:
LOWfetcher/proxyFetcher.py273 except Exception as e:
LOWfetcher/proxyFetcher.py318 except Exception as e:
LOWfetcher/proxyFetcher.py333 except Exception as e:
LOWdocs/api.md48 except Exception:
LOWdocs/extending/validator.md49 except Exception as e:
LOWdocs/extending/validator.md63 except Exception as e:
LOWhelper/fetch.py46 except Exception as e:
LOWhelper/validator.py67 except Exception as e:
LOWhelper/validator.py79 except Exception as e:
Unused Imports10 hits · 10 pts
SeverityFileLineSnippet
LOWutil/six.py28
LOWutil/six.py30
LOWutil/six.py41
LOWutil/six.py41
LOWutil/six.py43
LOWutil/six.py43
LOWtests/unit/test_validator.py15
LOWtests/unit/test_proxy.py16
LOWtests/integration/test_redis_client.py17
LOWtests/integration/test_redis_client.py18
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippet
LOWsetting.py81POOL_SIZE_MIN = 20
LOWfetcher/proxyFetcher.py341 # from requests import Session
LOWfetcher/proxyFetcher.py361 # """
LOWfetcher/proxyFetcher.py381 # import base64