{"id":37019047,"url":"https://github.com/uzzu/danger-checkstyle-plugin","last_synced_at":"2026-01-14T02:02:43.550Z","repository":{"id":57716345,"uuid":"287894667","full_name":"uzzu/danger-checkstyle-plugin","owner":"uzzu","description":"Checkstyle plugin for Danger Kotlin will be available when Danger Kotlin using Kotlin 1.4 is released.","archived":true,"fork":false,"pushed_at":"2020-10-22T04:04:05.000Z","size":121,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-06-29T15:36:22.598Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uzzu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-16T07:22:09.000Z","updated_at":"2023-01-27T19:34:51.000Z","dependencies_parsed_at":"2022-08-26T12:33:15.179Z","dependency_job_id":null,"html_url":"https://github.com/uzzu/danger-checkstyle-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/uzzu/danger-checkstyle-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzzu%2Fdanger-checkstyle-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzzu%2Fdanger-checkstyle-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzzu%2Fdanger-checkstyle-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzzu%2Fdanger-checkstyle-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uzzu","download_url":"https://codeload.github.com/uzzu/danger-checkstyle-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uzzu%2Fdanger-checkstyle-plugin/sbom","scorecard":{"id":913891,"data":{"date":"2025-08-11","repo":{"name":"github.com/uzzu/danger-checkstyle-plugin","commit":"fc0a38bf4913dacfa5c7ac9310acfbba6548cc3b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/15 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/pull-request.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/uzzu/danger-checkstyle-plugin/publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/uzzu/danger-checkstyle-plugin/publish.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull-request.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/uzzu/danger-checkstyle-plugin/pull-request.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull-request.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/uzzu/danger-checkstyle-plugin/pull-request.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pull-request.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/uzzu/danger-checkstyle-plugin/pull-request.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pull-request.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/uzzu/danger-checkstyle-plugin/pull-request.yml/main?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T20:15:59.232Z","repository_id":57716345,"created_at":"2025-08-24T20:15:59.232Z","updated_at":"2025-08-24T20:15:59.232Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-01-14T02:02:43.037Z","updated_at":"2026-01-14T02:02:43.541Z","avatar_url":"https://github.com/uzzu.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Coding Style][ktlint-img]][ktlint] [![Released Version][maven-img]][maven]\n\n# danger-checkstyle-plugin\n\nA [Danger Kotlin](https://github.com/danger/kotlin) plugin for reporting [checkstyle](https://checkstyle.org/) result.\n\n## Setup\n\n- [Install Danger Kotlin](https://github.com/danger/kotlin#setup)\n- Add the following dependency in your `Dangerfile.df.kts` :\n  ```kotlin\n  @file:DependsOn(\"co.uzzu.danger.plugins:checkstyle:0.2.0\")\n  ```\n- Register plugin and then write script to report your checkstyle result. \n  ```kotlin\n  import co.uzzu.danger.plugins.checkstyle.CheckStyle\n  import systems.danger.kotlin.Danger\n  import systems.danger.kotlin.register\n\n  register plugin CheckStyle\n\n  // :\n  ```\n\n## Examples\n\n### Simple use\n\n```kotlin\n@file:DependsOn(\"co.uzzu.danger.plugins:checkstyle:0.2.0\")\n\nimport co.uzzu.danger.plugins.checkstyle.CheckStyle\nimport systems.danger.kotlin.Danger\nimport systems.danger.kotlin.register\n\nregister plugin CheckStyle\n\nval d = Danger(args)\n\nCheckStyle.report(\"path/to/checkstyle_result.xml\")\n```\n\n### Use with glob matcher\n\n```kotlin\n@file:DependsOn(\"co.uzzu.danger.plugins:checkstyle:0.2.0\")\n\nimport co.uzzu.danger.plugins.checkstyle.CheckStyle\nimport systems.danger.kotlin.Danger\nimport systems.danger.kotlin.register\n\nregister plugin CheckStyle\n\nval d = Danger(args)\n\nCheckStyle.report(\"glob:**/path/to/*check_result.xml\")\n```\n\n### Use with configuration block\n\n```kotlin\n@file:DependsOn(\"co.uzzu.danger.plugins:checkstyle:0.2.0\")\n\nimport co.uzzu.danger.plugins.checkstyle.CheckStyle\nimport systems.danger.kotlin.Danger\nimport systems.danger.kotlin.register\n\nregister plugin CheckStyle\n\nval d = Danger(args)\n\nCheckStyle.report {\n    // Set configuration properties \n    // :\n\n    // [Required] Set path to checkstyle result file.\n    path = \"path/to/checkstyle_result.xml\"\n}\n```\n\n## Configuration\n\nYou can customize reporting styles as you needed by using configuration scope.\nThe CheckStyle plugin object also has same properties, and these properties are used as default of configuration scope.\n\n### reporter\n\nDeterminate the reporting style. You can choose the following reporter.\n\n#### Inline\n\nReport as inline comment\nYou can choose reporting method `MESSAGE`, `WARN`, and `FAIL` .\n\n```kotlin\nimport co.uzzu.danger.plugins.checkstyle.Inline\nimport co.uzzu.danger.plugins.checkstyle.ReportMethod.*\n\nCheckStyle.reporter = Inline // reporterMethod = ERROR is used by default.\nCheckStyle.reporter = Inline { reportMethod = WARN }\n```\n\n#### Markdown\n\nReport as message with the Markdown format.\n\n```kotlin\nimport co.uzzu.danger.plugins.checkstyle.Markdown\n\nCheckStyle.reporter = Markdown // label = \"Checkstyle\" is used by default.\nCheckStyle.reporter = Markdown { label =  \"My checkstyle\" }\n```\n\n### severities\n\nDeterminate list of the checkstyle severities(`ERROR`, `IGNORE`, `INFO`, `WARNING` ) to report.\nOnly `ERROR` is reported by default.\n\n```kotlin\nimport co.uzzu.danger.plugins.checkstyle.Severity.*\n\nCheckStyle.severities = listOf(ERROR, IGNORE, INFO, WARNING)\n```\n\n### basePath\n\nDeterminate base of check style result file path.\nThe working directory is used by default.\n\n```kotlin\nCheckStyle.basePath = \"path/to/your/base/directory\"\n```\n\n## License\n\n[Apache 2.0 License](LICENSE.txt)\n\n[ktlint-img]: https://img.shields.io/badge/code%20style-%E2%9D%A4-FF4081.svg\n[ktlint]: https://ktlint.github.io/\n[maven-img]: https://img.shields.io/maven-central/v/co.uzzu.danger.plugins/checkstyle.svg?maxAge=2000\n[maven]: https://search.maven.org/search?q=g:co.uzzu.danger.plugins\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuzzu%2Fdanger-checkstyle-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuzzu%2Fdanger-checkstyle-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuzzu%2Fdanger-checkstyle-plugin/lists"}