def format_coverage_line(text, statements, missed, coverage, missed_lines=False):
    """Format one line with code coverage report of one class or for a summary."""
    format_string = "{:80}   {:3d}  {:3d}   {:3d}%"
    if missed_lines:
        format_string += "   N/A"
    return format_string.format(text, statements, missed, coverage)