# Code Coverage Code coverage is a metric that measures the extent to which the source code of a program is executed when a test suite is run. It helps identify areas of the code that are not being tested, potentially revealing bugs or vulnerabilities that might otherwise go unnoticed. It's expressed as a percentage, indicating the proportion of code lines, branches, or paths that have been exercised by the tests. Visit the following resources to learn more: - [@article@Testing Smart Contracts](https://ethereum.org/en/developers/docs/smart-contracts/testing/) - [@article@Smart Contract Code Coverage In Hardhat](https://medium.com/coinmonks/smart-contract-code-coverage-in-hardhat-d4a5ff6c9ba6) - [@feed@Explore top posts about General Programming](https://app.daily.dev/tags/general-programming?ref=roadmapsh)