With the introduction of .GetWarnings() in the Revit 2018 API, I retooled my model health scripts from scratch. For those out there with a similar mindset, here is an approachable starting point that can be easily expanded to include your desired metrics.
The following definition is an expandable framework currently outputting three data-points.
Python Code: Get Warnings
Please note that the following Python code utilizing .GetWarnings() requires Revit 2018 or later.
Dynamo Definition: Collect Warnings and Imports
The first half of the graph collects warnings and imports.
Dynamo Definition: Write Summary to Revit Starting View
The second half writes a summary of the report to a text note on the Revit Starting View.
Expanding on this early framework- I’m thinking the end result will include a few dozen data-points, presented on the Revit Starting View, with updating available via Dynamo Player.