-
Notifications
You must be signed in to change notification settings - Fork 18
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
Remove line from crc32 to be able to track functions in changed files #21
Comments
That's actually not true. The Matching logged tombstone calls to tombstones in the codebase is based on two strategies:
If one of those matches, the logged call is assigned to the tombstone. So you can move a tombstone around, as long as one of those criteria stays the same the analyzer would still be able to match it. Though, if you heavily refactor your codebase (change method names and change code to shift tombstones around), then it can in fact happen, that previously logged tombstone calls are no longer be matched to that tombstone in the code. In that case, the previously logged tombstone calls would show up as If this way of matching is not good or stable enough for you, the idea for custom matching strategies is here, but it hasn't gained much interest yet. |
Those two matches look like a good strategy. The only number that could be not exact is the Thanks for the clarification. |
tombstone/src/core/Model/Tombstone.php
Line 67 in 1560e40
When we save the logger, we use the tombstone hash to save the file log. As we are using the current line call, if we modify the file for any purpose, the line could change so, when we run a new
tombstone-analyzer
routine we will have onedeleted
tombstone call and a new onedead
call.So, for this situation, can we consider removing the line from the tombstone hash?
The text was updated successfully, but these errors were encountered: