{"id":25777102,"url":"https://github.com/getappmap/appmap-java","last_synced_at":"2026-01-22T18:51:52.210Z","repository":{"id":37438837,"uuid":"210409994","full_name":"getappmap/appmap-java","owner":"getappmap","description":"AppMap client agent for Java","archived":false,"fork":false,"pushed_at":"2026-01-17T12:09:01.000Z","size":1539,"stargazers_count":86,"open_issues_count":73,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-17T23:03:50.952Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getappmap.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"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-09-23T17:08:09.000Z","updated_at":"2025-11-11T00:01:13.000Z","dependencies_parsed_at":"2026-01-03T01:02:06.493Z","dependency_job_id":null,"html_url":"https://github.com/getappmap/appmap-java","commit_stats":null,"previous_names":["applandinc/appmap-java"],"tags_count":85,"template":false,"template_full_name":null,"purl":"pkg:github/getappmap/appmap-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getappmap%2Fappmap-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getappmap%2Fappmap-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getappmap%2Fappmap-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getappmap%2Fappmap-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getappmap","download_url":"https://codeload.github.com/getappmap/appmap-java/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getappmap%2Fappmap-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28668544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-02-27T06:01:36.525Z","updated_at":"2026-01-22T18:51:52.159Z","avatar_url":"https://github.com/getappmap.png","language":"Java","funding_links":[],"categories":["静态分析"],"sub_categories":[],"readme":"- [About](#about)\n- [Usage](#usage)\n- [Development](#development)\n  - [Building](#building)\n  - [Testing](#testing)\n\n# About\n\n`appmap-java` is a Java agent for recording\n[AppMaps](https://github.com/getappmap/appmap) of your code. \"AppMap\" is a data\nformat which records code structure (modules, classes, and methods), code\nexecution events (function calls and returns), and code metadata (repo name,\nrepo URL, commit SHA, labels, etc). It's more granular than a performance\nprofile, but it's less granular than a full debug trace. It's designed to be\noptimal for understanding the design intent and structure of code and key data\nflows.\n\n# Usage\n\nVisit the [AppMap for Java](https://appmap.io/docs/reference/appmap-java.html)\nreference page on AppLand.com for a complete reference guide.\n\n# Development\n\n[![Build Status](https://travis-ci.com/getappmap/appmap-java.svg?branch=master)](https://travis-ci.com/getappmap/appmap-java)\n\nThe [Spring PetClinic](https://github.com/spring-projects/spring-petclinic)\nprovides a convenient way to develop on `appmap-java`.\n\nObtain the `spring-petclinic` JAR file, and launch it with the AppLand Java\nagent:\n\n```sh\nexport PETCLINIC_DIR=\u003cpath-to-petclinic\u003e\njava -Dappmap.debug \\\n  -javaagent:build/libs/appmap.jar \\\n  -Dappmap.config.file=test/appmap.yml \\\n  -jar $(PETCLINIC_DIR)/target/spring-petclinic-2.2.0.BUILD-SNAPSHOT.jar\n```\n\nYou can use Java remote debug settings to attach a debugger:\n\n```sh\nexport PETCLINIC_DIR=\u003cpath-to-petclinic\u003e\njava -Dappmap.debug \\\n  -javaagent:build/libs/appmap.jar \\\n  -Dappmap.config.file=test/appmap.yml \\\n  -Xdebug \\\n  -Xrunjdwp:server=y,transport=dt_socket,address=5005,suspend=y \\\n  -jar $PETCLINIC_DIR/target/spring-petclinic-2.2.0.BUILD-SNAPSHOT.jar\n```\n\n## Building\n\nArtifacts will be written to `build/libs`. Use `appmap.jar` as your agent.\n\n```sh\n./gradlew build\n```\n\n## Testing\n\n\n## Unit tests\n\nUnit tests are run with `./gradlew test`.\n\n## Integration tests\n\nThe integration tests use [bats](https://github.com/sstephenson/bats) and Docker.\n\nRun the following command:\n\n```sh\n./bin/test\n```\n\nTo get an interactive shell to write/debug the tests, try:\n\n```shell\n./bin/test /bin/bash\n```\n\nOnce in the shell, run:\n\n```shell\nDEBUG_JSON=true bats --tap /test/*.bats\n```\n\nOr:\n\n```shell\nDEBUG_JSON=true bats --tap /test/*.bats -f 'http'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetappmap%2Fappmap-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetappmap%2Fappmap-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetappmap%2Fappmap-java/lists"}