Skip to content
Discussion options

You must be logged in to vote

No — never delete based on the list alone. The wording is deliberate: WireDoctor never claims a bean is "unused", and every payload carries confidence: LOW plus a disclaimer.

Ghost detection works in two phases with different trust postures:

Phase 1 — Ghost Candidates (passive, always on): crosses three metadata signals with zero intrusion:

  1. bean was eagerly instantiated at startup (it cost you memory/boot time)
  2. 0 incoming edges in the resolved dependency graph
  3. no detectable entry point@Controller/@RestController, @Scheduled/@EventListener (incl. private/inherited methods), messaging listeners (@KafkaListener etc.), CommandLineRunner, Lifecycle, HealthIndicator, @Configuration, @Aspect, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ddsha441981
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant