def generate(self):
logger.info('<STR_LIT>')<EOL>self._generate_graph(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>self._stats.per_version_data,<EOL>'<STR_LIT>'<EOL>)<EOL>self._generate_graph(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>self._stats.per_file_type_data,<EOL>'<STR_LIT>'<EOL>)<EOL>self._generate_graph(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>self._stats.per_installer_data,<EOL>'<STR_LIT>'<EOL>)<EOL>self._generate_graph(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>self._stats.per_implementation_data,<EOL>'<STR_LIT>'<EOL>)<EOL>self._generate_graph(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>self._stats.per_system_data,<EOL>'<STR_LIT>'<EOL>)<EOL>self._generate_graph(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>self._stats.per_country_data,<EOL>'<STR_LIT>'<EOL>)<EOL>self._generate_graph(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>self._stats.per_distro_data,<EOL>'<STR_LIT>'<EOL>)<EOL>self._generate_badges()<EOL>logger.info('<STR_LIT>')<EOL>html = self._generate_html()<EOL>html_path = os.path.join(self.output_dir, '<STR_LIT>')<EOL>with open(html_path, '<STR_LIT:wb>') as fh:<EOL><INDENT>fh.write(html.encode('<STR_LIT:utf-8>'))<EOL><DEDENT>logger.info('<STR_LIT>', html_path)<EOL>logger.info('<STR_LIT>')<EOL>for name, svg in self._badges.items():<EOL><INDENT>path = os.path.join(self.output_dir, '<STR_LIT>' % name)<EOL>with open(path, '<STR_LIT:w>') as fh:<EOL><INDENT>fh.write(svg)<EOL><DEDENT>logger.info('<STR_LIT>', name, path)<EOL><DEDENT>
Generate all output types and write to disk.