Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom tombstone extractors #7

Open
scheb opened this issue Aug 6, 2020 · 0 comments
Open

Custom tombstone extractors #7

scheb opened this issue Aug 6, 2020 · 0 comments

Comments

@scheb
Copy link
Owner

scheb commented Aug 6, 2020

Idea

The analyzer is scanning the source code for calls to the tombstone function. This is how the analyzer gets it's list of "active tombstones". There might be reasons why you'd want to generate the list differently, or extend the list with additional tombstone locations* which cannot be detected by the extractor. A configuration option to register a custom extractor would be the solution.

(* One idea that I had for this was "virtual tombstones". Creating a tombstone that is actually not in the source code, but pretend as if it was there. For example you want all "Controller" classes automatically tagged with a virtual tombstone and every time the application calls a controller, you programmatically log a call to that virtual tombstone. You would get a report that shows which controllers are in use.)

If this idea would be useful to you, give it a +1

@scheb scheb modified the milestone: 1.0 Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant