#NEWLINE# def report( self , inputs = [ ] , report = EMMA_REPORT . HTML , sourcepath = [ ] , commonOptions = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) : #NEWLINE# #INDENT# '\n        The description of the command can be found here: http://emma.sourceforge.net/reference/ch02s04s03.html\n        :param inputs:\n        :param report:\n        :param sourcepath:\n        :param commonOptions:\n        ' #NEWLINE# 'Genoptions can be seen here: http://emma.sourceforge.net/reference/ch03s02.html#prop-ref.report.out.file' #NEWLINE# options = '' #NEWLINE# if inputs : #NEWLINE# #INDENT# options += ' -input ' #NEWLINE# for f in inputs : #NEWLINE# #INDENT# options += ( f + ',' ) #NEWLINE# #UNINDENT# options = options [ 0 : ( - 1 ) ] #NEWLINE# #UNINDENT# options += ( ' -report ' + report ) #NEWLINE# if sourcepath : #NEWLINE# #INDENT# options += ' -sourcepath ' #NEWLINE# for src in sourcepath : #NEWLINE# #INDENT# options += ( src + ',' ) #NEWLINE# #UNINDENT# options = options [ 0 : ( - 1 ) ] #NEWLINE# #UNINDENT# if commonOptions : #NEWLINE# #INDENT# for entry in commonOptions . iteritems ( ) : #NEWLINE# #INDENT# options += ( ( ( ' -D' + entry [ 0 ] ) + '=' ) + entry [ 1 ] ) #NEWLINE# #UNINDENT# #UNINDENT# cmd = self . _previewEmmaCmd ( 'emma report' , options ) #NEWLINE# ( returnCode , outputStr ) = self . _runEmmaCommand ( cmd ) #NEWLINE# return self . _interpResultsEmmaReportCmd ( returnCode , outputStr )