parameters: (base, exclude, coverage=the_coverage)
return_statement: return tree
docstring: Return covered module names as a nested dict.
docstring_summary: Return covered module names as a nested dict.
docstring_tokens: Return covered module names as a nested dict .
function: def get_tree(base, exclude, coverage=the_coverage):
      """Return covered module names as a nested dict."""
      tree = {}
      runs = coverage.data.executed_files()
      for path in runs:
          if not _skip_file(path, exclude) and not os.path.isdir(path):
              _graft(path, tree)
      return tree
function_tokens: def get_tree ( base , exclude , coverage = the_coverage ) : tree = { } runs = coverage . data . executed_files ( ) for path in runs : if not _skip_file ( path , exclude ) and not os . path . isdir ( path ) : _graft ( path , tree ) return tree