{"id":13843454,"url":"https://github.com/raoweijian/jacoco-diff","last_synced_at":"2025-07-11T19:31:32.782Z","repository":{"id":182005141,"uuid":"140711310","full_name":"raoweijian/jacoco-diff","owner":"raoweijian","description":"在 jacoco 覆盖率报告的基础上，计算出增量覆盖率","archived":false,"fork":false,"pushed_at":"2023-08-11T19:53:39.000Z","size":150,"stargazers_count":62,"open_issues_count":2,"forks_count":41,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-05T17:37:27.835Z","etag":null,"topics":["coverage","jacoco"],"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/raoweijian.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}},"created_at":"2018-07-12T12:37:44.000Z","updated_at":"2023-09-04T09:19:07.000Z","dependencies_parsed_at":"2023-07-18T11:52:21.633Z","dependency_job_id":null,"html_url":"https://github.com/raoweijian/jacoco-diff","commit_stats":null,"previous_names":["raoweijian/jacoco-diff"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raoweijian%2Fjacoco-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raoweijian%2Fjacoco-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raoweijian%2Fjacoco-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raoweijian%2Fjacoco-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raoweijian","download_url":"https://codeload.github.com/raoweijian/jacoco-diff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225754989,"owners_count":17519183,"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":["coverage","jacoco"],"created_at":"2024-08-04T17:02:09.047Z","updated_at":"2024-11-21T15:30:57.727Z","avatar_url":"https://github.com/raoweijian.png","language":"Python","readme":"# jacoco-diff\n在 jacoco 覆盖率报告的基础上，计算出增量覆盖率\n\n\n# 结果展示\n### 命令行提示\n![pic](https://github.com/raoweijian/jacoco-diff/blob/master/pics/help.png)\n\n### 覆盖率报告\n\n新增的行首增加蓝色钻石标志，与其它钻石不冲突\n\n![pic](https://github.com/raoweijian/jacoco-diff/blob/master/pics/report.png)\n\n# 用法\n```shell\n# 假设工程路径为 ~/project/test_project\ncd ~/project/test_project\n\n# 执行单测，生成 jacoco 覆盖率报告\nmvn clean test\n\n# 使用本工具，计算增量覆盖率，并修改覆盖率报告\npython main.py -d ~/project/test_project -o HEAD~1\n```\n\n## 参数说明\n  \\-h, \\-\\-help        打印帮助信息\n  \n  \\-d, \\-dir           工程根目录\n  \n  \\-o, \\-old_version   指定对比的版本号, 如果该参数没有给出，默认与前一个版本进行对比(HEAD\\~1)。该参数支持 git commit hash 或者 HEAD~n 的格式。\n","funding_links":[],"categories":["Python (1887)","Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraoweijian%2Fjacoco-diff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraoweijian%2Fjacoco-diff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraoweijian%2Fjacoco-diff/lists"}