mlocati / spf-lib

PHP library to parse, build and validate SPF (Sender Policy Framework) DNS records
MIT License
54 stars 6 forks source link

Bug fixes thanks to open-spf test suite #11

Closed mlocati closed 4 years ago

codecov-commenter commented 4 years ago

Codecov Report

Merging #11 into master will increase coverage by 5.82%. The diff coverage is 94.96%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #11      +/-   ##
============================================
+ Coverage     87.75%   93.58%   +5.82%     
- Complexity      550      622      +72     
============================================
  Files            36       39       +3     
  Lines          1176     1324     +148     
============================================
+ Hits           1032     1239     +207     
+ Misses          144       85      -59     
Flag Coverage Δ Complexity Δ
#unittests 93.58% <94.96%> (+5.82%) 622.00 <114.00> (+72.00)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
src/DNS/StandardResolver.php 37.87% <0.00%> (+4.54%) 25.00 <3.00> (-1.00) :arrow_up:
src/Term/Modifier/ExpModifier.php 91.66% <0.00%> (ø) 7.00 <0.00> (ø)
src/Exception/TooManyDNSVoidLookupsException.php 60.00% <60.00%> (ø) 2.00 <2.00> (?)
src/Exception/InvalidDomainException.php 63.63% <63.63%> (ø) 7.00 <7.00> (?)
src/Check/State.php 90.99% <97.50%> (-9.01%) 57.00 <46.00> (+44.00) :arrow_down:
src/Check/DomainNameValidator.php 97.77% <97.77%> (ø) 25.00 <25.00> (?)
src/Checker.php 98.50% <98.48%> (+24.24%) 105.00 <27.00> (-12.00) :arrow_up:
src/Check/State/MailFromState.php 100.00% <100.00%> (ø) 2.00 <0.00> (+1.00)
src/Decoder.php 99.50% <100.00%> (+0.01%) 103.00 <0.00> (+2.00)
src/Exception/MissingEnvironmentValueException.php 75.00% <100.00%> (-8.34%) 12.00 <0.00> (ø)
... and 15 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c752916...81f7074. Read the comment docs.