{"id":13472993,"url":"https://github.com/google/error-prone","last_synced_at":"2026-02-27T15:14:38.843Z","repository":{"id":19939649,"uuid":"23206290","full_name":"google/error-prone","owner":"google","description":"Catch common Java mistakes as compile-time errors","archived":false,"fork":false,"pushed_at":"2025-05-05T15:31:51.000Z","size":152445,"stargazers_count":6960,"open_issues_count":442,"forks_count":756,"subscribers_count":157,"default_branch":"master","last_synced_at":"2025-05-05T15:54:29.225Z","etag":null,"topics":["java","static-analysis"],"latest_commit_sha":null,"homepage":"https://errorprone.info","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"react-community/react-native-maps","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-08-21T23:26:50.000Z","updated_at":"2025-05-05T15:19:19.000Z","dependencies_parsed_at":"2024-02-05T20:30:15.506Z","dependency_job_id":"df70c356-1485-4a92-89cd-b25bceded0c6","html_url":"https://github.com/google/error-prone","commit_stats":{"total_commits":6445,"total_committers":313,"mean_commits":20.59105431309904,"dds":0.6884406516679596,"last_synced_commit":"5a3d7f970fd877b97172cb12602c2197889df5f3"},"previous_names":[],"tags_count":81,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Ferror-prone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Ferror-prone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Ferror-prone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Ferror-prone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/error-prone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253797293,"owners_count":21965862,"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":["java","static-analysis"],"created_at":"2024-07-31T16:00:59.814Z","updated_at":"2026-02-27T15:14:38.838Z","avatar_url":"https://github.com/google.png","language":"Java","readme":"# Error Prone\n\nError Prone is a static analysis tool for Java that catches common programming\nmistakes at compile-time.\n\n```java\npublic class ShortSet {\n  public static void main (String[] args) {\n    Set\u003cShort\u003e s = new HashSet\u003c\u003e();\n    for (short i = 0; i \u003c 100; i++) {\n      s.add(i);\n      s.remove(i - 1);\n    }\n    System.out.println(s.size());\n  }\n}\n```\n\n```\nerror: [CollectionIncompatibleType] Argument 'i - 1' should not be passed to this method;\nits type int is not compatible with its collection's type argument Short\n      s.remove(i - 1);\n              ^\n    (see https://errorprone.info/bugpattern/CollectionIncompatibleType)\n1 error\n```\n\n## Getting Started\n\nOur documentation is at [errorprone.info](https://errorprone.info).\n\nError Prone works with [Bazel](https://bazel.build),\n[Maven](https://maven.apache.org), [Ant](https://ant.apache.org), and\n[Gradle](https://gradle.org). See our\n[installation instructions](https://errorprone.info/docs/installation) for\ndetails.\n\n## Developing Error Prone\n\nDeveloping and building Error Prone is documented on the\n[wiki](https://github.com/google/error-prone/wiki/For-Developers).\n\n## Links\n\n-   Mailing lists\n    -   [General discussion](https://groups.google.com/forum/#!forum/error-prone-discuss)\n    -   [Announcements](https://groups.google.com/forum/#!forum/error-prone-announce)\n-   [Javadoc](https://errorprone.info/api/latest/)\n-   Pre-release snapshots are available from Sonatype's snapshot repository\n    (https://central.sonatype.com/repository/maven-snapshots/)\n","funding_links":[],"categories":["Projects","Android","Java","Java (78)","Linting","Инструменты анализа","Code Analysis","静态分析","项目","V. Tools for developing","Metaprogramming","Solutions"],"sub_categories":["Code Analysis","Tools","Kubernetes testing","代码分析","4. Code Analysis"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Ferror-prone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Ferror-prone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Ferror-prone/lists"}