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