/opt/cloudlinux/venv/lib/python3.11/site-packages/coverage/__pycache__
NameSizeModeActions
annotate.cpython-311.pyc60170644editdlrm
bytecode.cpython-311.pyc10240644editdlrm
cmdline.cpython-311.pyc366770644editdlrm
collector.cpython-311.pyc217640644editdlrm
config.cpython-311.pyc255990644editdlrm
context.cpython-311.pyc34500644editdlrm
control.cpython-311.pyc601880644editdlrm
data.cpython-311.pyc107570644editdlrm
debug.cpython-311.pyc306280644editdlrm
disposition.cpython-311.pyc26360644editdlrm
env.cpython-311.pyc47380644editdlrm
exceptions.cpython-311.pyc30960644editdlrm
execfile.cpython-311.pyc143110644editdlrm
files.cpython-311.pyc254920644editdlrm
html.cpython-311.pyc331020644editdlrm
inorout.cpython-311.pyc271180644editdlrm
jsonreport.cpython-311.pyc64400644editdlrm
lcovreport.cpython-311.pyc70070644editdlrm
misc.cpython-311.pyc205150644editdlrm
multiproc.cpython-311.pyc57050644editdlrm
numbits.cpython-311.pyc71230644editdlrm
parser.cpython-311.pyc659940644editdlrm
phystokens.cpython-311.pyc87550644editdlrm
plugin.cpython-311.pyc235730644editdlrm
plugin_support.cpython-311.pyc196740644editdlrm
python.cpython-311.pyc119060644editdlrm
pytracer.cpython-311.pyc115880644editdlrm
report.cpython-311.pyc166490644editdlrm
report_core.cpython-311.pyc56020644editdlrm
results.cpython-311.pyc197380644editdlrm
sqldata.cpython-311.pyc770690644editdlrm
templite.cpython-311.pyc153960644editdlrm
tomlconfig.cpython-311.pyc119890644editdlrm
types.cpython-311.pyc89970644editdlrm
version.cpython-311.pyc16240644editdlrm
xmlreport.cpython-311.pyc148420644editdlrm
__init__.cpython-311.pyc9090644editdlrm
__main__.cpython-311.pyc4230644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/coverage/__pycache__/results.cpython-311.pyc (19738B)
§ —üÎð€êéðãóä—dZddlmZddlZddlmZmZmZmZm Z m Z m Z ddl m Z ddlmZddlmZddlmZmZe r dd lmZdd lmZGd „d ¦«ZGd „de ¦«Zd d„Z d!d"d„Zd#d„ZdS)$z Results of coverage measurement.é)Ú annotationsN)ÚCallableÚDictÚIterableÚListÚOptionalÚTupleÚ TYPE_CHECKING)Ú AutoReprMixin)Ú ConfigError©Ú nice_pair)ÚTArcÚTLineNo)Ú CoverageData)Ú FileReportercót—eZdZdZd!d „Zd"d#d„Zd$d„Zd%d„Zd%d„Zd%d„Z d%d„Z d&d„Z d'd„Z d(d„Z d(d„Zd)d„Zd S)*ÚAnalysisz(The results of analyzing a FileReporter.ÚdatarÚ precisionÚintÚ file_reporterrÚ file_mapperúCallable[[str], str]ÚreturnÚNonec óp‡—|‰_|‰_|‰jj¦«‰_‰j ¦«‰_‰j ¦«‰_‰j ‰j¦«pg}‰j |¦«}|‰_‰j‰jz ‰_ ‰j  ¦«rèt‰j  ¦«¦«‰_ ‰j ¦«‰_‰j ¦«‰_‰ ¦«}‰ ¦«}t'ˆfd„| ¦«D¦«¦«}t'd„| ¦«D¦«¦«} n'g‰_ i‰_t+¦«‰_dx}x}} t-|dt/‰j¦«t/‰j¦«t/‰j ¦«||| ¬¦«‰_dS)Nc3óN•K—|]\}}|‰jv¯t|¦«V—Œ dS©N)ÚmissingÚlen)Ú.0ÚkÚvÚselfs €úd/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/coverage/results.pyú z$Analysis.__init__..3s9øèè€Ð$\Ð$\±°°!ÀaÈtÌ|ÐF[ÐF[¥S¨¡V¤VÐF[ÐF[ÐF[ÐF[Ð$\Ð$\óc3ó:K—|]\}}t|¦«V—ŒdSr)r!)r"r#r$s r&r'z$Analysis.__init__..4s,èè€Ð$CÐ$C±°°!¥S¨¡V¤VÐ$CÐ$CÐ$CÐ$CÐ$CÐ$Cr(ré)rÚn_filesÚ n_statementsÚ n_excludedÚ n_missingÚ n_branchesÚn_partial_branchesÚn_missing_branches)rrÚfilenameÚlinesÚ statementsÚexcluded_linesÚexcludedÚtranslate_linesÚexecutedr Úhas_arcsÚsortedÚarcsÚ_arc_possibilitiesÚ exit_countsÚno_branch_linesÚ no_branchÚ_total_branchesÚmissing_branch_arcsÚsumÚitemsÚsetÚNumbersr!Únumbers) r%rrrrr8r/Úmbar0r1s ` r&Ú__init__zAnalysis.__init__sôø€ðˆŒ Ø*ˆÔØ#˜  DÔ$6Ô$?Ñ@Ô@ˆŒ ØÔ,×2Ò2Ñ4Ô4ˆŒØÔ*×9Ò9Ñ;Ô;ˆŒ ð”9—?’? 4¤=Ñ1Ô1Ð7°RˆØÔ%×5Ò5°hÑ?Ô?ˆØ ˆŒ Ø”¨¬Ñ6ˆŒ à Œ9× Ò Ñ Ô ð EÝ&,¨TÔ-?×-DÒ-DÑ-FÔ-FÑ&GÔ&GˆDÔ #Ø#Ô1×=Ò=Ñ?Ô?ˆDÔ Ø!Ô/×?Ò?ÑAÔAˆDŒNØ×-Ò-Ñ/Ô/ˆJØ×*Ò*Ñ,Ô,ˆCÝ!$Ð$\Ð$\Ð$\Ð$\°s·y²y±{´{Ð$\Ñ$\Ô$\Ñ!\Ô!\Ð Ý!$Ð$CÐ$C°s·y²y±{´{Ð$CÑ$CÔ$CÑ!CÔ!CÐ Ð à&(ˆDÔ #Ø!ˆDÔ Ý ™UœUˆDŒNØCDÐ DˆJÐ DÐ+Ð.@åØØÝ˜Tœ_Ñ-Ô-ݘ4œ=Ñ)Ô)ݘ$œ,Ñ'Ô'Ø!Ø1Ø1ð  ñ  ô  ˆŒ ˆ ˆ r(FÚbranchesÚboolÚstrcó¸—|r;| ¦«r'| ¦« ¦«}nd}t|j|j|¬¦«S)z¯The missing line numbers, formatted nicely. Returns a string like "1-2, 5-11, 13-14". If `branches` is true, includes the missing branch arcs also. N)r;)r9rArCÚ format_linesr4r )r%rIr;s r&Úmissing_formattedzAnalysis.missing_formattedFsX€ð 𠘟 š ™œð Ø×+Ò+Ñ-Ô-×3Ò3Ñ5Ô5ˆDˆDàˆDå˜DœO¨T¬\ÀÐEÑEÔEÐEr(có4—|j ¦«S)z"Were arcs measured in this result?)rr9©r%s r&r9zAnalysis.has_arcsUs€àŒy×!Ò!Ñ#Ô#Ð#r(ú List[TArc]có—|jS)z.Returns a sorted list of the arcs in the code.)r<rPs r&Úarc_possibilitieszAnalysis.arc_possibilitiesYs €àÔ&Ð&r(có–—|j |j¦«pg}|j |¦«}t |¦«S)z@Returns a sorted list of the arcs actually executed in the code.)rr;r2rÚtranslate_arcsr:)r%r8s r&Ú arcs_executedzAnalysis.arcs_executed]sB€ð”9—>’> $¤-Ñ0Ô0Ð6°BˆØÔ%×4Ò4°XÑ>Ô>ˆÝ�hÑÔÐr(c󒇇—‰ ¦«}‰ ¦«Šˆˆfd„|D¦«}t|¦«S)z:Returns a sorted list of the un-executed arcs in the code.c3ó`•K—|](}|‰vr"|d‰jvr|d‰jv¯$|V—Œ)dS©rr*N)r?r6)r"Úpr8r%s €€r&r'z(Analysis.arcs_missing..hs^øèè€ð ð ØØ˜HÐ$Ð$ؘ!œ D¤NÐ2Ð2ؘ!œ D¤MÐ1Ð1ð ð2Ð1Ð1Ð1ð  ð r(©rSrVr:)r%Úpossibler r8s` @r&Ú arcs_missingzAnalysis.arcs_missingdsaøø€à×)Ò)Ñ+Ô+ˆØ×%Ò%Ñ'Ô'ˆð ð ð ð ð Øð ñ ô ˆõ �g‰ŒÐr(cóއ—| ¦«Š| ¦«}ˆfd„|D¦«}t|¦«S)zAReturns a sorted list of the executed arcs missing from the code.c3óx•K—|]4}|‰vr.|d|dkr|ddks |ddk¯0|V—Œ5dSrY©)r"Úer\s €r&r'z,Analysis.arcs_unpredicted..yscøèè€ð ð ØØ˜HÐ$Ð$ؘ!œ  !¤š ˜ ؘ1œ š˜ Q q¤T¨A¢X Xð ð&. X X Xð  ð r(r[)r%r8Ú unpredictedr\s @r&Úarcs_unpredictedzAnalysis.arcs_unpredictedps]ø€à×)Ò)Ñ+Ô+ˆØ×%Ò%Ñ'Ô'ˆð  ð ð ð Øð ñ ô ˆ õ �kÑ"Ô"Ð"r(ú List[TLineNo]cóH—d„|j ¦«D¦«S)zz*Analysis._branch_lines..ƒs!€ÐIÐIÐI‘x�r˜%¸uÀqºy¸y�¸y¸y¸yr()r=rCrPs r&Ú _branch_lineszAnalysis._branch_lines�s%€àIÐI 4Ô#3×#9Ò#9Ñ#;Ô#;ÐIÑIÔIÐIr(cób—td„|j ¦«D¦«¦«S)z"How many total branches are there?c3ó&K—|] }|dk¯|V—Œ dS)r*Nr`)r"rhs r&r'z+Analysis._total_branches..‡s&èè€ÐMÐM˜UÀ5È1Â9À9�5À9À9À9À9ÐMÐMr()rBr=ÚvaluesrPs r&r@zAnalysis._total_branches…s.€åÐMÐM dÔ&6×&=Ò&=Ñ&?Ô&?ÐMÑMÔMÑMÔMÐMr(úDict[TLineNo, List[TLineNo]]cóð—| ¦«}t| ¦«¦«}tjt ¦«}|D]$\}}||vr|| |¦«Œ%|S)zgReturn arcs that weren't executed from branch lines. Returns {l1:[l2a,l2b,...], ...} )r]rDrjÚ collectionsÚ defaultdictÚlistÚappend)r%r Ú branch_linesrGrgÚl2s r&rAzAnalysis.missing_branch_arcs‰sx€ð ×#Ò#Ñ%Ô%ˆÝ˜4×-Ò-Ñ/Ô/Ñ0Ô0ˆ ÝÔ%¥dÑ+Ô+ˆØð #ð #‰FˆB�Ø�\Ð!Ð!Ø�B”—’˜rÑ"Ô"Ð"øØˆ r(cóð—| ¦«}t| ¦«¦«}tjt ¦«}|D]$\}}||vr|| |¦«Œ%|S)zdReturn arcs that were executed from branch lines. Returns {l1:[l2a,l2b,...], ...} )rVrDrjrprqrrrs)r%r8rtÚebargrus r&Úexecuted_branch_arcszAnalysis.executed_branch_arcs—sx€ð ×%Ò%Ñ'Ô'ˆÝ˜4×-Ò-Ñ/Ô/Ñ0Ô0ˆ ÝÔ%¥dÑ+Ô+ˆØð #ð #‰FˆB�Ø�\Ð!Ð!Ø�B”—’˜rÑ"Ô"Ð"øØˆ r(úDict[TLineNo, Tuple[int, int]]có¸—| ¦«}i}| ¦«D].}|j|}t||¦«}|||z f||<Œ/|S)zGet stats about branches. Returns a dict mapping line numbers to a tuple: (total_exits, taken_exits). )rArjr=r!)r%Ú missing_arcsÚstatsÚlnumÚexitsr s r&Ú branch_statszAnalysis.branch_stats¥sm€ð×/Ò/Ñ1Ô1ˆ ؈Ø×&Ò&Ñ(Ô(ð 3ð 3ˆDØÔ$ TÔ*ˆEݘ, tÔ,Ñ-Ô-ˆGØ  %¨'¡/Ð2ˆE�$‰KˆK؈ r(N) rrrrrrrrrr)F)rIrJrrK)rrJ)rrQ)rrd©rr)rrn)rry)Ú__name__Ú __module__Ú __qualname__Ú__doc__rHrNr9rSrVr]rcrjr@rArxrr`r(r&rrs€€€€€Ø2Ð2ð+ ð+ ð+ ð+ ðZ Fð Fð Fð Fð Fð$ð$ð$ð$ð'ð'ð'ð'ð ð ð ð ð ð ð ð ð#ð#ð#ð#ð"JðJðJðJðNðNðNðNð ð ð ð ð ð ð ð ð ð ð ð ð ð r(rcóÌ—eZdZdZ d d!d„Zd"d„Zed#d„¦«Zed#d„¦«Zed$d„¦«Z ed%d„¦«Z d&d„Z d#d„Z ed'd„¦«Z d(d„Zd)d„ZdS)*rEzœThe numerical results of measuring coverage. This holds the basic statistics from `Analysis`, and is used to roll up statistics across files. rrrr+r,r-r.r/r0r1rrc óЗd|cxkrdksnJ‚||_dd|zz |_d|jz |_||_||_||_||_||_||_||_ dS)Nré gð?çY@) Ú _precisionÚ_near0Ú_near100r+r,r-r.r/r0r1) r%rr+r,r-r.r/r0r1s r&rHzNumbers.__init__½sˆ€ð�IÐ"Ð"Ò"Ð" Ò"Ð"Ð"Ð"Ð"Ð"Ø#ˆŒØ˜B  ™MÑ)ˆŒ Ø ¤ Ñ+ˆŒ ؈Œ Ø(ˆÔØ$ˆŒØ"ˆŒØ$ˆŒØ"4ˆÔØ"4ˆÔÐÐr(ú List[int]cóf—|j|j|j|j|j|j|j|jgS)z:Return a list for __init__(*args) to recreate this object.)r‰r+r,r-r.r/r0r1rPs r&Ú init_argszNumbers.init_argsÔs4€ð ŒOØ ŒL˜$Ô+¨T¬_¸d¼nØ ŒO˜TÔ4°dÔ6Mð ð r(có —|j|jz S)z*Returns the number of executed statements.)r,r.rPs r&Ú n_executedzNumbers.n_executedÜs€ðÔ  4¤>Ñ1Ð1r(có —|j|jz S)z(Returns the number of executed branches.)r/r1rPs r&Ún_executed_brancheszNumbers.n_executed_branchesás€ðŒ Ô!8Ñ8Ð8r(ÚfloatcóF—|jdkr|j\}}d|z|z }nd}|S)z/Returns a single percentage value for coverage.rrˆ)r,Ú ratio_covered)r%Ú numeratorÚ denominatorÚpc_covs r&Ú pc_coveredzNumbers.pc_coveredæs:€ð Ô ˜qÒ Ð Ø%)Ô%7Ñ "ˆI�{ؘiÑ'¨;Ñ6ˆFˆFàˆF؈ r(rKcó6—| |j¦«S)a Returns the percent covered, as a string, without a percent sign. Note that "0" is only returned when the value is truly zero, and "100" is only returned when the value is truly 100. Rounding can never result in either "0" or "100". )Údisplay_coveredr™rPs r&Úpc_covered_strzNumbers.pc_covered_strðs€ð×#Ò# D¤OÑ4Ô4Ð4r(Úpccó¸—d|cxkr |jkr nn|j}n2|j|cxkrdkr nn|j}nt||j¦«}d|j|fzS)zþReturn a displayable total percentage, as a string. Note that "0" is only returned when the value is truly zero, and "100" is only returned when the value is truly 100. Rounding can never result in either "0" or "100". rédz%.*f)rŠr‹Úroundr‰)r%r�s r&r›zNumbers.display_coveredûs�€ð ˆrÐ Ð Ò Ð �D”KÒ Ð Ð Ð Ð Ø”ˆBˆBØ Œ]˜RÐ %Ð %Ò %Ð % #Ò %Ð %Ð %Ð %Ð %Ø”ˆBˆBå�r˜4œ?Ñ+Ô+ˆBؘœ¨"Ð-Ñ-Ð-r(có:—d}|jdkr |d|jzz }|S)z/How many characters wide can pc_covered_str be?érr*)r‰)r%Úwidths r&Ú pc_str_widthzNumbers.pc_str_width s*€àˆØ Œ?˜QÒ Ð Ø �Q˜œÑ(Ñ (ˆE؈ r(úTuple[int, int]cóF—|j|jz}|j|jz}||fS)z:Return a numerator and denominator for the coverage ratio.)r�r’r,r/)r%r–r—s r&r•zNumbers.ratio_covereds-€ð”O dÔ&>Ñ>ˆ ØÔ'¨$¬/Ñ9ˆ ؘ+Ð%Ð%r(ÚothercóH—t|j¬¦«}|j|jz|_|j|jz|_|j|jz|_|j|jz|_|j|jz|_|j|jz|_|j|jz|_|S)N)r) rEr‰r+r,r-r.r/r0r1)r%r§Únumss r&Ú__add__zNumbers.__add__sž€Ý ¤Ð1Ñ1Ô1ˆØ”| e¤mÑ3ˆŒ Ø Ô-°Ô0BÑBˆÔØœ/¨EÔ,<Ñ<ˆŒØœ¨%¬/Ñ9ˆŒØœ/¨EÔ,<Ñ<ˆŒà Ô # eÔ&>Ñ >ð Ôð Ô # eÔ&>Ñ >ð Ôðˆ r(có—|dksJ‚|S)Nrr`)r%r§s r&Ú__radd__zNumbers.__radd__(s€à˜Šzˆzˆzˆz؈ r(N)rrrrrrrr)rrr+rr,rr-rr.rr/rr0rr1rrr)rrŒr€)rr“)rrK)r�r“rrK)rr¥)r§rErrE)r§rrrE)r�r‚rƒr„rHrŽÚpropertyr�r’r™rœr›r¤r•rªr¬r`r(r&rErEµsU€€€€€ðððØØØØØØ"#Ø"#ð5ð5ð5ð5ð5ð. ð ð ð ðð2ð2ð2ñ„Xð2ðð9ð9ð9ñ„Xð9ððððñ„Xððð5ð5ð5ñ„Xð5ð.ð.ð.ð.ð ððððð&ð&ð&ñ„Xð&ð ð ð ð ððððððr(rEr4úIterable[TLineNo]r3rúList[Tuple[TLineNo, TLineNo]]có—t|¦«}t|¦«}g}d}d}|D]J}|t|¦«krn4|||kr |dz }|s|}|}Œ/|r| ||f¦«d}ŒK|r| ||f¦«|S)z,Produce a list of ranges for `format_lines`.Nrr*)r:r!rs)r4r3ÚpairsÚstartÚlidxÚstmtÚends r&Ú _line_rangesr¶.sÀõ ˜ Ñ#Ô#€JÝ �5‰MŒM€Eà €EØ €EØ €DØð ð ˆØ •3�u‘:”:Ò Ð Ø ˆEØ �5˜”;Ò Ð Ø �A‰IˆDØð Ø�؈CˆCØ ð Ø �LŠL˜% ˜Ñ &Ô &Ð &؈EøØ ð#Ø � Š �e˜S�\Ñ"Ô"Ð"Ø €Lr(r;ú1Optional[Iterable[Tuple[TLineNo, List[TLineNo]]]]rKcóD—d„t||¦«D¦«}|�Wt|¦«}|D]E\}}t|¦«D]0}||vr*||vr&|dkr|nd}| ||›d|›�f¦«Œ1ŒFd d„t|¦«D¦«¦«} | S)a¿Nicely format a list of line numbers. Format a list of line numbers for printing by coalescing groups of lines as long as the lines represent consecutive statements. This will coalesce even if there are gaps between statements. For example, if `statements` is [1,2,3,4,5,10,11,12,13,14] and `lines` is [1,2,5,10,11,13,14] then the result will be "1-2, 5-11, 13-14". Both `lines` and `statements` can be any iterable. All of the elements of `lines` must be in `statements`, and all of the values must be positive integers. If `arcs` is provided, they are (start,[end,end,end]) pairs that will be included in the output as long as start isn't in `lines`. có<—g|]}|dt|¦«f‘ŒS)rr )r"Úpairs r&riz format_lines.._s'€ÐYÐYÐY°�4˜”7�I d™OœOÐ,ÐYÐYÐYr(NrÚexitz->z, c3ó&K—|] }|dV—Œ dS)éÿÿÿÿNr`)r"Úts r&r'zformat_lines..hs&èè€Ð6Ð6˜a�A�b”EÐ6Ð6Ð6Ð6Ð6Ð6r()r¶r:rsÚjoin) r4r3r;Ú line_itemsÚ line_exitsÚliner~ÚexÚdestÚrets r&rMrMIsá€ð,ZÐY½ÀjÐRWÑ9XÔ9XÐYÑYÔY€JØ ÐݘD‘\”\ˆ Ø%ð Að A‰KˆD�%ݘU‘m”mð Að A�ؘuÐ$Ð$¨°5¨¨Ø"$ q¢& &˜B˜B¨f�DØ×%Ò% t°Ð->Ð->¸Ð->Ð->Ð&?Ñ@Ô@Ð@øð Að �)Š)Ð6Ð6¥6¨*Ñ#5Ô#5Ð6Ñ6Ô6Ñ 6Ô 6€CØ €Jr(Útotalr“Ú fail_underrrrJcóŽ—d|cxkrdksnd|›d�}t|¦«‚|dkr|dkrdSt||¦«|kS)a'Determine if a total should fail due to fail-under. `total` is a float, the coverage measurement total. `fail_under` is the fail_under setting to compare with. `precision` is the number of digits to consider after the decimal point. Returns True if the total should fail. rrˆz fail_under=z' is invalid. Must be between 0 and 100.T)r r )rÆrÇrÚmsgs r&Úshould_fail_underrÊlsp€ð �Ð $Ð $Ò $Ð $˜uÒ $Ð $Ð $Ð $ØO˜JÐOÐOÐOˆÝ˜#ÑÔÐð�UÒИu¨š~˜~؈tå �˜ Ñ "Ô " ZÒ /Ð/r()r4r®r3r®rr¯r)r4r®r3r®r;r·rrK)rÆr“rÇr“rrrrJ)r„Ú __future__rrpÚtypingrrrrrr r Úcoverage.debugr Úcoverage.exceptionsr Ú coverage.miscrÚcoverage.typesrrÚ coverage.datarÚcoverage.pluginrrrEr¶rMrÊr`r(r&úrÓs‘ðð'Ð&à"Ð"Ð"Ð"Ð"Ð"àÐÐÐàQÐQÐQÐQÐQÐQÐQÐQÐQÐQÐQÐQÐQÐQÐQÐQÐQÐQà(Ð(Ð(Ð(Ð(Ð(Ø+Ð+Ð+Ð+Ð+Ð+Ø#Ð#Ð#Ð#Ð#Ð#Ø(Ð(Ð(Ð(Ð(Ð(Ð(Ð(àð-Ø*Ð*Ð*Ð*Ð*Ð*Ø,Ð,Ð,Ð,Ð,Ð,ð\ð\ð\ð\ð\ñ\ô\ð\ð~vðvðvðvðvˆmñvôvðvðrðððð<?Cð ð ð ð ð ðF0ð0ð0ð0ð0ð0r(