@classmethod
def __format_comparison_line(cls, name, private, total):
    """
        Method to create the string that will be printed out to screen for the stats file.
        :return:
        """
    if total > 0:
        perc = 100 * private / total
    else:
        perc = 0
    string = '{0} {1}/{2}  ({3:.2f}%)'.format(cls.__format_rowname(name),
        private, total, perc)
    return string
