PK���ȼRY��������€��� �v3.phpUT �øŽg‰gñ“gux �õ��õ��½T]kÛ0}߯pEhìâÙM7X‰çv%”v0֐µ{)Aå:6S$!ÉMJèߕ?R÷!>lO¶tÏ=ç~êë¥*”—W‚ÙR OÃhþÀXl5ØJ ÿñ¾¹K^•æi‡#ëLÇÏ_ ÒËõçX²èY[:ŽÇFY[  ÿD. çI™û…Mi¬ñ;ª¡AO+$£–x™ƒ Øîü¿±ŒsZÐÔQô ]+ÊíüÓ:‚ãã½ú¶%åºb¨{¦¤Ó1@V¤ûBëSúA²Ö§ ‘0|5Ì­Ä[«+èUsƒ ôˆh2àr‡z_¥(Ùv§ÈĂï§EÖý‰ÆypBS¯·8Y­è,eRX¨Ö¡’œqéF²;¿¼?Ø?Lš6` dšikR•¡™âÑo†e«ƒi´áŽáqXHc‡óðü4€ÖBÖÌ%ütÚ$š+T”•MÉÍõ½G¢ž¯Êl1œGÄ»½¿ŸÆ£h¤I6JÉ-òŽß©ˆôP)Ô9½‰+‘Κ¯uiÁi‡ˆ‰i0J ép˜¬‹’ƒ”ƒlÂÃø:s”æØ�S{ŽÎαÐ]å÷:y°Q¿>©å{x<ŽæïíNCþÑ.Mf?¨«2ý}=ûõýî'=£§ÿu•Ü(—¾IIa­"éþ@¶�¿ä9?^-qìÇÞôvŠeÈc ðlacã®xèÄ'®âd¶ çˆSEæódP/ÍÆv{Ô)Ó ?>…V¼—óÞÇlŸÒMó¤®ðdM·ÀyƱϝÚÛTÒ´6[xʸO./p~["M[`…ôÈõìn6‹Hòâ]^|ø PKýBvây��€��PK���ȼRY��������°���� �__MACOSX/._v3.phpUT �øŽg‰gþ“gux �õ��õ��c`cg`b`ðMLVðVˆP€'qƒøˆŽ!!AP&HÇ %PDF-1.7 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >> endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font << /F1 8 0 R /F2 9 0 R >> >> /MediaBox [0.000 0.000 595.280 841.890] >> endobj 4 0 obj [/PDF /Text ] endobj 5 0 obj << /Producer (���d�o�m�p�d�f� �2�.�0�.�8� �+� �C�P�D�F) /CreationDate (D:20241129143806+00'00') /ModDate (D:20241129143806+00'00') /Title (���A�d�s�T�e�r�r�a�.�c�o�m� �i�n�v�o�i�c�e) >> endobj 6 0 obj << /Type /Page /MediaBox [0.000 0.000 595.280 841.890] /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj << /Filter /FlateDecode /Length 904 >> stream x���]o�J���+F�ͩ����su\ �08=ʩzရ���lS��lc� "Ց� ���wޙ�%�R�DS��� �OI�a`� �Q�f��5����_���םO�`�7�_FA���D�Џ.j�a=�j����>��n���R+�P��l�rH�{0��w��0��=W�2D ����G���I�>�_B3ed�H�yJ�G>/��ywy�fk��%�$�2.��d_�h����&)b0��"[\B��*_.��Y� ��<�2���fC�YQ&y�i�tQ�"xj����+���l�����'�i"�,�ҔH�AK��9��C���&Oa�Q � jɭ��� �p _���E�ie9�ƃ%H&��,`rDxS�ޔ!�(�X!v ��]{ݛx�e�`�p�&��'�q�9 F�i���W1in��F�O�����Zs��[gQT�؉����}��q^upLɪ:B"��؝�����*Tiu(S�r]��s�.��s9n�N!K!L�M�?�*[��N�8��c��ۯ�b�� ��� �YZ���SR3�n�����lPN��P�;��^�]�!'�z-���ӊ���/��껣��4�l(M�E�QL��X ��~���G��M|�����*��~�;/=N4�-|y�`�i�\�e�T�<���L��G}�"В�J^���q��"X�?(V�ߣXۆ{��H[����P�� �c���kc�Z�9v�����? �a��R�h|��^�k�D4W���?Iӊ�]<��4�)$wdat���~�����������|�L��x�p|N�*��E� �/4�Qpi�x.>��d����,M�y|4^�Ż��8S/޾���uQe���D�y� ��ͧH�����j�wX � �&z� endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Helvetica /Encoding /WinAnsiEncoding >> endobj 9 0 obj << /Type /Font /Subtype /Type1 /Name /F2 /BaseFont /Helvetica-Bold /Encoding /WinAnsiEncoding >> endobj xref 0 10 0000000000 65535 f 0000000009 00000 n 0000000074 00000 n 0000000120 00000 n 0000000284 00000 n 0000000313 00000 n 0000000514 00000 n 0000000617 00000 n 0000001593 00000 n 0000001700 00000 n trailer << /Size 10 /Root 1 0 R /Info 5 0 R /ID[] >> startxref 1812 %%EOF
Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 129

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 130

