def METHOD_NAME():
    parser = get_option_parser()
    (options, args) = parser.parse_args()
    interested_files = set()
    if options.filenames is not None:
        interested_files = set(f.strip() for f in options.filenames.split(','))
    # To make things simple, right now we only read gcov report from the input
    per_file_coverage, total_coverage = parse_gcov_report(sys.stdin)
    # Check if we need to display coverage info for interested files.
    if len(interested_files):
        per_file_coverage = dict(
            (fname, per_file_coverage[fname]) for fname in interested_files
            if fname in per_file_coverage
        )
        # If we only interested in several files, it makes no sense to report
        # the total_coverage
        total_coverage = None
    if not len(per_file_coverage):
        sys.stderr.write("Cannot find coverage info for the given files.\n")
        return
    display_file_coverage(per_file_coverage, total_coverage)