{
 "kind": "tool",
 "slug": "coverage",
 "path": "tools/coverage/",
 "name": "coverage",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Testing",
   "tools/testing/"
  ]
 ],
 "lead": "Python code coverage measurement tool, tracking which code is executed and generating coverage reports.",
 "chips": [
  {
   "label": "Testing",
   "path": "tools/testing/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install coverage"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/coveragepy/coveragepy"
  },
  {
   "label": "Website",
   "href": "https://github.com/coveragepy/coveragepy"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license field.",
   "src": "https://github.com/coveragepy/coveragepy"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Nov 23, 2026. ",
   "src": "https://github.com/coveragepy/coveragepy"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "15 projects",
   "status": "info",
   "sub": "#31 of 122 in its category",
   "note": "Dependency in 15 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "4 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What coverage does",
   "parts": [
    {
     "t": "prose",
     "text": "Python code coverage measurement tool, tracking which code is executed and generating coverage reports."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "coverage popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "65",
       "of": "/ 100",
       "l": "Gid Score, #687 overall"
      },
      {
       "n": "84M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "3,433",
       "l": "GitHub stars"
      },
      {
       "n": "15",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How coverage is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "coverage is a dependency in 15 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 121 projects, and what it is used with below comes from all of them.",
      "Projects that use it most often also use pytest (91.7%), Requests (81.0%), Click (79.3%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "10 projects, 0.3%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "8 projects, 0.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "6 projects, 0.2%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 91.7% of its projects",
       "v": "pytest",
       "path": "tools/pytest/"
      },
      {
       "l": "In 81.0% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 79.3% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      },
      {
       "l": "In 78.5% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 78.5% of its projects",
       "v": "packaging",
       "path": "tools/packaging/"
      },
      {
       "l": "In 75.2% of its projects",
       "v": "attrs",
       "path": "tools/attrs/"
      },
      {
       "l": "In 74.4% of its projects",
       "v": "Jinja2",
       "path": "tools/jinja2/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about coverage",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/nedbat",
        "Tidelift: https://tidelift.com/funding/github/pypi/coverage",
        "19 GitHub sponsors"
       ]
      },
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "coverage: Find what is not tested: map untested pages and flows and coverage gaps. Use whenever the user asks what needs tests, about missing tests or",
        "coverage-analysis: Measures and interprets what a fuzzing campaign actually reaches, using llvm-cov, lcov, or a fuzzer's own coverage output. Covers baselining",
        "coverage-analysis: Activation requires either supplied .NET coverage reports/percentages/line, branch, or condition metrics, or an explicit request to collect",
        "coverage-reel: Turn a user-owned coverage CSV and reviewed press-clip captures into an honest, source-linked earned-media dashboard and a motion-designed h"
       ]
      },
      {
       "title": "More in Testing",
       "path": "tools/testing/",
       "items": [
        {
         "text": "Vitest",
         "path": "tools/vitest/"
        },
        {
         "text": "Playwright (JavaScript)",
         "path": "tools/playwright-test/"
        },
        {
         "text": "Testing Library",
         "path": "tools/testing-library/"
        },
        {
         "text": "jsdom",
         "path": "tools/jsdom/"
        },
        {
         "text": "Jest",
         "path": "tools/jest/"
        },
        {
         "text": "pytest",
         "path": "tools/pytest/"
        },
        {
         "text": "Happy DOM",
         "path": "tools/happy-dom/"
        },
        {
         "text": "axe-core Playwright",
         "path": "tools/axe-core-playwright/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "coverage",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 65",
        "84M/wk"
       ]
      }
     ],
     "more": "Compare coverage with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install coverage"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for coverage yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi coverage"
  ],
  [
   "Category",
   "Testing"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "64.8"
  ],
  [
   "Rank in category",
   "#31 of 122"
  ],
  [
   "GitHub",
   "coveragepy/coveragepy"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/coveragepy.png"
}