{"id":13684216,"url":"https://github.com/k4zy/danger-findbugs","last_synced_at":"2025-04-30T20:33:30.183Z","repository":{"id":41783528,"uuid":"90537472","full_name":"k4zy/danger-findbugs","owner":"k4zy","description":"FindBugs plugin for Danger","archived":false,"fork":false,"pushed_at":"2023-01-09T22:29:04.000Z","size":55,"stargazers_count":9,"open_issues_count":5,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-07-28T10:08:36.534Z","etag":null,"topics":["danger","danger-plugin"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/k4zy.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}},"created_at":"2017-05-07T14:13:52.000Z","updated_at":"2024-07-28T10:08:36.535Z","dependencies_parsed_at":"2023-02-08T15:00:54.657Z","dependency_job_id":null,"html_url":"https://github.com/k4zy/danger-findbugs","commit_stats":null,"previous_names":["kazy1991/danger-findbugs"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4zy%2Fdanger-findbugs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4zy%2Fdanger-findbugs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4zy%2Fdanger-findbugs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k4zy%2Fdanger-findbugs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k4zy","download_url":"https://codeload.github.com/k4zy/danger-findbugs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213684873,"owners_count":15623417,"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":["danger","danger-plugin"],"created_at":"2024-08-02T14:00:31.073Z","updated_at":"2025-04-30T20:33:30.163Z","avatar_url":"https://github.com/k4zy.png","language":"Ruby","funding_links":[],"categories":["Plugins"],"sub_categories":["Ruby (danger)"],"readme":"# danger-findbugs\n[![Gem Version](https://badge.fury.io/rb/danger-findbugs.svg)](https://badge.fury.io/rb/danger-findbugs)\n\nDanger plugin for findbugs formatted xml file.\n\n## Installation\n\n    $ gem install danger-findbugs\n\n## Usage\nChecks on your gradle project's Java source files.\nThis is done using [finbugs](http://findbugs.sourceforge.net/)\nResults are passed out as tables in markdown.\n\n\u003cblockquote\u003eRunning Findbugs with its basic configuration\n  \u003cpre\u003e\nfindbugs.report\u003c/pre\u003e\n\u003c/blockquote\u003e\n\n\u003cblockquote\u003eRunning Findbugs with a specific gradle task or report_file\n  \u003cpre\u003e\nfindbugs.gradle_task = \"app:findbugs\" #defalut: findbugs\nfindbugs.report_file = \"app/build/reports/findbugs/findbugs.xml\"\nfindbugs.report\u003c/pre\u003e\n\u003c/blockquote\u003e\n\n#### Attributes\n\n`gradle_module` - Custom gradle module to run.\nThis is useful when your project has different flavors.\nDefaults to \"app\".\n\n`gradle_modules` - Custom multiple gradle module to run.\nDefaults to \"[`gradle_module`]\".\n\n`gradle_task` - Custom gradle task to run.\nThis is useful when your project has different flavors.\nDefaults to \"findbugs\".\n\n`gradle_project` - Custom gradle project directory.\nDefaults is repository's root directory.\n\n`report_file` - Location of report file\nIf your findbugs task outputs to a different location, you can specify it here.\nDefaults to \"build/reports/findbugs_report.xml\".\n\n#### Methods\n\n`report` - Calls findbugs task of your gradle project.\nIt fails if `gradlew` cannot be found inside current directory.\nIt fails if `report_file` cannot be found inside current directory.\n\n`target_files` - A getter for current updated files\n\n`exec_gradle_task` - Run gradle task\n\n`gradlew_exists?` - Check gradlew file exists in current directory\n\n`report_file_exist?` - Check report_file exists in current directory\n\n`findbugs_report` - A getter for `gradle_task`, returning \"findbugs\" if value is nil.\n\n`bug_issues` - A getter for `gradle_task`, returning \"findbugs\" if value is nil.\n\n`send_inline_comment` - Send inline comment with danger's warn or fail method\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk4zy%2Fdanger-findbugs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk4zy%2Fdanger-findbugs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk4zy%2Fdanger-findbugs/lists"}