|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<coverage generated="1605544401"> |
3 | | - <project timestamp="1605544401"> |
| 2 | +<coverage generated="1605604249"> |
| 3 | + <project timestamp="1605604249"> |
4 | 4 | <package name="SecureNative\sdk"> |
5 | 5 | <file name="/Users/inbaltako/code/securenative-php/src/ConfigurationManager.php"> |
6 | 6 | <class name="SecureNative\sdk\ConfigurationManager" namespace="SecureNative\sdk"> |
|
581 | 581 | </file> |
582 | 582 | <file name="/Users/inbaltako/code/securenative-php/src/Utils.php"> |
583 | 583 | <class name="SecureNative\sdk\Utils" namespace="SecureNative\sdk"> |
584 | | - <metrics complexity="29" methods="11" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="53" coveredstatements="36" elements="64" coveredelements="38"/> |
| 584 | + <metrics complexity="32" methods="11" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="54" coveredstatements="38" elements="65" coveredelements="41"/> |
585 | 585 | </class> |
586 | 586 | <line num="5" type="stmt" count="0"/> |
587 | 587 | <line num="6" type="stmt" count="0"/> |
588 | 588 | <line num="7" type="stmt" count="0"/> |
589 | 589 | <line num="8" type="stmt" count="0"/> |
590 | | - <line num="13" type="method" name="clientIpFromRequest" visibility="public" complexity="8" crap="8.03" count="36"/> |
| 590 | + <line num="13" type="method" name="clientIpFromRequest" visibility="public" complexity="11" crap="11" count="36"/> |
591 | 591 | <line num="15" type="stmt" count="36"/> |
592 | 592 | <line num="16" type="stmt" count="3"/> |
593 | 593 | <line num="17" type="stmt" count="3"/> |
594 | 594 | <line num="18" type="stmt" count="3"/> |
595 | 595 | <line num="19" type="stmt" count="3"/> |
596 | | - <line num="24" type="stmt" count="33"/> |
597 | | - <line num="25" type="stmt" count="2"/> |
598 | | - <line num="26" type="stmt" count="2"/> |
599 | | - <line num="28" type="stmt" count="31"/> |
600 | | - <line num="29" type="stmt" count="20"/> |
601 | | - <line num="31" type="stmt" count="11"/> |
602 | | - <line num="32" type="stmt" count="0"/> |
603 | | - <line num="34" type="stmt" count="11"/> |
604 | | - <line num="37" type="method" name="userAgentFromRequest" visibility="public" complexity="2" crap="6" count="0"/> |
605 | | - <line num="39" type="stmt" count="0"/> |
606 | | - <line num="40" type="stmt" count="0"/> |
607 | | - <line num="42" type="stmt" count="0"/> |
608 | | - <line num="46" type="method" name="headersFromRequest" visibility="public" complexity="3" crap="3.71" count="9"/> |
609 | | - <line num="48" type="stmt" count="9"/> |
610 | | - <line num="49" type="stmt" count="9"/> |
611 | | - <line num="50" type="stmt" count="9"/> |
612 | | - <line num="51" type="stmt" count="0"/> |
613 | | - <line num="52" type="stmt" count="0"/> |
614 | | - <line num="53" type="stmt" count="0"/> |
615 | | - <line num="56" type="stmt" count="9"/> |
616 | | - <line num="59" type="method" name="urlFromRequest" visibility="public" complexity="3" crap="3.33" count="9"/> |
| 596 | + <line num="20" type="stmt" count="3"/> |
| 597 | + <line num="21" type="stmt" count="3"/> |
| 598 | + <line num="28" type="stmt" count="33"/> |
| 599 | + <line num="29" type="stmt" count="33"/> |
| 600 | + <line num="30" type="stmt" count="24"/> |
| 601 | + <line num="31" type="stmt" count="24"/> |
| 602 | + <line num="32" type="stmt" count="24"/> |
| 603 | + <line num="33" type="stmt" count="24"/> |
| 604 | + <line num="39" type="stmt" count="9"/> |
| 605 | + <line num="42" type="method" name="userAgentFromRequest" visibility="public" complexity="2" crap="6" count="0"/> |
| 606 | + <line num="44" type="stmt" count="0"/> |
| 607 | + <line num="45" type="stmt" count="0"/> |
| 608 | + <line num="47" type="stmt" count="0"/> |
| 609 | + <line num="51" type="method" name="headersFromRequest" visibility="public" complexity="3" crap="3.71" count="9"/> |
| 610 | + <line num="53" type="stmt" count="9"/> |
| 611 | + <line num="54" type="stmt" count="9"/> |
| 612 | + <line num="55" type="stmt" count="9"/> |
| 613 | + <line num="56" type="stmt" count="0"/> |
| 614 | + <line num="57" type="stmt" count="0"/> |
| 615 | + <line num="58" type="stmt" count="0"/> |
617 | 616 | <line num="61" type="stmt" count="9"/> |
618 | | - <line num="62" type="stmt" count="0"/> |
619 | | - <line num="65" type="stmt" count="9"/> |
620 | | - <line num="68" type="method" name="methodFromRequest" visibility="public" complexity="2" crap="2.15" count="9"/> |
| 617 | + <line num="64" type="method" name="urlFromRequest" visibility="public" complexity="3" crap="3.33" count="9"/> |
| 618 | + <line num="66" type="stmt" count="9"/> |
| 619 | + <line num="67" type="stmt" count="0"/> |
621 | 620 | <line num="70" type="stmt" count="9"/> |
622 | | - <line num="71" type="stmt" count="0"/> |
623 | | - <line num="73" type="stmt" count="9"/> |
624 | | - <line num="76" type="method" name="secureHeaderFromRequest" visibility="public" complexity="2" crap="2.15" count="9"/> |
| 621 | + <line num="73" type="method" name="methodFromRequest" visibility="public" complexity="2" crap="2.15" count="9"/> |
| 622 | + <line num="75" type="stmt" count="9"/> |
| 623 | + <line num="76" type="stmt" count="0"/> |
625 | 624 | <line num="78" type="stmt" count="9"/> |
626 | | - <line num="79" type="stmt" count="0"/> |
627 | | - <line num="81" type="stmt" count="9"/> |
628 | | - <line num="84" type="method" name="cookieIdFromRequest" visibility="public" complexity="3" crap="3.33" count="9"/> |
| 625 | + <line num="81" type="method" name="secureHeaderFromRequest" visibility="public" complexity="2" crap="2.15" count="9"/> |
| 626 | + <line num="83" type="stmt" count="9"/> |
| 627 | + <line num="84" type="stmt" count="0"/> |
629 | 628 | <line num="86" type="stmt" count="9"/> |
630 | | - <line num="87" type="stmt" count="0"/> |
631 | | - <line num="90" type="stmt" count="9"/> |
632 | | - <line num="93" type="method" name="generateGuidV4" visibility="public" complexity="1" crap="1" count="8"/> |
633 | | - <line num="95" type="stmt" count="8"/> |
634 | | - <line num="97" type="stmt" count="8"/> |
635 | | - <line num="98" type="stmt" count="8"/> |
| 629 | + <line num="89" type="method" name="cookieIdFromRequest" visibility="public" complexity="3" crap="3.33" count="9"/> |
| 630 | + <line num="91" type="stmt" count="9"/> |
| 631 | + <line num="92" type="stmt" count="0"/> |
| 632 | + <line num="95" type="stmt" count="9"/> |
| 633 | + <line num="98" type="method" name="generateGuidV4" visibility="public" complexity="1" crap="1" count="8"/> |
636 | 634 | <line num="100" type="stmt" count="8"/> |
637 | | - <line num="103" type="method" name="serialize" visibility="public" complexity="1" crap="1" count="7"/> |
638 | | - <line num="105" type="stmt" count="7"/> |
639 | | - <line num="108" type="method" name="decrypt" visibility="public" complexity="2" crap="2.01" count="8"/> |
640 | | - <line num="110" type="stmt" count="8"/> |
641 | | - <line num="111" type="stmt" count="8"/> |
642 | | - <line num="113" type="stmt" count="8"/> |
643 | | - <line num="114" type="stmt" count="8"/> |
| 635 | + <line num="102" type="stmt" count="8"/> |
| 636 | + <line num="103" type="stmt" count="8"/> |
| 637 | + <line num="105" type="stmt" count="8"/> |
| 638 | + <line num="108" type="method" name="serialize" visibility="public" complexity="1" crap="1" count="7"/> |
| 639 | + <line num="110" type="stmt" count="7"/> |
| 640 | + <line num="113" type="method" name="decrypt" visibility="public" complexity="2" crap="2.01" count="8"/> |
| 641 | + <line num="115" type="stmt" count="8"/> |
644 | 642 | <line num="116" type="stmt" count="8"/> |
645 | | - <line num="117" type="stmt" count="0"/> |
| 643 | + <line num="118" type="stmt" count="8"/> |
646 | 644 | <line num="119" type="stmt" count="8"/> |
647 | | - <line num="120" type="stmt" count="8"/> |
648 | | - <line num="124" type="method" name="encrypt" visibility="public" complexity="2" crap="6" count="0"/> |
649 | | - <line num="125" type="stmt" count="0"/> |
650 | | - <line num="127" type="stmt" count="0"/> |
651 | | - <line num="128" type="stmt" count="0"/> |
| 645 | + <line num="121" type="stmt" count="8"/> |
| 646 | + <line num="122" type="stmt" count="0"/> |
| 647 | + <line num="124" type="stmt" count="8"/> |
| 648 | + <line num="125" type="stmt" count="8"/> |
| 649 | + <line num="129" type="method" name="encrypt" visibility="public" complexity="2" crap="6" count="0"/> |
652 | 650 | <line num="130" type="stmt" count="0"/> |
653 | | - <line num="131" type="stmt" count="0"/> |
654 | | - <metrics loc="134" ncloc="134" classes="1" methods="11" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="57" coveredstatements="36" elements="68" coveredelements="38"/> |
| 651 | + <line num="132" type="stmt" count="0"/> |
| 652 | + <line num="133" type="stmt" count="0"/> |
| 653 | + <line num="135" type="stmt" count="0"/> |
| 654 | + <line num="136" type="stmt" count="0"/> |
| 655 | + <metrics loc="139" ncloc="139" classes="1" methods="11" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="58" coveredstatements="38" elements="69" coveredelements="41"/> |
655 | 656 | </file> |
656 | 657 | </package> |
657 | | - <metrics files="17" loc="1469" ncloc="1232" classes="15" methods="104" coveredmethods="41" conditionals="0" coveredconditionals="0" statements="445" coveredstatements="315" elements="549" coveredelements="356"/> |
| 658 | + <metrics files="17" loc="1474" ncloc="1237" classes="15" methods="104" coveredmethods="42" conditionals="0" coveredconditionals="0" statements="446" coveredstatements="317" elements="550" coveredelements="359"/> |
658 | 659 | </project> |
659 | 660 | </coverage> |
0 commit comments