platisd/Duplicate code detection tool
Detect similarities between source code files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | The GitHub token | yes | — |
| directories | A comma-separated list of the directories containing the source code | yes | — |
| ignore_directories | A comma-separated list of directories that should be ignored | no | "" |
| project_root_dir | The relative path to filter out when reporting results | no | ./ |
| file_extensions | A comma-separated list of source code file extensions to check for similarities | no | h, hpp, c, cpp, cc, java, py, cs |
| ignore_below | The minimum similarity percentage to be reported | no | 10 |
| fail_above | The maximum allowed similarity percentage before the action fails | no | 100 |
| warn_above | The maximum allowed similarity percentage before the action warns | no | 100 |
| only_code | Removes comments and docstrings from the source code before analysis | no | false |
| one_comment | Duplication report will be left as a single comment, which will be updated, instead of multiple ones | no | false |
| header_message_start | The message to be displayed at the start of the duplication report. It is used by the bot to identify previous reports and update them, so it must be unique. If you want to use the Action in multiple steps of the same workflow, then you can change this message in each step to avoid conflicts | no | ## ��� Duplicate code detection tool report |
Outputs
no outputs