
    Xh(                     .    d Z d Zd Zedk(  r e        yy)z*
Entry point module to run code-coverage.
c                    ddl }d}|j                  j                  |       rV|j                  j                  |       d   dk(  s5	 t	        | d      5 }t        |j                         | d       d}ddd       |S |S # 1 sw Y   |S xY w#  Y |S xY w)	z
    Checks whether the file can be read by the coverage module. This is especially
    needed for .pyx files and .py files with syntax errors.
        NF   z.pyxrbexecT)ospathisfilesplitextopencompileread)r   r   is_validfs       [/var/www/html/myenv/lib/python3.12/site-packages/debugpy/_vendored/pydevd/pydev_coverage.pyis_valid_py_filer      s    
 H	ww~~dBGG$4$4T$:1$=$G	dD!  Q$/ 
 O8O 
 O	Os*   B A:.B :B?B B Bc                  
   dd l } dd l}d }d|j                  vrd|j                  v r|j                  j                  d       t	               }|j                  dd      }|j                  dd      }g }g }|j                  d      D ]0  }t        |      r|j                  |        |j                  |       2 |rW|j                  j                  dd	j                  |      z         n)|j                  d
   | j                  d<   |j                  d
= 	 dd l}t#        |d      rt%        t'        t(        |j*                  j                  d      d d             }|dk  ro|j                  j                  ddj                  d |D              d|j,                  d       |j/                  d
       n|j                  j                  d       ddlm}	 |0|j                  j                  d       |xj                  |z  c_         |	        y #  |j                  j                  d       |j                  j                  d       |j                  j                  d|j                  d       dd l}|j!                          Y y xY w)Nr   combinez--pydev-analyze 
|z)Invalid files not passed to coverage: %s
z, r   COVERAGE_FILEz-Error: coverage module could not be imported
zTPlease make sure that the coverage module (http://nedbatchelder.com/code/coverage/)
z+is properly installed in your interpreter: __version__.   )      z9Error: minimum supported coverage version is 4.3.
Found: c              3   2   K   | ]  }t        |        y w)N)str).0xs     r   	<genexpr>zexecute.<locals>.<genexpr>L   s     9RQ#a&9Rs   z
Location: zbWarning: Could not determine version of python module coverage.
Ensure coverage version is >= 4.3
)mainxml)r   sysargvremoveinputreplacesplitr   appendstderrwritejoinenvironcoverage
executable	traceback	print_exchasattrtuplemapintr   __file__exitcoverage.cmdliner#   )
r   r%   filessinvalid_filesvr0   r2   versionr#   s
             r   executer@      s   E (
 HHOO-.A		$#A		$#AEMWWS\ ,#A&LLO!((+	,
 

  !MPTPYPYZgPh!hi +.((1+BJJ'
 x'C!5!5!;!;C!@!!DEFVJJ149R'9R1RT\TeTeg HHQK

  C  	D%EF7

IJ

st

cnn^_s   H A5J__main__N)__doc__r   r@   __name__     r   <module>rF      s*   
$@F zI rE   