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

phillipsdata / minphp-html / 10
6%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2017 11:00PM UTC
Jobs 6
Files 1
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

pending completion
10

Pull #4

travis-ci

web-flow
Improved performance of the UTF-8 check
Fixes #2
Replaced the old algorithm with a simple regex check for UTF-8. Also added mb_detect_encoding if the ext-mbstring extension is enabled.
For small strings, mb_detect_encoding performs about the same as the regex.
For large strings, it appears that the regex is noticably quicker (e.g. 1.5x to 4x faster for a 10,000 byte sequence).
Compared to the old algorithm, both mb_detect_encoding and the regex are about 30x to 40x quicker.
Pull Request #4: Improved performance of the UTF-8 check

5 of 5 new or added lines in 1 file covered. (100.0%)

4 of 70 relevant lines covered (5.71%)

5.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/Html.php
Jobs
ID Job ID Ran Files Coverage
1 10.1 31 Oct 2017 11:02PM UTC 0
5.71
Travis Job 10.1
2 10.2 31 Oct 2017 11:00PM UTC 0
5.71
Travis Job 10.2
3 10.3 31 Oct 2017 11:00PM UTC 0
5.71
Travis Job 10.3
4 10.4 31 Oct 2017 11:00PM UTC 0
5.71
Travis Job 10.4
5 10.5 31 Oct 2017 11:00PM UTC 0
7.02
Travis Job 10.5
6 10.6 31 Oct 2017 11:01PM UTC 0
7.02
Travis Job 10.6
Source Files on build 10
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10
  • Pull Request #4
  • PR Base - master (#7)
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

© 2026 Coveralls, Inc