Packages of files don't create any CodeObject entries
還沒有人認領這個 Issue。
評估
研究方向
從 issue 中連結的範例專案開始,重現包含空白 classMap 項目的產生 AppMap。追蹤檔案套件的 classMap 產生流程,並驗證產生的 AppMap 包含有效的 CodeObject 項目,且其序列圖能在沒有空白物件的情況下進行渲染。
由索引模型根據 Issue 內容生成。
描述
Given the following sample project: https://gist.github.com/dustinbyrne/c3943c4857d2ad65dea92c1c944da7d7
The following AppMap is generated containing an empty object within the classMap array. This prevents the sequence diagram from rendering.
{
"version": "1.12.0",
"metadata": {
"app": "my-test",
"language": { "name": "ruby", "engine": "ruby", "version": "3.1.0" },
"client": {
"name": "appmap",
"url": "https://github.com/applandinc/appmap-ruby",
"version": "0.99.4"
}
},
"classMap": [{}],
"events": [
{
"id": 1,
"event": "call",
"thread_id": 1820,
"defined_class": "Test",
"method_id": "demo",
"path": "test.rb",
"lineno": 7,
"static": false,
"parameters": [],
"receiver": {
"class": "Test",
"object_id": 1800,
"value": "#<Test:0x00007fce667ab2c8>"
}
},
{
"id": 2,
"event": "call",
"thread_id": 1820,
"defined_class": "Test",
"method_id": "print",
"path": "test.rb",
"lineno": 12,
"static": false,
"parameters": [
{
"name": "msg",
"class": "String",
"object_id": 1840,
"value": "Hello World",
"kind": "req"
}
],
"receiver": {
"class": "Test",
"object_id": 1800,
"value": "#<Test:0x00007fce667ab2c8>"
}
},
{
"id": 3,
"event": "return",
"thread_id": 1820,
"parent_id": 2,
"elapsed": 4.868998075835407e-6,
"elapsed_instrumentation": 5.296599920256995e-5
},
{
"id": 4,
"event": "return",
"thread_id": 1820,
"parent_id": 1,
"elapsed": 7.210700277937576e-5,
"elapsed_instrumentation": 7.861099584260955e-5
}
]
}
- 主要語言
- Ruby
- 星號
- 101
- 分支
- 13
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
getappmap/appmap-ruby 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 30/100
getappmap/appmap-ruby#363 · 2 則留言 ·
-
難度 3/5 1-2 天 新手友好度 42/100
getappmap/appmap-ruby#360 ·
-
enhancement
難度 3/5 1-2 天 新手友好度 45/100
getappmap/appmap-ruby#357 ·
-
bug
難度 4/5 3-5 天 新手友好度 45/100
getappmap/appmap-ruby#355 ·
-
bug
難度 4/5 3-5 天 新手友好度 35/100
getappmap/appmap-ruby#344 · 2 則留言 · 1 個 reaction ·
查看 getappmap/appmap-ruby 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 75/100
thewca/worldcubeassociation.org#16088 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
Homebrew/homebrew-core#319232 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 1 天內回覆
-
enhancement help wanted
難度 2/5 1-3 小時 新手友好度 78/100
ecosyste-ms/repos#1215 ·
維護者通常 1 天內回覆