$83 GRAYBYTE WORDPRESS FILE MANAGER $13

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.174
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/coverage/__pycache__/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/coverage/__pycache__//jsonreport.cpython-311.pyc
�

�|oi�����dZddlmZddlZddlZddlZddlmZmZm	Z	m
Z
mZmZm
Z
mZddlmZddlmZddlmZmZddlmZmZerdd	lmZdd
lmZGd�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�.�eZdZdZdZdd�Zdd
�Zdd�ZdS)�JsonReporterz-A reporter for writing JSON coverage results.zJSON report�coverager�return�Nonec��||_|jj|_t|jj��|_i|_dS)N)r�configr�	precision�total�report_data)�selfrs  �g/builddir/build/BUILD/cloudlinux-venv-1.0.10/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���|ptj}|j���}|�|jj��ttj�	���
��|���|jjd�|j
d<i}t|j|��D]0\}}|�||��||���<�1||j
d<|jj|jj|jj|jj|jj|jjd�|j
d<|���rM|j
d�|jj|jj|jj|jjd���t;j|j
||jjrdnd�	��|jjo|jjS)
z�Generate a json report for `morfs`.

        `morfs` is a list of modules or file names.

        `outfile` is a file object to write the json to.

        )�version�	timestamp�branch_coverage�
show_contexts�meta�files��
covered_lines�num_statements�percent_covered�percent_covered_display�
missing_lines�excluded_lines�totals��num_branches�num_partial_branches�covered_branches�missing_branches�N)�indent) �sys�stdoutr�get_data�set_query_contextsr�report_contextsr�datetime�now�	isoformat�has_arcs�json_show_contextsrr
�report_one_file�relative_filenamer�
n_executed�n_statements�
pc_covered�pc_covered_str�	n_missing�
n_excluded�update�
n_branches�n_partial_branches�n_executed_branches�n_missing_branches�json�dump�json_pretty_print)rr"r$�
coverage_data�measured_files�
file_reporter�analysiss       r�reportzJsonReporter.report#s����'�S�Z���
�.�.�0�0�
��(�(���)D�E�E�E�"�!�*�.�.�0�0�:�:�<�<�,�5�5�7�7�!�[�;�	$
�$
���� ���'=�d�m�U�'S�'S�	�	�#�M�8�@D�@T�@T���A�A�N�=�:�:�<�<�=�=�
%3����!�"�Z�2�"�j�5�#�z�4�'+�z�'@�!�Z�1�"�j�3�
&
�&
����"��!�!�#�#�	���X�&�-�-� $�
� 5�(,�
�(E�$(�J�$B�$(�J�$A�	/�/�
�
�
�	
�	������6�@�A�A�D�	
�	
�	
�	
��z�&�@�4�:�+@�@r!rWrrZr�Dict[str, Any]c��|j}|xj|z
c_|j|j|j|j|j|jd�}t|j	��|t|j
��t|j��d�}|jj
r"|j�|j��|d<|���r�|�|j|j|j|jd���t/t1|�������|d<t/t1|�������|d<|S)z3Extract the relevant report data for a single file.r.)�executed_lines�summaryr3r4�contextsr6�executed_branchesr:)�numbersrrIrJrKrLrMrN�sorted�executed�missing�excludedrrF�data�contexts_by_lineno�filenamerErOrPrQrRrS�list�_convert_branch_arcs�executed_branch_arcs�missing_branch_arcs)rrWrZ�numsr_�
reported_files      rrGzJsonReporter.report_one_fileWs]������
�
�d��
�
�!�_�"�/�#��'+�':�!�^�"�o�

�
��%�X�%6�7�7��#�H�$4�5�5�$�X�%6�7�7�	
�
�
��;�)�	\�(0�
�(H�(H��IZ�([�([�M�*�%��!�!�#�#�	��N�N� $��(,�(?�$(�$<�$(�$;�	��
�
�
�26�$�X�%B�%B�%D�%D�E�E�2�2�M�-�.�15�$�X�%A�%A�%C�%C�D�D�1�1�M�,�-��r!N)rrrr)r"r#r$r%rr&)rWrrZrrr\)�__name__�
__module__�__qualname__�__doc__�report_typer r[rG�r!rrrs`������7�7��K�.�.�.�.�2A�2A�2A�2A�h!�!�!�!�!�!r!r�branch_arcs�Dict[TLineNo, List[TLineNo]]r�!Iterable[Tuple[TLineNo, TLineNo]]c#�TK�|���D]\}}|D]}||fV��	�dS)z4Convert branch arcs to a list of two-element tuples.N)�items)rv�source�targets�targets    rrkrk{sX����'�,�,�.�.�!�!�����	!�	!�F��&�.� � � � �	!�!�!r!)rvrwrrx)rs�
__future__rrBrTr=�typingrrrrrr	r
rrr�coverage.report_corer
�coverage.resultsrr�coverage.typesrrr�
coverage.datarrrkrur!r�<module>r�sE��%�$�"�"�"�"�"�"���������
�
�
�
�P�P�P�P�P�P�P�P�P�P�P�P�P�P�P�P�P�P�P�P� � � � � � �7�7�7�7�7�7�.�.�.�.�.�.�.�.�)�)�)�)�)�)�)�)��+�!�!�!�!�!�!�*�*�*�*�*�*�`�`�`�`�`�`�`�`�F!�!�!�!�!�!r!


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
11 Feb 2026 9.30 AM
root / root
0755
__init__.cpython-311.pyc
0.888 KB
20 Jan 2026 1.01 PM
root / root
0644
__main__.cpython-311.pyc
0.413 KB
20 Jan 2026 1.01 PM
root / root
0644
annotate.cpython-311.pyc
5.876 KB
20 Jan 2026 1.01 PM
root / root
0644
bytecode.cpython-311.pyc
1 KB
20 Jan 2026 1.01 PM
root / root
0644
cmdline.cpython-311.pyc
35.817 KB
20 Jan 2026 1.01 PM
root / root
0644
collector.cpython-311.pyc
21.254 KB
20 Jan 2026 1.01 PM
root / root
0644
config.cpython-311.pyc
24.999 KB
20 Jan 2026 1.01 PM
root / root
0644
context.cpython-311.pyc
3.369 KB
20 Jan 2026 1.01 PM
root / root
0644
control.cpython-311.pyc
58.777 KB
20 Jan 2026 1.01 PM
root / root
0644
data.cpython-311.pyc
10.505 KB
20 Jan 2026 1.01 PM
root / root
0644
debug.cpython-311.pyc
29.91 KB
20 Jan 2026 1.01 PM
root / root
0644
disposition.cpython-311.pyc
2.574 KB
20 Jan 2026 1.01 PM
root / root
0644
env.cpython-311.pyc
4.627 KB
20 Jan 2026 1.01 PM
root / root
0644
exceptions.cpython-311.pyc
3.023 KB
20 Jan 2026 1.01 PM
root / root
0644
execfile.cpython-311.pyc
13.976 KB
20 Jan 2026 1.01 PM
root / root
0644
files.cpython-311.pyc
24.895 KB
20 Jan 2026 1.01 PM
root / root
0644
html.cpython-311.pyc
32.326 KB
20 Jan 2026 1.01 PM
root / root
0644
inorout.cpython-311.pyc
26.482 KB
20 Jan 2026 1.01 PM
root / root
0644
jsonreport.cpython-311.pyc
6.289 KB
20 Jan 2026 1.01 PM
root / root
0644
lcovreport.cpython-311.pyc
6.843 KB
20 Jan 2026 1.01 PM
root / root
0644
misc.cpython-311.pyc
20.034 KB
20 Jan 2026 1.01 PM
root / root
0644
multiproc.cpython-311.pyc
5.571 KB
20 Jan 2026 1.01 PM
root / root
0644
numbits.cpython-311.pyc
6.956 KB
20 Jan 2026 1.01 PM
root / root
0644
parser.cpython-311.pyc
64.447 KB
20 Jan 2026 1.01 PM
root / root
0644
phystokens.cpython-311.pyc
8.55 KB
20 Jan 2026 1.01 PM
root / root
0644
plugin.cpython-311.pyc
23.021 KB
20 Jan 2026 1.01 PM
root / root
0644
plugin_support.cpython-311.pyc
19.213 KB
20 Jan 2026 1.01 PM
root / root
0644
python.cpython-311.pyc
11.627 KB
20 Jan 2026 1.01 PM
root / root
0644
pytracer.cpython-311.pyc
11.316 KB
20 Jan 2026 1.01 PM
root / root
0644
report.cpython-311.pyc
16.259 KB
20 Jan 2026 1.01 PM
root / root
0644
report_core.cpython-311.pyc
5.471 KB
20 Jan 2026 1.01 PM
root / root
0644
results.cpython-311.pyc
19.275 KB
20 Jan 2026 1.01 PM
root / root
0644
sqldata.cpython-311.pyc
75.263 KB
20 Jan 2026 1.01 PM
root / root
0644
templite.cpython-311.pyc
15.035 KB
20 Jan 2026 1.01 PM
root / root
0644
tomlconfig.cpython-311.pyc
11.708 KB
20 Jan 2026 1.01 PM
root / root
0644
types.cpython-311.pyc
8.786 KB
20 Jan 2026 1.01 PM
root / root
0644
version.cpython-311.pyc
1.586 KB
20 Jan 2026 1.01 PM
root / root
0644
xmlreport.cpython-311.pyc
14.494 KB
20 Jan 2026 1.01 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF