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

HTML report missing figures on "Source" and "Dashboard" pages #25

Closed
mfscripts opened this issue Dec 13, 2023 · 1 comment
Closed

HTML report missing figures on "Source" and "Dashboard" pages #25

mfscripts opened this issue Dec 13, 2023 · 1 comment
Labels

Comments

@mfscripts
Copy link

mfscripts commented Dec 13, 2023

Package version: 1.5.2

Description

When generating the HTML report using the analyzer, the "Source" figures aren't populated and the headline figures on "Dashboard" are missing.

The tombstone entries are logged fine when they're hit and the analyzer appears to scan the codebase fine.

We've wrapped the call to the tombstone() function with our own static method, could this be the cause? Tombstone::check();

To Reproduce

  1. Create the tombstone.yml file:
source_code:
  root_directory: /usr/local/www
logs:
  directory: ./tmp/tombstones
report:
  html: ./tmp/report/
  1. Run the analyzer

Additional Context

"Source" screen:
image

"Dashboard" screen:
image

@mfscripts mfscripts added the Bug label Dec 13, 2023
@mfscripts
Copy link
Author

I managed to trace this through in the end. For anyone else, you can set a configuration option within tombstone.yml to your own function name. For example:

tombstones:
  # Override the default Tombstone function name so it's parsed correctly on the analyzer
  parser:
    function_names: ['Tombstone::check']

@scheb scheb closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants