

def html_module_excludes(filename, excludes):
    '\n    Creates an index page of packages and modules which were excluded from the\n    coverage analysis at the specified filename.\n\n    It uses `templates.default_module_excludes` to create the page. The template\n    contains the following sections which need to be rendered and assembled into\n    the final HTML.\n\n    TOP: Contains the HTML declaration and head information, as well as the\n         inline stylesheet.\n\n    CONTENT_HEADER: The header portion of the body.\n\n    CONTENT_BODY: A list of excluded packages and modules. Requires the following\n                  variable:\n                  * ``%(long_desc)s`` A long description of what this page\n                    is about.\n                  * ``%(exception_list)s`` List of package and module names\n                    which is generated by looping through each line and\n                    concatenanting together rendered ``EXCEPTION_LINE``\n                    template (see below).\n\n    BOTTOM: Just a closing ``</body></html>``\n\n    EXCEPTION_LINE: Used to assemble the content of ``%(exclude_list)s`` for ``CONTENT_BODY``.\n                    Requires the following variable:\n                    * ``%(module_name)s``\n    '
    long_desc = '    These packages and modules were excluded from the coverage analysis in\n    <code>django.conf.settings.COVERAGE_MODULE_EXCLUDES</code> or they do\n    not contain any executable statements:\n    '
    html_module_exceptions(filename, excludes, module_excludes, long_desc)

dataset/ETHPy150Open kmike/django-coverage/django_coverage/utils/coverage_report/html_module_excludes.py html_module_excludes/original