{"id":20082124,"url":"https://github.com/exercism/java-analyzer","last_synced_at":"2026-03-03T15:04:03.371Z","repository":{"id":34403650,"uuid":"178430588","full_name":"exercism/java-analyzer","owner":"exercism","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-01T18:19:51.000Z","size":1022,"stargazers_count":12,"open_issues_count":24,"forks_count":26,"subscribers_count":10,"default_branch":"main","last_synced_at":"2026-03-01T20:42:35.155Z","etag":null,"topics":["community-contributions-accepted","exercism-analyzer","exercism-tooling","maintained"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exercism.png","metadata":{"funding":{"github":["exercism"],"custom":["https://exercism.org/donate"]},"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-03-29T15:25:48.000Z","updated_at":"2026-03-01T18:19:53.000Z","dependencies_parsed_at":"2023-11-21T10:37:01.162Z","dependency_job_id":"96640a97-2dce-4680-96af-78b0129a422f","html_url":"https://github.com/exercism/java-analyzer","commit_stats":{"total_commits":147,"total_committers":16,"mean_commits":9.1875,"dds":0.7414965986394557,"last_synced_commit":"d2373ea2c60b2ddfb9e470db2ff5acc2542570ae"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/exercism/java-analyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjava-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjava-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjava-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjava-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exercism","download_url":"https://codeload.github.com/exercism/java-analyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exercism%2Fjava-analyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30050222,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T14:38:37.398Z","status":"ssl_error","status_checked_at":"2026-03-03T14:38:06.721Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["community-contributions-accepted","exercism-analyzer","exercism-tooling","maintained"],"created_at":"2024-11-13T15:42:01.846Z","updated_at":"2026-03-03T15:04:03.294Z","avatar_url":"https://github.com/exercism.png","language":"Java","readme":"# Java Analyzer [![Coverage Status](https://coveralls.io/repos/github/exercism/java-analyzer/badge.svg?branch=main)](https://coveralls.io/github/exercism/java-analyzer?branch=main)\n\nThe Java analyzer uses [Abstract Syntax Trees][ast-wiki] (ASTs) to analyze submitted solutions using the [`javaparser`][javaparser] library.\n\nThe documentation for this project can be found at [exercism.github.io/java-analyzer/][documentation].\n\n## Contributing\n\nIf you want to contribute to the Java analyzer, please refer to the [Contributing Guide][contributing-guide].\n\n## Usage\n\n### Running directly\n\nStart by building the JAR using Gradle:\n\n```sh\n./gradlew build\n```\n\nThen, run the Java analyzer using `build/libs/java-analyzer.jar`.\nFor example, to analyze a solution for the `leap` exercise, run:\n\n```sh\njava -jar build/libs/java-analyzer.jar leap /path/to/leap /path/to/output/folder\n```\n\nThe analyzer output is written to `analysis.json` and `tags.json` in `/path/to/output/folder`.\n\n### Running with Docker\n\nTo run the Java analyzer using Docker, first build and tag the Docker image:\n\n```sh\ndocker build -t exercism/java-analyzer .\n```\n\nThen, run the image and mount the directory of the solution to analyze.\nFor example, to analyze a solution for the `leap` exercise located at `~/exercism/java/leap`, run:\n\n```sh\ndocker run -v /path/to/leap:/input -v /path/to/output/folder:/output exercism/java-analyzer leap /input /output\n```\n\nThe analyzer output is written to `analysis.json` and `tags.json` in `/path/to/output/folder`.\n\n## Tests\n\n### Unit tests\n\nTo run the unit tests:\n\n```sh\n./gradlew test\n```\n\n### Smoke tests\n\nTo run the smoke tests using Docker:\n\n```sh\nbin/run-tests-in-docker.sh\n```\n\n[ast-wiki]: https://en.wikipedia.org/wiki/Abstract_syntax_tree\n[contributing-guide]: https://github.com/exercism/java-analyzer/blob/main/CONTRIBUTING.md\n[documentation]: https://exercism.github.io/java-analyzer/\n[javaparser]: https://github.com/javaparser/javaparser\n","funding_links":["https://github.com/sponsors/exercism","https://exercism.org/donate"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fjava-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexercism%2Fjava-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexercism%2Fjava-analyzer/lists"}