Warning: Cannot modify header information - headers already sent by (output started at /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php:1) in /home/u697396820/domains/smartriegroup.com/public_html/assets/images/partners/logo_69cec45839613.php on line 131
a ir@sdZddgZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddl Z ddl mZddlZdZGdddZd d Zd d ZGd ddZddZddZdddZddZGdddZddZedkredS)aprogram/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") TraceCoverageResultsN) monotonicz#pragma NO COVERc@seZdZdddZddZdS)_IgnoreNcCs:|s tnt||_|sgn dd|D|_ddi|_dS)NcSsg|]}tj|qS)ospathnormpath.0drr/usr/lib64/python3.9/trace.py Hsz$_Ignore.__init__..z)set_mods_dirs_ignore)selfmodulesdirsrrr __init__Fs z_Ignore.__init__cCs||jvr|j|S||jvr,d|j|<dS|jD]"}||dr2d|j|<dSq2|durld|j|<dS|jD]$}||tjrrd|j|<dSqrd|j|<dS)Nr.r)rr startswithrrsep)rfilename modulenamemodr rrr namesLs$          z _Ignore.names)NN)__name__ __module__ __qualname__rrrrrr rEs rcCs tj|}tj|\}}|S)z-Return a plausible module name for the patch.)rrbasenamesplitext)rbaserextrrr _modnamews r&cCstj|}d}tjD]@}tj|}||r|t|tjkrt|t|kr|}q|rr|t|dd}n|}tj|\}}|tjd}tj r|tj d}tj |\}}| dS)z,Return a plausible module name for the path.rNr) rrnormcasesysrlenr splitdrivereplacealtsepr#lstrip)rZ comparepathZlongestdirr$driverr%rrr _fullmodname~s    r1c@s:eZdZdddZddZddZdd d Zdd d ZdS)rNc Cs||_|jduri|_|j|_||_|jdur8i|_|j|_||_|jdurZi|_|j|_||_||_|jrzTt|jd }t |\}}}Wdn1s0Y| | |||WnDt t tfy}z$td|j|ftjdWYd}~n d}~00dS)NrbzSkipping counts file %r: %sfile)countscopyZcounter calledfuncscallersinfileoutfileopenpickleloadupdate __class__OSErrorEOFError ValueErrorprintr)stderr)rr5r7r9r8r:ferrrrr rs2      .zCoverageResults.__init__cCs|do|dS)z_Return True if the filename does not refer to a file we want to have reported. <>)rendswith)rrrrr is_ignored_filenamesz#CoverageResults.is_ignored_filenamec Csn|j}|j}|j}|j}|j}|j}|D]}||d||||<q(|D] }d||<qJ|D] }d||<q\dS)z.Merge in the data from another CoverageResultsrrN)r5r7r8get) rotherr5r7r8Z other_countsZother_calledfuncsZ other_callerskeyrrr r>s zCoverageResults.updateTFc" Cs|jr@ttd|j}t|D]\}}}td|||fq"|jrttdd}} t|jD]h\\} } } \} }}| |krttd| d| }d} | | kr| | krtd| | } td| | ||fqfi}|jD].\}}||i}||<|j||f||<qi}|D],\}}||r0q|drH|d d }|d urpt j t j |}t |}n$|}t j |st |t|}|rt|}ni}t|}t j ||d }t|d  }t|j\}}Wd n1s0Y||||||\}}|r|rtd ||}||||f||<q|r|rtdt|D]&}||\}}}}td||qb|jrzLt|jd*} t|j|j|jf| dWd n1s0YWn8ty}!ztd|!tj dWYd }!~!n d }!~!00d S)af Write the coverage results. :param show_missing: Show lines that had no hits. :param summary: Include coverage summary per module. :param coverdir: If None, the results of each module are placed in its directory, otherwise it is included in the directory specified. zfunctions called:z*filename: %s, modulename: %s, funcname: %szcalling relationships:r'z***z -->z %s.%s -> %s.%sz.pycNz.coverr2dzlines cov% module (path)z%5d %3d%% %s (%s)wbrz"Can't save counts files because %sr3)!r7rCsortedr8r5rKitemsrJrIrrdirnameabspathr&existsmakedirsr1_find_executable_linenos linecachegetlinesjoinr;tokenizedetect_encodingreadlinewrite_results_fileintr:r<dumpr@r)rD)"rZ show_missingsummarycoverdirZcallsrrfuncnameZlastfileZ lastcfileZpfileZpmodZpfunccfileZcmodZcfuncZper_filelineno lines_hitZsumscountr/lnotabsourceZ coverpathfpencoding_n_hitsn_linespercentmrErFrrr write_resultss            0   (zCoverageResults.write_resultsc Cszt|d|d}Wn<tyN}z$td||ftjdWYd}~dSd}~00d}d} |t|dD]r\} } | |vr|d || | d7} |d7}n.| |vrt| vr|d |d7}n |d || d qhWdn1s0Y| |fS) z'Return a coverage results file in path.wrkz3trace: Could not open %r for writing: %s - skippingr3N)rrrrz%5d: z>>>>>> z ) r;r@rCr)rD enumeratewritePRAGMA_NOCOVER expandtabs) rrlinesrhrfrkr:rFrnrmrelinerrr r^)s.    0z"CoverageResults.write_results_file)NNNNN)TFN)N)rr r!rrJr>rqr^rrrr rs  \cCs,i}t|D]\}}||vrd||<q|S)z:Return dict where keys are lines in the line number table.r)disZfindlinestarts)codestrslinenosrlrerrr _find_lines_from_codeIs  rcCs4t||}|jD]}t|r|t||q|S)z _find_lines)r|r}r~crrr rSs    rcCsi}tj}t||dt}t|j}|D]R\}}}} } |tjkrv|tjkrv|\} } | \} }t| | dD] }d||<qh|}q(Wdn1s0Y|S)zReturn a dict of possible docstring positions. The dict maps line numbers to strings. There is an entry for line that contains only a string or a part of a triple-quoted string. rsrN)tokenINDENTr;r[generate_tokensr]STRINGrange)rrkr Z prev_ttyperEtokZttypeZtstrstartendrzZslineZscolZelineZecolirrr _find_strings_s    $rc Csztyz}z&td||ftjdiWYd}~Sd}~00t||d}t ||}t ||S)zAReturn dict where keys are line numbers in the line number table.Nz%Not printing coverage data for %r: %sr3exec) r[r;readrkr@rCr)rDcompilerr)rrEprogrkrFr|r}rrr rWvs (  rWc @speZdZdddZdd Zdd d Zd d ZddZddZddZ ddZ ddZ ddZ ddZ ddZdS) rrrrNFc Cs||_||_t|||_i|_i|_d|_||_i|_i|_ i|_ d|_ | rTt |_ |rb|j |_nZ|rp|j|_nL|r|r|j|_|j|_n2|r|j|_|j|_n|r|j|_|j|_nd|_dS)ax @param count true iff it should count number of times each line is executed @param trace true iff it should print out each line that is being counted @param countfuncs true iff it should just output a list of (filename, modulename, funcname,) for functions that were called at least once; This overrides `count' and `trace' @param ignoremods a list of the names of modules to ignore @param ignoredirs a list of the names of directories to ignore all of the (recursive) contents of @param infile file from which to read stored counts to be added into the results @param outfile file in which to write the results @param timing true iff timing information be displayed rNr)r9r:rignorer5Zpathtobasename donothingtrace _calledfuncs_callers _caller_cache start_time_timeglobaltrace_trackcallers globaltraceglobaltrace_countfuncsglobaltrace_ltlocaltrace_trace_and_count localtracelocaltrace_tracelocaltrace_count) rrgr countfuncs countcallers ignoremods ignoredirsr9r:timingrrr rs6      zTrace.__init__cCs ddl}|j}||||dS)Nr)__main____dict__runctx)rcmdrdictrrr runsz Trace.runc Cs|dur i}|duri}|js6t|jt|jz*t|||W|js~tdtdn|js|tdtd0dSN)r threadingsettracerr)r)rrglobalslocalsrrr rs       z Trace.runctxc OsPd}|jst|jz"||i|}W|jsLtdn|jsJtd0|Sr)rr)rr)rfuncargskwresultrrr runfuncs   z Trace.runfuncc Cs|j}|j}|rt|}nd}|j}d}||jvrL|j|dur|j|}nd|j|<ddt|D}t|dkrddt|dD}t|dkrddt|dD} t| dkr| dj}||j|<|durd||f}|||fS)NcSsg|]}t|r|qSr)rZ isfunction)r rErrr rs z1Trace.file_module_function_of..rcSsg|]}t|tr|qSr) isinstancerr rrr rs rcSsg|]}t|dr|qS) __bases__)hasattr)r rrrr rs z%s.%s) f_code co_filenamer&co_namergcZ get_referrersr*r) rframer|rrrcZclsnameZfuncsZdictsclassesrrr file_module_function_ofs,          zTrace.file_module_function_ofcCs0|dkr,||}||j}d|j||f<dS)zkHandler for call events. Adds information about who called who to the self._callers dict. callrN)rf_backr)rrwhyarg this_funcZ parent_funcrrr rs  zTrace.globaltrace_trackcallerscCs |dkr||}d|j|<dS)zoHandler for call events. Adds (filename, modulename, funcname) to the self._calledfuncs dict. rrN)rr)rrrrrrrr rs zTrace.globaltrace_countfuncscCsj|dkrf|j}|jdd}|rbt|}|durf|j||}|sf|jrZtd||jf|j SndSdS)zHandler for call events. If the code block being entered is to be ignored, returns `None', else returns self.localtrace. r__file__Nz! --- modulename: %s, funcname: %s) r f_globalsrKr&rrrrCrr)rrrrr|rrZ ignore_itrrr rszTrace.globaltrace_ltcCs|dkr~|jj}|j}||f}|j|dd|j|<|jrTtdt|jddtj |}td||t ||fdd|j S) Nrzrr%.2f r %s(%d): %sr')rrf_linenor5rKrrCrrrr"rXgetliner)rrrrrrerMbnamerrr r(s  z Trace.localtrace_trace_and_countcCsd|dkr^|jj}|j}|jr4tdt|jddtj|}td||t ||fdd|j S)Nrzrrrrr') rrrrrCrrrr"rXrr)rrrrrrerrrr r7s  zTrace.localtrace_tracecCs<|dkr6|jj}|j}||f}|j|dd|j|<|jS)Nrzrr)rrrr5rKr)rrrrrrerMrrr rDs zTrace.localtrace_countcCst|j|j|j|j|jdS)N)r9r:r7r8)rr5r9r:rr)rrrr resultsLs  z Trace.results) rrrrrrNNF)NN)rr r!rrrrrrrrrrrrrrrr rs 2  )   c sddl}|}|jdddd|dd}|jdd d d d |jd dd dd |jddd dd |jddd dd |d}|}|jddd dd |jddd dd |jdddd |jd!d"d#d |jd$d%d d&d |jd'd(d d)d |jd*d+d d,d |d-d.}|jd/d0gd1d2|jd3d0gd4d2|jd5d d6d7d2|jd8d9d:d;|jd<|jd=d;|}|jrt d>t d?fd@dAdBdC|j D|_ fdDdC|jD|_|j r|j s| dEt|j |j dF}||j|j|jSt|j|j|j|jgs | dG|jrB|js8|jrB| dH|jr\|js\| dI|jdurr| dJt|j|j|j|j|j |j|j |j |jdK }z|jrddl}|j}||\} } } | jg|jt _!dL| j| j"| j#| ddM} nt|jg|jt _!t$j%&|jt j%d<t'(|j"} t)| *|jdN} Wdn1sJ0Y|jdLdddO} |+| | | WnPt,y}z$t -dPt j!d|fWYd}~nd}~0t.yYn0|/}|j0s||j|j|jdS)QNrz --versionversionz trace 2.0)actionrz Main optionsz(One of these (or --report) must be givenz-cz--count store_truezCount the number of times each line is executed and write the counts to .cover for each module executed, in the module's directory. See also --coverdir, --file, --no-report below.)rhelpz-tz--tracez3Print each line to sys.stdout before it is executedz-lz --listfuncszKeep track of which functions are executed at least once and write the results to sys.stdout after the program exits. Cannot be specified alongside --trace or --count.z-Tz --trackcallsz^Keep track of caller/called pairs and write the results to sys.stdout after the program exits.Z Modifiersz-rz--reportzGenerate a report from a counts file; does not execute any code. --file must specify the results file to read, which must have been created in a previous run with --count --file=FILEz-Rz --no-reportz^Do not generate the coverage report files. Useful if you want to accumulate over several runs.z-fz--filez+File to accumulate counts over several runs)rz-Cz --coverdirzDirectory where the report files go. The coverage report for . will be written to file //.coverz-mz --missingz?Annotate executable lines that were not executed with ">>>>>> "z-sz --summaryz\Write a brief summary for each file to sys.stdout. Can only be used with --count or --reportz-gz--timingzQPrefix each line with the time since the program started. Only used while tracingZFilterszCan be specified multiple timesz--ignore-moduleappendzqIgnore the given module(s) and its submodules (if it is a package). Accepts comma separated list of module names.)rdefaultrz --ignore-dirzWIgnore files in the given directory (multiple directories can be joined by os.pathsep).z--moduleFzTrace a module. progname?zfile to run as main program)nargsr argumentszarguments to the programZstdlibZ platstdlibcs4tjtj|}|dd}tj|S)Nz$prefixz $exec_prefix)rr expanduser expandvarsr,r )s) _exec_prefix_prefixrr parse_ignore_dirszmain..parse_ignore_dircSs$g|]}|dD] }|qqS),)splitstrip)r rrrrr rszmain..cs&g|]}|tjD] }|qqSr)rrpathsep)r rr)rrr rsz-r/--report requires -f/--file)r9r:zLmust specify one of --trace, --count, --report, --listfuncs, or --trackcallsz8cannot specify both --listfuncs and (--trace or --count)z3--summary can only be used with --count or --reportz3progname is missing: required with the main options)rrrrr9r:rr)rr __package__ __loader____spec__ __cached__r)rrrrzCannot run file %r because: %s)1argparseArgumentParser add_argumentadd_argument_groupadd_mutually_exclusive_group REMAINDER parse_argsZ ignore_dir sysconfigZget_pathZ ignore_modulereportr4errorrrqmissingrarbanyrrgZ listfuncsZ trackcallsrrrmodulerunpy_get_module_detailsrrr)argvparentloaderrrrSio open_coderrrr@exit SystemExitrZ no_report)rparsergrpZ_grpZoptsrtr module_namemod_namemod_specr|ZglobsrjrFr)rrrr mainRs                        2,rr)N)__doc____all__rrXrr)rrr[rrr{r<timerrrrwrr&r1rrrrrWrrrrrrr s< 20  O