Generates an optional HTML report in the output directory.