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

fredbi / uri / 6212471233
89%

Build:
DEFAULT BRANCH: master
Ran 17 Sep 2023 08:14AM UTC
Jobs 2
Files 3
Run time 1s
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

17 Sep 2023 08:13AM UTC coverage: 97.767% (-1.6%) from 99.374%
6212471233

push

github

web-flow
enhancement: replaces regular expressions by explicit parsing following (#20)

the RFC grammar.

Performance
-----------
* Removed all usage of regexp's.
* Replaced IPv6 parsing by standard lib functionality.

Overall, the benchmark shows a speed improvement of x5 when compared to
v0.1. This is still 2x slower than URL parsing with the standard libary.

RFC strictness
-----------
This PR fixes a few strictness issues:
* identifies wrong URIs with empty authority and path starting with a
double '/'
* identifies invalid IPv6 addresses with an empty zone
* strictier check of DNS names
* strictier check of URL-encoded escape sequences
* allow escape sequences in IP addresses
* strictly follows the RFC rule: "if not a valid IP, then consider a
registered name": hence
* strictier IP kind distinction: IPv6 must be between [], IPv4 must not

Caveats: IPv6 relies on the standard library and is therefore not very
strict regarding valid IPv6.

Fixes
-----------
* fixes #14

Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>

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

613 of 627 relevant lines covered (97.77%)

252.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6212471233.1 17 Sep 2023 08:14AM UTC 0
97.77
GitHub Action Run
2 6212471233.2 17 Sep 2023 08:14AM UTC 0
97.77
GitHub Action Run
Source Files on build 6212471233
Detailed source file information is not available for this build.
  • Back to Repo
  • 8810fa91 on github
  • Prev Build on master (#6212103685)
  • Next Build on master (#6214410830)
  • Delete
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