pytest-cov-container

v0.7.1 safe
2.9
Low Risk

Pytest plugin to collect code coverage from applications running inside Docker containers

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 23 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: conftest.py
  • Test runner config found: pyproject.toml
  • 23 test file(s) detected (e.g. __init__.py)
  • Classifier: Framework :: Pytest
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://github.com/tomaDev/pytest-cov-container#readme
  • Detailed PyPI description (9773 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 89 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • = f.read() request = urllib.request.Request( # noqa: S310 # nosec B310 — the sink URL comes fr
  • ction} ) with urllib.request.urlopen(request, timeout=10): # noqa: S310 # nosec B310
  • match="refused"): urllib.request.urlopen(plugin.sink.url, timeout=1) def test_required_f
  • data.write() request = urllib.request.Request( env["COV_CONTAINER_SINK"], data=(tm
  • -Function": "Fn"}}, ) urllib.request.urlopen(request, timeout=5).close() """ CONFTEST = """\
  • = "Fn") -> int: request = urllib.request.Request( url, data=body, method="POST", headers={pro
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • = False) -> str: result = subprocess.run(args, check=True, capture_output=capture, text=True) ret
  • k, sink, tmp_path): out = subprocess.run( [sys.executable, "-c", RUNTIME, str(task), "handler
  • [protocol.SINK_ENV] out = subprocess.run( [sys.executable, "-c", RUNTIME, str(task), "handler
  • .0.0.1:9/nowhere"}) out = subprocess.run( [sys.executable, "-c", RUNTIME, str(task), "handler
  • , sink, tmp_path): proc = subprocess.Popen( [sys.executable, "-c", SERVER, str(task)],
  • path / "pid" target = subprocess.Popen( [ sys.executable,
⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • rametrize("ident", ["", "../../etc/passwd", "a b"]) def test_rejects_an_unsafe_id(sink, ident): a
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com>

✓ Suspicious Page Links

All external links appear legitimate

⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with pytest-cov-container
Build a simple Python application using the pytest-cov-container package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!