§ {<ˆjK ã ó¬ — d Z ddlmZ ddlZddlZddlZddlmZmZm Z m Z ddlmZ ddl mZ ddlmZmZ ddlmZ e rdd lmZ dd „Z G d„ d¦ « ZdS )zLCOV reporting for coverage.py.é )ÚannotationsN)ÚIOÚIterableÚOptionalÚ TYPE_CHECKING)ÚFileReporter)Úget_analysis_to_report)ÚAnalysisÚNumbers)ÚTMorf)ÚCoverageÚlineÚstrÚreturnc óè — t j | d¦ « ¦ « ¦ « }t j |¦ « d¦ « d¦ « S )z9Produce a hash of a source line for use in the LCOV file.zutf-8Úasciiú=)ÚhashlibÚmd5ÚencodeÚdigestÚbase64Ú b64encodeÚdecodeÚrstrip)r Úhasheds úg/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/coverage/lcovreport.pyÚ line_hashr sV € å Œ[˜Ÿš WÑ-Ô-Ñ .Ô .× 5Ò 5Ñ 7Ô 7€FÝÔ˜FÑ#Ô#×*Ò*¨7Ñ3Ô3×:Ò:¸3Ñ?Ô?Ð?ó c ó. — e Zd ZdZdZdd„Zdd „Zdd„ZdS )ÚLcovReporterz-A reporter for writing LCOV coverage reports.zLCOV reportÚcoverager r ÚNonec óZ — || _ t | j j j ¦ « | _ d S ©N)r" r ÚconfigÚ precisionÚtotal)Úselfr" s r Ú__init__zLcovReporter.__init__" s$ € Ø ˆŒ ݘTœ]Ô1Ô;Ñ<Ô<ˆŒ ˆ ˆ r ÚmorfsúOptional[Iterable[TMorf]]ÚoutfileúIO[str]Úfloatc óä — | j ¦ « |pt j }t | j |¦ « D ]\ }}| |||¦ « Œ| j j o| j j S )z•Renders the full lcov report. `morfs` is a list of modules or filenames outfile is the file object to write the file into. ) r" Úget_dataÚsysÚstdoutr Úget_lcovr( Ún_statementsÚ pc_covered)r) r+ r- ÚfrÚanalysiss r ÚreportzLcovReporter.report&