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

phillipsdata / minphp-html / 9 / 2
6%
master: 6%

Build:
Build:
LAST BUILD BRANCH: 1.1.0
DEFAULT BRANCH: master
Ran 31 Oct 2017 10:55PM UTC
Files 1
Run time 0s
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

31 Oct 2017 10:54PM UTC coverage: 5.714%. First build
9.2

push

travis-ci

Tyson Phillips
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.

4 of 70 relevant lines covered (5.71%)

0.91 hits per line

Source Files on job 9.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9
  • Travis Job 9.2
  • 2fe3feb2 on github
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