관리-도구
편집 파일: report.cpython-311.pyc
� �܋f) � � � d Z ddlmZ ddlZddlmZmZmZmZm Z m Z mZ ddlm Z mZ ddlmZ ddlmZ ddlmZ dd lmZmZ dd lmZ erddlmZ G d� d � � ZdS )zSummary reporting� )�annotationsN)�Any�IO�Iterable�List�Optional�Tuple� TYPE_CHECKING)�ConfigError�NoDataError)�human_sorted_items)�FileReporter)�get_analysis_to_report)�Analysis�Numbers)�TMorf)�Coveragec �T � e Zd ZdZd#d�Zd$d �Zd%d�Zd&d�Zd&d�Zd'd(d�Z d)d�Z d*d"�ZdS )+�SummaryReporterz*A reporter for writing the summary report.�coverager �return�Nonec �h � || _ | j j | _ |� � � � � � | _ d | _ | j j pd| _ | j dvrt d| j ��� � �g | _ d| _ d| _ t | j j �� � | _ d S )N�text> r �total�markdownzUnknown report format choice: r )� precision)r �config�get_data�has_arcs�branches�outfile�format� output_formatr �fr_analysis� skipped_count�empty_countr r r )�selfr s �b/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/coverage/report.py�__init__zSummaryReporter.__init__ s� � � �� ��m�*��� �)�)�+�+�4�4�6�6�� �*.���!�[�/�9�6�����%B�B�B��U�t�?Q�U�U�V�V�V�@B����������t�{�'<�=�=�=�� � � � �line�strc � � | j �J �| j � |� � � � � | j � d� � dS )z-Write a line to the output, adding a newline.N� )r"