parameters: ()
docstring: Remove all coverage data.
docstring_summary: Remove all coverage data.
docstring_tokens: Remove all coverage data .
function: def clean():
      """
      Remove all coverage data.
      """
      sourcedirs = getDirectories()
      if not sourcedirs:
          return
  
      dirflags = []
      for d in sourcedirs:
          dirflags.append('-d')
          dirflags.append(d)
      subprocess.call(['lcov', '--zerocounters'] + dirflags)
      subprocess.call(['lcov', '-c', '-i', '-b', '.'] + dirflags + ['-o', 'coverage-base.info'])
function_tokens: def clean ( ) : sourcedirs = getDirectories ( ) if not sourcedirs : return dirflags = [ ] for d in sourcedirs : dirflags . append ( '-d' ) dirflags . append ( d ) subprocess . call ( [ 'lcov' , '--zerocounters' ] + dirflags ) subprocess . call ( [ 'lcov' , '-c' , '-i' , '-b' , '.' ] + dirflags + [ '-o' , 'coverage-base.info' ] )