Description
todocheck is a static code analyser for annotated TODO comments. You link each TODO to an issue in your issue tracker, and todocheck reports an error if that issue is closed or does not exist. It also reports TODOs that have no annotation as malformed, so no unlinked TODO slips through. Supported trackers include GitHub, GitLab, Jira, Pivotal Tracker, Redmine, YouTrack and Azure Boards. The tool supports several programming languages, and you can configure files and directories to ignore and custom TODO patterns. Results can be written in more than one output format. Authentication can use no token, an API or offline token, a token cache, or a token from an environment variable. You can install it with Homebrew, or download the binary for your OS from the latest release and check its sha256 checksum. The project is meant to run in your development workflow and CI pipeline, so that pending TODOs with closed issues do not stay in the codebase.…
Highlights
- Checks TODO comments against open issues
- Supports GitHub, GitLab, Jira and more
- Flags unannotated TODOs as malformed
- Custom TODO patterns and ignore rules
- Homebrew install and prebuilt binaries
Ratings & Reviews
No ratings yet
Be the first to rate Todocheck.
People also visit
Todocheck FAQ
What does todocheck do?
It finds TODO comments in your code, checks that each one is linked to an issue, and reports errors when the issue is closed or missing.
Which issue trackers work?
GitHub, GitLab, Jira, Pivotal Tracker, Redmine, YouTrack and Azure Boards.
How do I install it?
With Homebrew, or by downloading the binary for your OS from the latest release and placing it in a folder on your path.
Can I run it in CI?
Yes. Running it in your CI pipeline ensures no half-finished TODO with a closed issue is left in the codebase.
Does it need a token?
Not always. The authentication section covers no token, an API or offline token, a token cache, and a token from an environment variable.
What are the best Todocheck alternatives?
Popular alternatives to Todocheck include Leasot, Gitstream and Vscode Todo Plus. See all Todocheck alternatives














