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

violinist-dev / licence-check
84%

Build:
DEFAULT BRANCH: main
Repo Added 26 Apr 2024 01:29PM UTC
Token emTN9ZIK3w1NiIdm4momiyEY7kXCvxRZ2 regen
Build 20 Last
Files 3
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • eiriksm-patch-1
  • feat/generate
  • fix/add-valid
  • fix/all-of-it
  • fix/licence-obj
  • fix/valid-return
  • main

24 Feb 2025 05:13PM UTC coverage: 84.058% (+0.5%) from 83.582%
13503762977

push

github

web-flow
Make prefix work regardless of protocol (#8)

* Update LicenceTest.php

* Update `isValidForRepository` method to normalize URL before checking prefix

* Add `normalizeUrl` helper method to remove protocol part from URL
* Use `normalizeUrl` in `isValidForRepository` to normalize URL before checking prefix

* Update `isValidForRepository` method to handle URLs with or without protocol and add support for `git://` protocol

* Update `isValidForRepository` method to normalize the URL by removing the protocol part and check if the URL starts with the required prefix
* Update `normalizeUrl` method to remove `git://` protocol in addition to `http://` and `https://`
* Add test cases for URLs with `git://` protocol and URLs without protocol in `testValidForRepo` method

* Update LicenceTest.php

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

58 of 69 relevant lines covered (84.06%)

18.09 hits per line

Relevant lines Covered
Build:
Build:
69 RELEVANT LINES 58 COVERED LINES
18.09 HITS PER LINE
Source Files on main
  • Tree
  • List 3
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
13503762977 main Make prefix work regardless of protocol (#8) * Update LicenceTest.php * Update `isValidForRepository` method to normalize URL before checking prefix * Add `normalizeUrl` helper method to remove protocol part from URL * Use `normalizeUrl` in `is... push 24 Feb 2025 05:13PM UTC web-flow github
84.06
13503747042 eiriksm-patch-1 Merge 251798400 into 8822e54bf Pull #8 24 Feb 2025 05:12PM UTC web-flow github
84.06
13503677346 eiriksm-patch-1 Merge 6679e7e86 into 8822e54bf Pull #8 24 Feb 2025 05:09PM UTC web-flow github
84.06
10849886426 main Add a method to check if the licence is valid for the url (#6) push 13 Sep 2024 01:19PM UTC web-flow github
83.58
10849848959 fix/add-valid Merge 54be92fb8 into 7c143d907 Pull #6 13 Sep 2024 01:16PM UTC web-flow github
83.58
10849666890 fix/add-valid Merge 4ce611c0a into 7c143d907 Pull #6 13 Sep 2024 01:05PM UTC web-flow github
76.12
10849637769 fix/add-valid Merge ea5e2eba9 into 7c143d907 Pull #6 13 Sep 2024 01:03PM UTC web-flow github
76.12
10836995463 main Indicate that payload is always licence (#7) push 12 Sep 2024 06:56PM UTC web-flow github
79.69
10835645892 fix/licence-obj Merge d97d6f375 into 630365825 Pull #7 12 Sep 2024 05:20PM UTC web-flow github
79.69
10835645778 fix/add-valid Merge 110c9dda3 into 630365825 Pull #6 12 Sep 2024 05:20PM UTC web-flow github
76.12
See All Builds (20)

Badge your Repo: licence-check

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo 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

© 2025 Coveralls, Inc