Skip to content

method calls through object instances/pointers are dropped in CALLER EDGES #1153

Description

@sreehari83

Version

codebase-memory-mcp 0.9.0

Platform

Linux (x64)

Install channel

GitHub release archive / install.sh / install.ps1

Binary variant

standard

What happened, and what did you expect?

The dropped calls share a trait: they're method calls through object instances/pointers:

instEntry->processChange() ❌
instEntry->processAdd() ❌
instEntry->setApp() ❌
appEntry->samplerInstEntry() ❌
params->printParams() ❌
The captured calls are mostly free functions / static / uniquely-named:

gSampler.sampleInstEntry(...) ✅ (0.38, unique_name)
createPlatInstEntry(...) ✅ (free function)
insertSampleInstEntry(...) ✅

Reproduction

codebase-memory-mcp cli index_repository --repo-path /data/src/repo --mode fast --name branch --persistence true

HOME=/data/codebase codebase-memory-mcp cli query_graph --project branch --query "MATCH (caller:Method)-[c:CALLS]->(callee) WHERE caller.qualified_name = 'master.forwarding.aftman.sampler.src.SamplerMsgHandler.SamplerMsgHandler.processAdd' RETURN callee.name, callee.qualified_name, callee.file_path, c.confidence, c.candidates, c.strategy, c.line ORDER BY c.line LIMIT 50"

Logs


Diagnostics trajectory (memory / performance / leak issues)


Project scale (if relevant)

No response

Confirmations

  • I searched existing issues and this is not a duplicate.
  • My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingparsing/qualityGraph extraction bugs, false positives, missing edgeswindowsWindows-specific issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions