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

Report Generation for krakjoe/tombs #12

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

Report Generation for krakjoe/tombs #12

scheb opened this issue Aug 17, 2020 · 0 comments

Comments

@scheb
Copy link
Owner

scheb commented Aug 17, 2020

Idea

tombs by @krakjoe is an alternative implementation of the tombstone concept, which doesn't require to place tombstone calls in the code. Instead, it's an extension to the PHP runtime, which keeps track of called functions/methods and outputs log data for each call.

The log data could be used to generate reports with tombstone-analyzer. It would be necessary to add another tombstone extractor, which generates a "virtual tombstone" for each function/method in the codebase. This, combined with the logs from tombs, would generate a dead code report for the entire codebase.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant