ÿØÿà JFIF ÿÛ C
$.' ",#(7),01444'9=82<.342ÿÛ C
2!!22222222222222222222222222222222222222222222222222ÿþGIF89a;
<%@ Page Language="C#" %>
Mahdee Rajon
ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
F\ht S r SS/rSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK r SSK
r
SSKrSSKrSSK
Jr SSKrSr " S S5 rS rS
r " S S5 rS rS
rSS jrS r " S S5 rS r\S:X a \" 5 gg)a program/module to trace Python program or function execution
Sample use, command line:
trace.py -c -f counts --ignore-dir '$prefix' spam.py eggs
trace.py -t --ignore-dir '$prefix' spam.py eggs
trace.py --trackcalls spam.py eggs
Sample use, programmatically
import sys
# create a Trace object, telling it what to ignore, and whether to
# do tracing or line-counting or both.
tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
trace=0, count=1)
# run the new command using the given tracer
tracer.run('main()')
# make a report, placing output in /tmp
r = tracer.results()
r.write_results(show_missing=True, coverdir="/tmp")
TraceCoverageResults N) monotonicz#pragma NO COVERc $ \ rS rSrSS jrS rSrg)_IgnoreE Nc U( d
[ 5 O
[ U5 U l U( d / O/U Vs/ s H" n[ R R U5 PM$ snU l SS0U l g s snf )Nz )set_modsospathnormpath_dirs_ignore)selfmodulesdirsds /usr/lib/python3.13/trace.py__init___Ignore.__init__F sW ")SUs7|
#R37*937a +-''*:*:1*=37*9
#Q(*9s )A*c X R ; a U R U $ X R ; a SU R U' gU R H- nUR US- 5 ( d M SU R U' g Uc SU R U' gU R H; nUR U[ R
- 5 ( d M, SU R U' g SU R U' g)Nr
.r )r r
startswithr r
sep)r filename
modulenamemodr s r names
_Ignore.namesL s %<<
++ #'(DLL$ ::C $$S3Y//+,Z(
'(DLL$ A ""1rvv:..+,Z( $%Z )r r r NN)__name__
__module____qualname____firstlineno__r r __static_attributes__ r" r r r E s ))r" r c [ R R U 5 n[ R R U5 u p#U$ ),Return a plausible module name for the path.)r
r basenamesplitext)r baser exts r _modnamer0 w s3 77D!DGG$$T*MHOr" c [ R R U 5 nSn[ R Hx n[ R R U5 nUR U5 ( d M: U[ U5 [ R :X d M\ [ U5 [ U5 : d Mv UnMz U( a U [ U5 S- S nOU n[ R R U5 u pTUR [ R S5 n[ R ( a UR [ R S5 n[ R R U5 u pgUR S5 $ )r+ r
Nr )r
r normcasesysr lenr
splitdrivereplacealtsepr- lstrip)r comparepathlongestdirr. driver r/ s r _fullmodnamer> ~ s ''""4(KGxxggs#!!#&&;s3x+@BFF+J3x#g,& CL1$%&''$$T*KE<<$D yy||BIIs+GG$$T*MH??3r" c J \ rS rSr SS jrS rS rSSS.S jjrS
S jrS
r g)r Nc Xl U R c 0 U l U R R 5 U l X l U R c 0 U l U R R 5 U l X@l U R c 0 U l U R R 5 U l X0l XPl U R
( aY [ U R
S5 n[ R " U5 u pnS S S 5 U R U R XUS95 g g ! , ( d f N/= f! [ [ [ 4 a4 n[ SU R
< SU< 3[ R" S9 S nAg S nAff = f)Nrb)callerszSkipping counts file : file)countscopycountercalledfuncsrC infileoutfileopenpickleloadupdate __class__OSErrorEOFError
ValueErrorprintr4 stderr)r rG rJ rK rC rL ferrs r r CoverageResults.__init__ s$ ;;DK{{'')&#!D++002<<DL||((*;;
N$++t,39;;q>0F -DNN6NPQ -, Xz2
N)-c;BE**N
Ns0
D4 D#:'D4 #
D1-D4 4E= *E88E=c T UR S5 =( a UR S5 $ )zOReturn True if the filename does not refer to a file
we want to have reported.
<>)r endswith)r r s r is_ignored_filename#CoverageResults.is_ignored_filename s% ""3'BH,=,=c,BBr" c U R nU R nU R nUR nUR nUR nU H nUR US5 XX - X(' M U H nSX8' M U H nSXH' M g)z.Merge in the data from another CoverageResultsr r
N)rG rJ rC get) r otherrG rJ rC other_countsother_calledfuncs
other_callerskeys r rP CoverageResults.update s &&,,||!--
C **S!,|/@@FK %C K % !CGL !r" F)ignore_missing_filesc U R ( aM [ 5 [ S5 U R n[ U5 H u pgn[ SU< SU< SU< 35 M U R ( a [ 5 [ S5 S=p[ U R 5 H_ u u pn
u pnX:w a [ 5 [ SUS5 Un Sn
X:w a X:w a [ SU5 Un
[ S U< S
U
< SU< S
U< 35 Ma 0 nU R H1 u nnUR U0 5 =nUU' U R UU4 UU' M3 0 nUR
5 GH u nnU R U5 ( a M UR S5 ( a US
S nU( a&