owncloud / brute_force_protection

Brute-force protection app for ownCloud
GNU General Public License v2.0
6 stars 5 forks source link

Public share protect 5 #125

Closed phil-davis closed 4 years ago

phil-davis commented 4 years ago

Add a test for a publicly shared file.

codecov[bot] commented 4 years ago

Codecov Report

Merging #125 into master will increase coverage by 3.78%. The diff coverage is 77.51%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #125      +/-   ##
============================================
+ Coverage     70.00%   73.78%   +3.78%     
- Complexity       39       55      +16     
============================================
  Files            11       13       +2     
  Lines           170      267      +97     
============================================
+ Hits            119      197      +78     
- Misses           51       70      +19     
Impacted Files Coverage Δ Complexity Δ
appinfo/Migrations/Version20191109111104.php 0.00% <0.00%> (ø) 2.00 <2.00> (?)
lib/BruteForceProtectionConfig.php 100.00% <ø> (ø) 8.00 <0.00> (ø)
templates/settings-admin.php 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
lib/Db/FailedLinkAccessMapper.php 100.00% <100.00%> (ø) 6.00 <6.00> (?)
lib/Db/FailedLoginAttemptMapper.php 100.00% <100.00%> (ø) 6.00 <2.00> (ø)
lib/Hooks.php 100.00% <100.00%> (+17.64%) 8.00 <6.00> (+3.00)
lib/Jobs/ExpireOldAttempts.php 100.00% <100.00%> (ø) 2.00 <0.00> (ø)
lib/Throttle.php 100.00% <100.00%> (+8.00%) 13.00 <11.00> (+5.00)

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 a142614...923fe28. Read the comment docs.

phil-davis commented 4 years ago

Updated tests have been added to #90