• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPCSStandards / PHP_CodeSniffer / 9191747341
78%
master: 78%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 22 May 2024 01:03PM CUT
Jobs 3
Files 260
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 May 2024 12:57PM CUT coverage: 73.738% (+0.02%) from 73.718%
9191747341

push

github

jrfnl
File::find[Start|End]OfStatement(): add QA tests

This commit adds two QA tests to find potential bugs in the `File::find[Start|End]OfStatement()` methods.

1. It adds a test to ensure that the return value of `File::findStartOfStatement()` is never _after_ the passed `$start` stack pointer.
2. It adds a test to ensure that the return value of `File::findEndOfStatement()` is never _before_ the passed `$start` stack pointer.

The tests use the existing test code, but tests all non-empty tokens within the file.

Note: this test doesn't test that the stack pointer returned is _correct_, only that it _could_ be correct.

17947 of 24339 relevant lines covered (73.74%)

70.97 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
93
84.82
0.06% src/Tokenizers/PHP.php
Jobs
ID Job ID Ran Files Coverage
1 php-8.3-custom-ini-false - 9191747341.1 22 May 2024 01:03PM CUT 260
72.28
GitHub Action Run
2 php-7.2-custom-ini-false - 9191747341.2 22 May 2024 01:04PM CUT 260
69.68
GitHub Action Run
3 php-8.1-custom-ini-true - 9191747341.3 22 May 2024 01:03PM CUT 260
72.31
GitHub Action Run
Source Files on build 9191747341
  • Tree
  • List 260
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
src/Reporter.php420 169 0 169 0.0
0.0
src/Generators/Markdown.php160 59 0 59 0.0
0.0
src/Generators/HTML.php269 83 0 83 0.0
0.0
src/Generators/Text.php252 116 0 116 0.0
0.0
src/Files/DummyFile.php79 18 0 18 0.0
0.0
src/Files/FileList.php258 53 0 53 0.0
0.0
src/Generators/Generator.php101 20 0 20 0.0
0.0
src/Files/LocalFile.php214 95 0 95 0.0
0.0
src/Filters/ExactMatch.php151 26 0 26 0.0
0.0
src/Reports/Cbf.php247 107 0 107 0.0
Showing 1 to 10 of 260 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 26
  • Next
  • ►
    73.96
    src/
  • Back to Repo
  • Github Actions Build #9191747341
  • 40190471 on github
  • Prev Build on 4.0 (#9182515288)
  • Next Build on 4.0 (#9221288862)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc