{"id":22148399,"url":"https://github.com/dburriss/hotspot-rs-cli","last_synced_at":"2025-10-20T05:32:05.913Z","repository":{"id":43497979,"uuid":"412498306","full_name":"dburriss/hotspot-rs-cli","owner":"dburriss","description":"A CLI tool for finding hotspots in your code.","archived":false,"fork":false,"pushed_at":"2023-02-15T14:54:50.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-29T17:44:52.500Z","etag":null,"topics":["domain-metrics","metrics","team-devon"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/dburriss.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":"2021-10-01T14:26:00.000Z","updated_at":"2022-05-25T19:24:56.000Z","dependencies_parsed_at":"2024-12-01T23:39:06.624Z","dependency_job_id":null,"html_url":"https://github.com/dburriss/hotspot-rs-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dburriss%2Fhotspot-rs-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dburriss%2Fhotspot-rs-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dburriss%2Fhotspot-rs-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dburriss%2Fhotspot-rs-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dburriss","download_url":"https://codeload.github.com/dburriss/hotspot-rs-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245274412,"owners_count":20588780,"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":["domain-metrics","metrics","team-devon"],"created_at":"2024-12-01T23:27:38.332Z","updated_at":"2025-10-20T05:32:00.880Z","avatar_url":"https://github.com/dburriss.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hotspot\n\nA CLI tool for finding hotspots in your code.\n\n**Features:**\n\n- [x] Code metrics on files ie LoC, Cyclomatic and cognitive complexity, \n- [x] List busfactor on files\n- [x] List git contributors with metrics\n- [x] List \"hottest\" file ie. those that have changed most frequently\n- [ ] recommend actions based on code metrics and git history\n\n## Getting\n\nCurrently only available on the releases GitHub page as binaries.\n\n## Usage\n\n`hotspot --help`\n\n```\nHotspot 0.1\nDevon B. \u003cdevon@chimplab.co\u003e\nInspect source code for those hotspots based on source code metrics and change cadence\n\nUSAGE:\n    hotspot.exe [FLAGS] [OPTIONS] [SUBCOMMAND]\n\nFLAGS:\n    -h, --help       Prints help information\n    -s               Sets to silent mode\n    -V, --version    Prints version information\n    -v               Sets to verbose mode\n\nOPTIONS:\n    -i, --include \u003cINCLUDE\u003e    Glob representing explicit includes\n\nSUBCOMMANDS:\n    about           Tells more about this CLI tool\n    busfactor       Calculate bus factor of repository contributors\n    contributors    Gathers statistics on repository contributors\n    help            Prints this message or the help of the given subcommand(s)\n    hottest         Lists most changed files\n    metrics         Gathers code metrics on repository\n```\n\n### Busfactor\n\nMeasures how many people need to be hit by a bus before no one who has touched that code is alive.\n\n**Data**:  Path, Bus factor\n\n```\nUSAGE:\n    hotspot.exe busfactor \u003cSOURCE\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nARGS:\n    \u003cSOURCE\u003e    Sets the input path of source code to use [default: ./]\n```\n\n### Contributors\n\nLists out contributors to a git repository and some stats on the commits.\n\n**Data**:  Contributor,  # Commits,  # Files Touched\n\n```\nUSAGE:\n    hotspot.exe contributors \u003cSOURCE\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nARGS:\n    \u003cSOURCE\u003e    Sets the input path of source code to use [default: ./]\n```\n\n### Hottest\n\nList files in order of most changes.\n\n**Data**: Path, # of Changes, Last changed by, Last changed at\n\n```\nUSAGE:\n    hotspot.exe hottest [OPTIONS] \u003cSOURCE\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n        --top \u003cTOP\u003e    Sets the number on how many results are returned. '0' returns all. [default: 0]\n\nARGS:\n    \u003cSOURCE\u003e    Sets the input path of source code to use [default: ./]\n```\n\n### Metrics\n\nLists some basic code metrics for files in the repository.\n\n**Data**:  File, Lines, Cognitive, Cyclomatic\n\n```\nUSAGE:\n    hotspot.exe metrics \u003cSOURCE\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nARGS:\n    \u003cSOURCE\u003e    Sets the input path of source code to use [default: ./]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdburriss%2Fhotspot-rs-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdburriss%2Fhotspot-rs-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdburriss%2Fhotspot-rs-cli/lists"}