ok
Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/coverage/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/coverage/__pycache__/jsonreport.cpython-311.pyc |
� �܋f� � �� � d Z ddlmZ ddlZddlZddlZddlmZmZm Z m Z mZmZm Z mZ ddlmZ ddlmZ ddlmZmZ ddlmZmZ erdd lmZ dd lmZ G d� d� � Zdd�ZdS )zJson reporting for coverage.py� )�annotationsN)�Any�Dict�IO�Iterable�List�Optional�Tuple� TYPE_CHECKING)�__version__)�get_analysis_to_report)�Analysis�Numbers)�TMorf�TLineNo)�Coverage)�CoverageDatac �. � e Zd ZdZdZdd�Zdd �Zdd�ZdS )�JsonReporterz-A reporter for writing JSON coverage results.zJSON report�coverager �return�Nonec � � || _ | j j | _ t | j j � � | _ i | _ d S )N)r �configr � precision�total�report_data)�selfr s �f/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/coverage/jsonreport.py�__init__zJsonReporter.__init__ s7 � � �� ��m�*����T�[�2�3�3�� �+-����� �morfs�Optional[Iterable[TMorf]]�outfile�IO[str]�floatc �� � |pt j }| j � � � }|� | j j � � t t j � � � � � � |� � � | j j d�| j d<