Problem/Motivation
On a fresh D11 install, the Site Audit Report will throw an error, because things are too good.
Steps to reproduce
Install a fresh D11 site.
Install Site Audit
Visit /admin/reports/site-audit
Observe error
DivisionByZeroError: Division by zero in Drupal\site_audit\Plugin\SiteAuditCheck\StatusSystem->calculateScore() (line 139 of /var/www/html/src/Plugin/SiteAuditCheck/StatusSystem.php).
Proposed resolution
Fix it.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork site_audit-3580535
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
froboy