def output(self, _filename):
        """
        _filename is not used
            Args:
                _filename(string)
        """

        txt = "Analyze of {}\n".format(self.slither.filename)
        txt += self.get_detectors_result()
        for contract in self.slither.contracts_derived:
            txt += "\nContract {}\n".format(contract.name)
            txt += self.is_complex_code(contract)
            is_erc20 = contract.is_erc20()
            txt += '\tNumber of functions:{}'.format(self._number_functions(contract))
            txt += "\tIs ERC20 token: {}\n".format(contract.is_erc20())
            if is_erc20:
                txt += self.get_summary_erc20(contract)

        self.info(txt)
def output ( self , _filename ) : txt = "Analyze of {}\n" . format ( self . slither . filename ) txt += self . get_detectors_result ( ) for contract in self . slither . contracts_derived : txt += "\nContract {}\n" . format ( contract . name ) txt += self . is_complex_code ( contract ) is_erc20 = contract . is_erc20 ( ) txt += '\tNumber of functions:{}' . format ( self . _number_functions ( contract ) ) txt += "\tIs ERC20 token: {}\n" . format ( contract . is_erc20 ( ) ) if is_erc20 : txt += self . get_summary_erc20 ( contract ) self . info ( txt )
_filename is not used
            Args:
                _filename(string)