{"id":37022161,"url":"https://github.com/pdolezal/net.yetamine.checks","last_synced_at":"2026-01-14T02:38:23.190Z","repository":{"id":57744847,"uuid":"48329211","full_name":"pdolezal/net.yetamine.checks","owner":"pdolezal","description":"A small Java library for compact runtime checks","archived":true,"fork":false,"pushed_at":"2017-01-29T22:21:43.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"version/1.x","last_synced_at":"2023-07-07T16:40:16.816Z","etag":null,"topics":["check","java","library"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/pdolezal.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}},"created_at":"2015-12-20T16:45:07.000Z","updated_at":"2023-07-07T16:40:16.817Z","dependencies_parsed_at":"2022-08-30T12:11:08.911Z","dependency_job_id":null,"html_url":"https://github.com/pdolezal/net.yetamine.checks","commit_stats":null,"previous_names":[],"tags_count":5,"template":null,"template_full_name":null,"purl":"pkg:github/pdolezal/net.yetamine.checks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdolezal%2Fnet.yetamine.checks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdolezal%2Fnet.yetamine.checks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdolezal%2Fnet.yetamine.checks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdolezal%2Fnet.yetamine.checks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdolezal","download_url":"https://codeload.github.com/pdolezal/net.yetamine.checks/tar.gz/refs/heads/version/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdolezal%2Fnet.yetamine.checks/sbom","scorecard":{"id":725562,"data":{"date":"2025-08-11","repo":{"name":"github.com/pdolezal/net.yetamine.checks","commit":"063d9bbb9e9971327678399500f204ecf2cd2c01"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"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":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/18 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":"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":"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact release/1.1.0 not signed: https://api.github.com/repos/pdolezal/net.yetamine.checks/releases/3619681","Warn: release artifact release/1.0.0 not signed: https://api.github.com/repos/pdolezal/net.yetamine.checks/releases/2788376","Warn: release artifact release/1.1.0 does not have provenance: https://api.github.com/repos/pdolezal/net.yetamine.checks/releases/3619681","Warn: release artifact release/1.0.0 does not have provenance: https://api.github.com/repos/pdolezal/net.yetamine.checks/releases/2788376"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'version/1.x'"],"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":"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"}}]},"last_synced_at":"2025-08-22T12:41:44.047Z","repository_id":57744847,"created_at":"2025-08-22T12:41:44.048Z","updated_at":"2025-08-22T12:41:44.048Z"},"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":["check","java","library"],"created_at":"2026-01-14T02:38:22.380Z","updated_at":"2026-01-14T02:38:23.164Z","avatar_url":"https://github.com/pdolezal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# net.yetamine.checks #\n\nThis repository provides a tiny Java library for compact runtime checks, especially for ensuring preconditions.\n\n\n## Examples ##\n\nAn example of a more advanced use of `Argument::check`:\n\n```{java}\npublic void foo(int i) {\n    // Following check throws IllegalArgumentException if not satisfied with the detailed message\n    bar(Argument.check(i, i \u003e 0, () -\u003e String.format(\"Requiring a positive number (given: %d).\", i)));\n}\n\nprivate void bar(int i) {\n    assert (i \u003e 0);\n    // Doing some stuff, requiring 'i' to be positive. But this method is private\n    // and therefore it relies on the callers to provide already checked values.\n}\n```\n\n\n## Prerequisites ##\n\nFor building this project is needed:\n\n* JDK 8 or newer.\n* Maven 3.3 or newer.\n\nFor using the built library is needed:\n\n* JRE 8 or newer.\n\n\n## Licensing ##\n\nThe project is licensed under the [Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0). For previous versions of this repository the original or current license can be chosen, i.e., the current license applies as an option for all previously published content.\n\nContributions to the project are welcome and accepted if they can be incorporated without the need of changing the license or license conditions and terms.\n\n\n[![Yetamine logo](https://github.com/pdolezal/net.yetamine/raw/master/about/Yetamine_small.png \"Our logo\")](https://github.com/pdolezal/net.yetamine/blob/master/about/Yetamine_large.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdolezal%2Fnet.yetamine.checks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdolezal%2Fnet.yetamine.checks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdolezal%2Fnet.yetamine.checks/lists"}