parameters: (summary, ignore)
return_statement: return convert_bool_value_to_status_string(value)
docstring: Determine the status of any performed static code analysis and
      return a string representation of that status. By setting the ignore
      flag, "Ignored" instead of "Failed" is returned.
  
      Parameters
      ----------
      summary: A dictionary containing per file dictionaries of static code
               analysis messages.
      ignore:  Boolean value, True or False
  
      Returns
      -------
      String "Passed Successfully", "Skipped", "Failed" or "Ignored".
docstring_summary: Determine the status of any performed static code analysis and
      return a string representation of that status. By setting the ignore
      flag, "Ignored" instead of "Failed" is returned.
docstring_tokens: Determine the status of any performed static code analysis and return a string representation of that status . By setting the ignore flag Ignored instead of Failed is returned .
function: def convert_summary_to_status_string(summary, ignore):
      """Determine the status of any performed static code analysis and
      return a string representation of that status. By setting the ignore
      flag, "Ignored" instead of "Failed" is returned.
  
      Parameters
      ----------
      summary: A dictionary containing per file dictionaries of static code
               analysis messages.
      ignore:  Boolean value, True or False
  
      Returns
      -------
      String "Passed Successfully", "Skipped", "Failed" or "Ignored".
      """
  
      if summary is None:
          value = None
      else:
          num_msgs = get_num_msgs(summary)
          if num_msgs == 0:
              value = True
          else:
              value = False
  
      if ignore and value is False:  # 'not value' doesn't work here.
          return "Ignored"           # value can also be None.
  
      return convert_bool_value_to_status_string(value)
function_tokens: def convert_summary_to_status_string ( summary , ignore ) : if summary is None : value = None else : num_msgs = get_num_msgs ( summary ) if num_msgs == 0 : value = True else : value = False if ignore and value is False : # 'not value' doesn't work here. return "Ignored" # value can also be None. return convert_bool_value_to_status_string ( value )