ManuscriptHealthReport.h header

#include <ew/app/ManuscriptHealthReport.h>

Namespace ew::app

Functions

QString ew::app::manuscriptHealthReport(const ew::core::Project &project)

Compiles a manuscript-health and world-coverage report for project as Markdown: overall word/character statistics, the dialogue-vs-narration split, readability scores, point-of-view balance, a writing-style issue summary by category, and codex world-coverage gaps. This is the DESIGN §4.11 "exportable report" – a shareable, dated-by-the-caller snapshot of the same analytics the dock panels show live, assembled from the existing analytics engines (manuscriptStatistics, manuscriptReadability, pointOfViewBalance, StyleAnalyzer, worldCoverage).

Pure: it only reads project and returns Markdown; the caller writes it to a file or renders it to HTML via markdownToHtml (its GFM tables render there). The report uses only the project's own documents and codex, so it does not span mounted libraries. A project with no documents still yields a valid report (zeros and "none" placeholders).