{"id":22016352,"url":"https://github.com/nbelzer/hotspot-analyser","last_synced_at":"2026-05-05T02:31:55.802Z","repository":{"id":132445407,"uuid":"250043276","full_name":"nbelzer/hotspot-analyser","owner":"nbelzer","description":"Simple python script to analyse hotspots in git repos","archived":false,"fork":false,"pushed_at":"2020-03-26T20:07:49.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T15:49:07.495Z","etag":null,"topics":["analyser","git","repository"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nbelzer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-03-25T17:17:33.000Z","updated_at":"2020-03-26T20:07:58.000Z","dependencies_parsed_at":"2023-04-11T18:32:18.540Z","dependency_job_id":null,"html_url":"https://github.com/nbelzer/hotspot-analyser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbelzer%2Fhotspot-analyser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbelzer%2Fhotspot-analyser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbelzer%2Fhotspot-analyser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nbelzer%2Fhotspot-analyser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nbelzer","download_url":"https://codeload.github.com/nbelzer/hotspot-analyser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245078201,"owners_count":20557283,"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":["analyser","git","repository"],"created_at":"2024-11-30T04:34:35.817Z","updated_at":"2026-05-05T02:31:55.762Z","avatar_url":"https://github.com/nbelzer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hotspot Analyser\n\nThis repo contains a simple tool used to analyse 'Hotspots' in a git repo for \na given time period. It was developed for [one of the essays](https://desosa2020.netlify.com/projects/sentry/2020/03/23/monitoring-sentrys-software-quality.html)\nwe had to write for the IN4315 course at Delft University of Technology. In \nthis essay we analysed the areas of [Sentry](https://github.com/getsentry/sentry) \nthat were currently under development by looking at the folders that were \ntouched by the most commits.\n\nThe Python script used is included in this repo.  It makes use of `git` which \nhas to be installed and accessible from the place you run this script.\n\nThe script can be run with a given set of flags that were put in to make it \neasy to perform analyses over the repo for different time frames. To run the \nscript one should place it inside the git repository you want to analyse and \ncall:\n```bash\n# Analyse the commits between 2018-06-25T00:00:00 and 2020-01-07T00:00:00.\n# In the case of Sentry this is the period between releasing v9 and v10.\npython3 analyser.py \\\n  --after=\"2018-06-25T00:00:00\" \\\n  --before=\"2020-01-07T00:00:00\" \\\n  --out folder-hits-v9-v10.txt\n```\n\nThe results are then written to file and look as follows:\n```\nMIN\tAVG\tMAX\tFOLDER\n1\t52\t202\tsrc/sentry/conf/\n3\t21\t39\tsrc/sentry/search/snuba/\n6\t20\t34\tsrc/sentry/static/sentry/app/components/smartSearchBar/\n3\t17\t55\tsrc/sentry/integrations/vsts/\n2\t17\t58\tsrc/sentry/options/\n3\t16\t41\tsrc/sentry/tagstore/snuba/\n16\t16\t16\tsrc/sentry/static/sentry/app/views/releases/list/organizationReleases/\n1\t15\t44\tsrc/sentry/lang/native/\n1\t14\t68\tsrc/sentry/features/\n2\t13\t40\tsrc/sentry/static/sentry/app/views/organizationEvents/\n...\n```\n\nIt is shared here as it might prove useful to somebody else.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbelzer%2Fhotspot-analyser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnbelzer%2Fhotspot-analyser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnbelzer%2Fhotspot-analyser/lists"}