[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4151":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":17,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":15,"starSnapshotCount":15,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},4151,"checkstyle","checkstyle\u002Fcheckstyle","Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.","https:\u002F\u002Fcheckstyle.org",null,"Java",8948,4107,218,870,0,1,5,20,41,"GNU Lesser General Public License v2.1",false,"master",true,[25,26,27,28,29,30],"code-quality","command-line-tool","hacktoberfest","java","static-analysis","static-code-analysis","2026-06-12 02:00:59","# Checkstyle - Java Code Quality Tool\n\n![](https:\u002F\u002Fraw.githubusercontent.com\u002Fcheckstyle\u002Fresources\u002Fmaster\u002Fimg\u002Fcheckstyle-logos\u002Fcheckstyle-logo-260x99.png)\n\n--------------------------\n\n*Checkstyle is a tool that ensures adherence to a code standard or a set of best practices.*\n\n[![][appveyor img]][appveyor]\n[![][circleci img]][circleci]\n[![][cirrusci img]][cirrusci]\n[![][coverage img]][coverage]\n[![][snyk img]][snyk]\n[![][semaphoreci img]][semaphoreci]\n[![][azure img]][azure]\n[![][error prone img]][error prone]\n[![][qodana img]][qodana]\n[![][pitest img]][pitest]\n[![][checker framework img]][checker framework]\n[![][dependabot img]][dependabot]\n[![][release notes\u002Fversion img]][release notes\u002Fversion]\n[![][closed issues img]][closed issues]\n[![][link check img]][link check]\n[![][milestone img]][milestone]\n\n[![][mavenbadge img]][mavenbadge]\n\nThe latest release version can be found at\n[GitHub releases](https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Freleases\u002F)\nor at [Maven repo](https:\u002F\u002Frepo1.maven.org\u002Fmaven2\u002Fcom\u002Fpuppycrawl\u002Ftools\u002Fcheckstyle\u002F).\n\nDocumentation is available in HTML format, see https:\u002F\u002Fcheckstyle.org\u002Fchecks.html .\n\n## Table of Contents\n\n- [Quick Start](#quick-start)\n- [Contributing](#contributing)\n- [Feedback and Support](#feedback-and-support)\n- [Javadoc](#javadoc)\n- [Sponsor Checkstyle](#sponsor-checkstyle)\n- [Licensing](#licensing)\n\n## Quick Start\n\n- Download our [Latest Release](https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Freleases\u002F) from GitHub\n  or Add Checkstyle to your build from [Maven Central](https:\u002F\u002Fmvnrepository.com\u002Fartifact\u002Fcom.puppycrawl.tools\u002Fcheckstyle).\n- Read our Documentation for [usage](https:\u002F\u002Fcheckstyle.org\u002Fcmdline.html)\n  and [configuration](https:\u002F\u002Fcheckstyle.org\u002Fconfig.html).\n\n```bash\n$ cat config.xml\n\u003C?xml version=\"1.0\"?>\n\u003C!DOCTYPE module PUBLIC\n          \"-\u002F\u002FPuppy Crawl\u002F\u002FDTD Check Configuration 1.3\u002F\u002FEN\"\n          \"https:\u002F\u002Fcheckstyle.org\u002Fdtds\u002Fconfiguration_1_3.dtd\">\n\u003Cmodule name=\"Checker\">\n  \u003Cmodule name=\"TreeWalker\">\n    \u003Cmodule name=\"FallThrough\"\u002F>\n  \u003C\u002Fmodule>\n\u003C\u002Fmodule>\n\n$ cat Test.java\nclass Test {\n  public void foo() {\n    int i = 0;\n    while (i >= 0) {\n      switch (i) {\n        case 1:\n        case 2:\n          i++;\n        case 3: \u002F\u002F violation 'fall from previous branch of the switch'\n          i++;\n      }\n    }\n  }\n}\n\n$ java -jar checkstyle-10.18.1-all.jar -c config.xml Test.java\nStarting audit...\n[ERROR] Test.java:9:9: Fall through from previous branch of switch statement [FallThrough]\nAudit done.\nCheckstyle ends with 1 errors.\n```\n\n## Contributing\n\nThanks for your interest in contributing to CheckStyle! Please see the\n[Contribution Guidelines](https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Fblob\u002Fmaster\u002F.github\u002FCONTRIBUTING.md)\nfor information on how to contribute to the project. This includes creating issues, submitting pull\nrequests, and setting up your development environment.\n\n## Build Instructions\n\nPlease see the [CheckStyle Documentation](https:\u002F\u002Fcheckstyle.org\u002Fcontributing.html#Build) for\ninformation on how to build the project.\n\n## Feedback and Support\n\n- Visit our [Discussions Page](https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Fdiscussions), where you\n  can ask questions and discuss the project with other users and contributors. This is our\n  preferred method of communication for topics\n  like usage and configuration questions, debugging, and other feedback.\n- [Stack Overflow](https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Fcheckstyle) is another place to\n  ask questions about Checkstyle usage.\n- If you are interested in contributing to the project, you can join our\n  [Discord Contributors Chat](https:\u002F\u002Fdiscord.com\u002Fchannels\u002F845645228467159061\u002F1216455699488313554)\n  [with invite link](https:\u002F\u002Fdiscord.gg\u002FFsUsYC2ura).\n- Our [Google Groups Forum](https:\u002F\u002Fgroups.google.com\u002Fforum\u002F?hl=en#!forum\u002Fcheckstyle) is a\n  mailing list for discussion and support; however, we may be slow to respond there.\n\n## Javadoc\n\nTake a look at our [javadoc](https:\u002F\u002Fcheckstyle.org\u002Fapidocs\u002Findex.html) to see\nour API documentation.\n\n## Sponsor Checkstyle\n\nCheckstyle is an open-source project that is developed and maintained by volunteers. If you\nfind Checkstyle useful, please consider sponsoring the project. Your support helps us to\nmaintain and improve Checkstyle.\n\n- [Liberapay](https:\u002F\u002Fliberapay.com\u002Fcheckstyle\u002F)\n- [OpenCollective](https:\u002F\u002Fopencollective.com\u002Fcheckstyle\u002F)\n\n[![][backers.opencollective img]][backers.opencollective]\n\n[![][sponsors.opencollective img]][sponsors.opencollective]\n\n## Licensing\n\nCheckstyle is licensed under the [GNU LGPL v2.1 License](LICENSE).\nCheckstyle uses libraries:\n\n- [ANTLR](https:\u002F\u002Fwww.antlr.org\u002F)\n- [Apache Commons](https:\u002F\u002Fcommons.apache.org\u002F)\n- [Google Guava](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fguava\u002F)\n- [Picocli](https:\u002F\u002Fgithub.com\u002Fremkop\u002Fpicocli\u002F)\n\n## Development Tools Powered by\n\n[![JetBrains logo.][jetbrains img]][jetbrains]\n\n[![JProfiler logo.][jprofiler img]][jprofiler]\n\n[jetbrains]:https:\u002F\u002Fjb.gg\u002FOpenSource\n[jetbrains img]:https:\u002F\u002Fresources.jetbrains.com\u002Fstorage\u002Fproducts\u002Fcompany\u002Fbrand\u002Flogos\u002Fjetbrains.svg\n\n[jprofiler]:https:\u002F\u002Fwww.ej-technologies.com\u002Fjprofiler\n[jprofiler img]:https:\u002F\u002Fwww.ej-technologies.com\u002Fimages\u002Fproduct_banners\u002Fjprofiler_medium.png\n\n[appveyor]:https:\u002F\u002Fci.appveyor.com\u002Fproject\u002Fcheckstyle\u002Fcheckstyle\u002Fhistory\n[appveyor img]:https:\u002F\u002Fci.appveyor.com\u002Fapi\u002Fprojects\u002Fstatus\u002Frw6bw3dl9kph6ucc?svg=true\n\n[coverage]:https:\u002F\u002Fcodecov.io\u002Fgithub\u002Fcheckstyle\u002Fcheckstyle?branch=master\n[coverage img]:https:\u002F\u002Fcodecov.io\u002Fgithub\u002Fcheckstyle\u002Fcheckstyle\u002Fcoverage.svg?branch=master\n\n[mavenbadge]:https:\u002F\u002Fsearch.maven.org\u002Fsearch?q=g:%22com.puppycrawl.tools%22%20AND%20a:%22checkstyle%22\n[mavenbadge img]:https:\u002F\u002Fimg.shields.io\u002Fmaven-central\u002Fv\u002Fcom.puppycrawl.tools\u002Fcheckstyle.svg?label=Maven%20Central\n\n[stackoverflow]:https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Fcheckstyle\n[stackoverflow img]:https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstackoverflow-CHECKSTYLE-blue.svg\n\n[teamcity]:https:\u002F\u002Fteamcity.jetbrains.com\u002FviewType.html?buildTypeId=Checkstyle_IdeaInspectionsMaster\n[teamcity img]:https:\u002F\u002Fteamcity.jetbrains.com\u002Fapp\u002Frest\u002Fbuilds\u002FbuildType:(id:Checkstyle_IdeaInspectionsMaster)\u002FstatusIcon\n\n[circleci]: https:\u002F\u002Fcircleci.com\u002Fgh\u002Fcheckstyle\u002Fcheckstyle\u002Ftree\u002Fmaster\n[circleci img]: https:\u002F\u002Fcircleci.com\u002Fgh\u002Fcheckstyle\u002Fcheckstyle\u002Ftree\u002Fmaster.svg?style=svg\n\n[cirrusci]: https:\u002F\u002Fcirrus-ci.com\u002Fgithub\u002Fcheckstyle\u002Fcheckstyle\n[cirrusci img]: https:\u002F\u002Fapi.cirrus-ci.com\u002Fgithub\u002Fcheckstyle\u002Fcheckstyle.svg?branch=master\n\n[snyk]: https:\u002F\u002Fsnyk.io\u002Ftest\u002Fgithub\u002Fcheckstyle\u002Fcheckstyle?targetFile=pom.xml\n[snyk img]: https:\u002F\u002Fsnyk.io\u002Ftest\u002Fgithub\u002Fcheckstyle\u002Fcheckstyle\u002Fbadge.svg\n\n[semaphoreci]: https:\u002F\u002Fcheckstyle.semaphoreci.com\u002Fprojects\u002Fcheckstyle\n[semaphoreci img]: https:\u002F\u002Fcheckstyle.semaphoreci.com\u002Fbadges\u002Fcheckstyle\u002Fbranches\u002Fmaster.svg?style=shields\n\n[azure]:https:\u002F\u002Fdev.azure.com\u002Fromanivanovjr\u002Fromanivanovjr\u002F_build\u002Flatest?definitionId=1&branchName=master\n[azure img]:https:\u002F\u002Fdev.azure.com\u002Fromanivanovjr\u002Fromanivanovjr\u002F_apis\u002Fbuild\u002Fstatus\u002Fcheckstyle.checkstyle?branchName=master\n\n[backers.opencollective]:https:\u002F\u002Fopencollective.com\u002Fcheckstyle\u002F\n[backers.opencollective img]:https:\u002F\u002Fopencollective.com\u002Fcheckstyle\u002Fbackers\u002Fbadge.svg\n\n[sponsors.opencollective]:https:\u002F\u002Fopencollective.com\u002Fcheckstyle\u002F\n[sponsors.opencollective img]:https:\u002F\u002Fopencollective.com\u002Fcheckstyle\u002Fsponsors\u002Fbadge.svg\n\n[dependabot]:https:\u002F\u002Fgithub.com\u002Fdependabot\n[dependabot img]:https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdependabot-025E8C?style=for-the-badge&logo=dependabot\n\n[closed issues]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Fno-old-refs.yml\n[closed issues img]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Fno-old-refs.yml\u002Fbadge.svg\n\n[release notes\u002Fversion]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Freleasenotes-gen.yml\n[release notes\u002Fversion img]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Freleasenotes-gen.yml\u002Fbadge.svg\n\n[link check]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Frun-link-check.yml\n[link check img]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Frun-link-check.yml\u002Fbadge.svg\n\n[error prone]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Ferror-prone.yml\n[error prone img]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Ferror-prone.yml\u002Fbadge.svg\n\n[pitest]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Fpitest.yml\n[pitest img]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Fpitest.yml\u002Fbadge.svg\n\n[checker framework]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Fchecker-framework.yml\n[checker framework img]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Fchecker-framework.yml\u002Fbadge.svg\n\n[milestone]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Fset-milestone-on-referenced-issue.yml\n[milestone img]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Fset-milestone-on-referenced-issue.yml\u002Fbadge.svg\n\n[qodana]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Fqodana.yml\n[qodana img]:https:\u002F\u002Fgithub.com\u002Fcheckstyle\u002Fcheckstyle\u002Factions\u002Fworkflows\u002Fqodana.yml\u002Fbadge.svg\n","Checkstyle 是一个帮助程序员编写符合编码规范的 Java 代码的开发工具。它默认支持 Google Java 风格指南和 Sun 代码约定，但也可以高度自定义以适应不同的编码标准。Checkstyle 可通过 ANT 任务或命令行程序调用执行静态代码分析。其核心功能包括检查代码格式、潜在错误以及编程实践的一致性，从而提高代码质量。适用于需要确保代码风格一致性的个人开发者或团队项目中，特别是在大型或多开发者参与的 Java 项目中尤为有用。",2,"2026-06-11 02:58:42","top_language"]