def badge_width(self):
        """The total width of badge.

        >>> badge = Badge('pylint', '5', font_name='DejaVu Sans,Verdana,Geneva,sans-serif',
        ...               font_size=11)
        >>> badge.badge_width
        91
        """
        return self.get_text_width('   ' + ' ' * int(float(self.num_padding_chars) * 2.0)) \
            + self.label_width + self.value_width