{"id":26021704,"url":"https://github.com/lakitna/robotframework-find-unused","last_synced_at":"2025-07-16T15:42:05.820Z","repository":{"id":277026651,"uuid":"931094645","full_name":"Lakitna/robotframework-find-unused","owner":"Lakitna","description":"Find unused parts of your Robot Framework project","archived":false,"fork":false,"pushed_at":"2025-03-14T14:06:59.000Z","size":79,"stargazers_count":1,"open_issues_count":19,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T08:03:51.233Z","etag":null,"topics":["cli","robotframework"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lakitna.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-11T17:54:49.000Z","updated_at":"2025-03-14T14:06:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"629bbbde-f06a-419f-b0b5-05d671ca1fad","html_url":"https://github.com/Lakitna/robotframework-find-unused","commit_stats":null,"previous_names":["lakitna/robotframework-find-unused"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Lakitna/robotframework-find-unused","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakitna%2Frobotframework-find-unused","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakitna%2Frobotframework-find-unused/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakitna%2Frobotframework-find-unused/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakitna%2Frobotframework-find-unused/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lakitna","download_url":"https://codeload.github.com/Lakitna/robotframework-find-unused/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lakitna%2Frobotframework-find-unused/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265521970,"owners_count":23781590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","robotframework"],"created_at":"2025-03-06T09:28:49.690Z","updated_at":"2025-07-16T15:42:05.813Z","avatar_url":"https://github.com/Lakitna.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Robot Framework Find Unused\n\nFind unused parts of your Robot Framework project.\n\n[Robocop](https://github.com/MarketSquare/robotframework-robocop) is great at finding unused parts\nin a single file. Find unused finds unused parts across all your project files.\n\nAllows you to find unused:\n\n- Keywords\n- Keyword arguments\n- Keyword return statements\n- Global variables\n\n## Installation\n\nInstall with pip\n\n```shell\npip install robotframework-find-unused\n```\n\n## How to use\n\nThis is a command-line tool.\n\n1. Open a command line in your Robot Framework project\n2. Run the following command to show available options:\n\n    ```shell\n    robotunused --help\n    ```\n\n### Find unused keywords\n\nWalk through your `.robot`, `.resource`, and `.py` files. In those files, count how often each\nkeyword is used (called). Keywords with 0 uses are logged.\n\nBy default, will ignore keywords from downloaded libraries.\n\n```shell\nrobotunused keywords\n```\n\nPlease note that there are limitations. For an overview of current limitations, run the following\ncommand:\n\n```shell\nrobotunused keywords --help\n```\n\n#### Available options\n\n| flag                 | option                         | default   | description                                                                          |\n|----------------------|--------------------------------|-----------|--------------------------------------------------------------------------------------|\n| `-c`, `--show-count` |                                |           | Output usage count for all keywords instead of only unused keywords                  |\n| `-f`, `--filter`     | Globlike pattern               |           | Only output keywords who's name match the glob pattern. Match without library prefix |\n| `-d`, `--deprecated` | `include` / `exclude` / `only` | `include` | How to output deprecated keywords                                                    |\n| `-p`, `--private`    | `include` / `exclude` / `only` | `include` | How to output private keywords                                                       |\n| `-l`, `--library`    | `include` / `exclude` / `only` | `exclude` | How to output keywords from downloaded libraries                                     |\n| `-v`, `--verbose`    |                                |           | Show more log output                                                                 |\n\n### Find unused keyword arguments\n\nWalk through your `.robot`, `.resource`, and `.py` files. In those files, count how often each\nargument is used during a keyword call. Arguments with 0 uses are logged.\n\nBy default, will ignore arguments from unused keywords.\n\n```shell\nrobotunused arguments\n```\n\nPlease note that there are limitations. For an overview of current limitations, run the following\ncommand:\n\n```shell\nrobotunused arguments --help\n```\n\n#### Available options\n\n| flag                 | option                         | default   | description                                                                                        |\n|----------------------|--------------------------------|-----------|----------------------------------------------------------------------------------------------------|\n| `-c`, `--show-count` |                                |           | Show usage count for all arguments instead of only unused arguments                                |\n| `-f`, `--filter`     | Globlike pattern               |           | Only output arguments for keywords who's name match the glob pattern. Match without library prefix |\n| `-d`, `--deprecated` | `include` / `exclude` / `only` | `include` | How to output deprecated keywords                                                                  |\n| `-p`, `--private`    | `include` / `exclude` / `only` | `include` | How to output private keywords                                                                     |\n| `-l`, `--library`    | `include` / `exclude` / `only` | `exclude` | How to output keywords from downloaded libraries                                                   |\n| `-v`, `--verbose`    |                                |           | Show more log output                                                                               |\n\n### Find unused keyword return statements\n\nWalk through your `.robot`, `.resource`, and `.py` files. In those files, count how often each\nkeyword return value is used (assigned to a variable). Keywords whose return value is never useds\nare logged.\n\nBy default, will ignore keywords from downloaded libraries.\n\n```shell\nrobotunused returns\n```\n\nPlease note that there are limitations. For an overview of current limitations, run the following\ncommand:\n\n```shell\nrobotunused returns --help\n```\n\n#### Available options\n\n| flag                 | option                         | default   | description                                                                          |\n|----------------------|--------------------------------|-----------|--------------------------------------------------------------------------------------|\n| `-c`, `--show-count` |                                |           | Output usage count for all keywords instead of only keywords with unused returns     |\n| `-f`, `--filter`     | Globlike pattern               |           | Only output keywords who's name match the glob pattern. Match without library prefix |\n| `-d`, `--deprecated` | `include` / `exclude` / `only` | `include` | How to output deprecated keywords                                                    |\n| `-p`, `--private`    | `include` / `exclude` / `only` | `include` | How to output private keywords                                                       |\n| `-l`, `--library`    | `include` / `exclude` / `only` | `exclude` | How to output keywords from downloaded libraries                                     |\n| `-v`, `--verbose`    |                                |           | Show more log output                                                                 |\n\n### Find unused global variables\n\nWalk through your `.robot` and `.resource` files. In those files, count how often each\nvariable is used. Variables defined in a variables section with 0 uses are logged.\n\n```shell\nrobotunused variables\n```\n\nPlease note that there are limitations. For an overview of current limitations, run the following\ncommand:\n\n```shell\nrobotunused variables --help\n```\n\n#### Available options\n\n| flag                 | option           | default | description                                                                                         |\n|----------------------|------------------|---------|-----------------------------------------------------------------------------------------------------|\n| `-c`, `--show-count` |                  |         | Show usage count for all variables instead of only unused variables                                 |\n| `-f`, `--filter`     | Globlike pattern |         | Only show variables who's name match the glob pattern. Matching without {brackets} and $@\u0026 prefixes |\n| `-v`, `--verbose`    |                  |         | Show more log output                                                                                |\n\n## Contributing\n\nI'm open to contributions. Please contact me in the issues.\n\nWhen contibuting, you'll need [Poetry](https://python-poetry.org/) to manage dependencies.\n\nPlease ensure that you install the develop dependencies as well as the regular dependencies by\nrunning the following command:\n\n```shell\npoetry install --with dev\n```\n\n### Linting\n\nYou can't merge with lint issues. This is enforced by the pipeline.\n\nTo run the linter, use the following command:\n\n```shell\npoetry run ruff check\n```\n\n### Testing\n\nYou can't merge with failing tests. This is enforced by the pipeline.\n\nTo run all tests, use the following command:\n\n```shell\npoetry run pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakitna%2Frobotframework-find-unused","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flakitna%2Frobotframework-find-unused","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flakitna%2Frobotframework-find-unused/lists"}