parameters: (self)
docstring: Writes class-wise coverage to a CSV file.
docstring_summary: Writes class-wise coverage to a CSV file.
docstring_tokens: Writes class - wise coverage to a CSV file .
function: def write_coverage(self):
          """Writes class-wise coverage to a CSV file.
  
          """
          class_nodes = self.xml_root.xpath(XPATHS["class_decl"])
          self.df = pandas.DataFrame(
                  columns=["ClassName", "Coverage"] + all_kinds)
          self.get_class_coverage(class_nodes)
  
          self.df_pruned.to_csv(self.csv, index=False)
function_tokens: def write_coverage ( self ) : class_nodes = self . xml_root . xpath ( XPATHS [ "class_decl" ] ) self . df = pandas . DataFrame ( columns = [ "ClassName" , "Coverage" ] + all_kinds ) self . get_class_coverage ( class_nodes ) self . df_pruned . to_csv ( self . csv , index = False )