Skip to content

[repo-health] Low: Static test count badge is stale (shows 175, codebase has 269 tests) and has a broken link #13

@Liohtml

Description

@Liohtml

Summary

The README's test badge is a hardcoded static image that shows 175 passing — but the codebase actually contains 269 #[test] annotations. The badge link is also empty (), rendering it non-clickable.

Category

README

Severity

Low

Location

  • File: README.md
  • Line: 10

Details

[![Tests](https://img.shields.io/badge/tests-175%20passing-brightgreen)]()

Issues:

  1. Stale count: The codebase has 269 #[test] functions; the badge says 175.
  2. Empty link: The badge links to () (empty anchor), so clicking it does nothing.
  3. Static badge is fragile: Any new test added will make the badge incorrect again.

Suggested Fix

Replace the static badge with a dynamic CI status badge linked to the GitHub Actions workflow:

[![CI](https://github.com/Liohtml/RUSTScrapling/actions/workflows/ci.yml/badge.svg)](https://github.com/Liohtml/RUSTScrapling/actions/workflows/ci.yml)

This auto-updates on every run and shows actual pass/fail status rather than a hardcoded number.

Effort Estimate

5 min


Automated finding by repo-health-agent v1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions