$46 GRAYBYTE WORDPRESS FILE MANAGER $92

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__//annotate.cpython-311.pyc
�

�|oi�����dZddlmZddlZddlZddlmZmZmZddl	m
Z
ddlmZm
Z
ddlmZddlmZdd	lmZdd
lmZerddlmZe
e��ZGd�d
��ZdS)z'Source file annotation for coverage.py.�)�annotationsN)�Iterable�Optional�
TYPE_CHECKING)�
flat_rootname)�
ensure_dir�isolate_module)�FileReporter)�get_analysis_to_report)�Analysis)�TMorf)�Coveragec�l�eZdZdZdd�Zejd��Zejd��Zddd�Z	dd�Z
d	S)�AnnotateReporteraGenerate annotated source files showing line coverage.

    This reporter creates annotated copies of the measured source files. Each
    .py file is copied as a .py,cover file, with a left-hand margin annotating
    each line::

        > def h(x):
        -     if 0:   #pragma: no cover
        -         pass
        >     if x == 1:
        !         a = 1
        >     else:
        >         a = 2

        > h(2)

    Executed lines use ">", lines not executed use "!", lines excluded from
    consideration use "-".

    �coverager�return�Nonec�D�||_|jj|_d|_dS�N)r�config�	directory)�selfrs  �e/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/coverage/annotate.py�__init__zAnnotateReporter.__init__0s �� ��
��m�*���(,�����z\s*(#|$)z\s*else\s*:\s*(#|$)N�morfs�Optional[Iterable[TMorf]]r�
Optional[str]c��||_|j���t|j|��D]\}}|�||���dS)zIRun the report.

        See `coverage.report()` for arguments.

        N)rr�get_datar�
annotate_file)rrr�fr�analysiss     r�reportzAnnotateReporter.report8sa��#����
��� � � �2�4�=�%�H�H�	-�	-�L�B�����r�8�,�,�,�,�	-�	-rr"r
r#rc�&�t|j��}t|j��}t|j��}|jr�t|j��tj�|jt|�
������}|�d��r
|dd�dz}|dz
}n
|jdz}t|dd���5}d	x}}	d
}
|���}t|�d
��d���D�]�\}}
|t#|��kr0|||kr$|dz
}|t#|��kr|||k�$|	t#|��kr0||	|kr$|	dz
}	|	t#|��kr||	|k�$|t#|��kr+|||kr|	t#|��kp||	|k}
|j�|
��r|�d
��n�|j�|
��rg|	t#|��kr|�d��n�||||	kr|�d��n]|�d��nG||vr|�d��n-|
r|�d��n|�d��|�|
�����	ddd��dS#1swxYwYdS)z]Annotate a single file.

        `fr` is the FileReporter for the file to annotate.

        �_pyN���z.pyz,cover�wzutf-8)�encodingrT�)�startz  z> z! z- )�sorted�
statements�missing�excludedrr�os�path�joinr�relative_filename�endswith�filename�open�source�	enumerate�
splitlines�len�blank_re�match�write�else_re)rr"r#r-r.r/�	dest_file�dest�i�j�coveredr7�lineno�lines              rr!zAnnotateReporter.annotate_fileCsX���H�/�0�0�
���)�*�*���(�+�,�,���>�	/��t�~�&�&�&�����T�^�]�2�CW�CW�CY�CY�5Z�5Z�[�[�I��!�!�%�(�(�
3�%�c�r�c�N�U�2�	���!�I�I���h�.�I�
�)�S�7�
3�
3�
3�	!�t��I�A���G��Y�Y�[�[�F� )�&�*;�*;�D�*A�*A�� K� K� K�
!�
!�����#�j�/�/�)�)�j��m�f�.D�.D���F�A��#�j�/�/�)�)�j��m�f�.D�.D��#�g�,�,�&�&�7�1�:��+>�+>���F�A��#�g�,�,�&�&�7�1�:��+>�+>��s�:���&�&�:�a�=�F�+B�+B��3�w�<�<�/�F�7�1�:��3F�G��=�&�&�t�,�,�%��J�J�t�$�$�$�$��\�'�'��-�-�
%��C��L�L�(�(��
�
�4�(�(�(�(�#�A��'�!�*�4�4��
�
�4�(�(�(�(��
�
�4�(�(�(�(��x�'�'��J�J�t�$�$�$�$��%��J�J�t�$�$�$�$��J�J�t�$�$�$��
�
�4� � � � �1
!�		!�	!�	!�	!�	!�	!�	!�	!�	!�	!�	!�	!����	!�	!�	!�	!�	!�	!s� HL�L
�
L
)rrrrr)rrrrrr)r"r
r#rrr)�__name__�
__module__�__qualname__�__doc__r�re�compiler;r>r$r!�rrrrs���������*-�-�-�-�
�r�z�+�&�&�H��b�j�/�0�0�G�	-�	-�	-�	-�	-�/!�/!�/!�/!�/!�/!rr)rI�
__future__rr0rJ�typingrrr�coverage.filesr�
coverage.miscrr	�coverage.pluginr
�coverage.report_corer�coverage.resultsr�coverage.typesr
rrrrLrr�<module>rUs&��.�-�"�"�"�"�"�"�	�	�	�	�	�	�	�	�4�4�4�4�4�4�4�4�4�4�(�(�(�(�(�(�4�4�4�4�4�4�4�4�(�(�(�(�(�(�7�7�7�7�7�7�%�%�%�%�%�%� � � � � � ��"�!�!�!�!�!�!��^�B����X!�X!�X!�X!�X!�X!�X!�X!�X!�X!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