René's URL Explorer Experiment


Title: GitHub - beporter/phpunit-coverage-tutorial: A small demonstration of using PHPUnit's `covers` annotation to control code coverage. · GitHub

Open Graph Title: GitHub - beporter/phpunit-coverage-tutorial: A small demonstration of using PHPUnit's `covers` annotation to control code coverage.

X Title: GitHub - beporter/phpunit-coverage-tutorial: A small demonstration of using PHPUnit's `covers` annotation to control code coverage.

Description: A small demonstration of using PHPUnit's `covers` annotation to control code coverage. - beporter/phpunit-coverage-tutorial

Open Graph Description: A small demonstration of using PHPUnit's `covers` annotation to control code coverage. - beporter/phpunit-coverage-tutorial

X Description: A small demonstration of using PHPUnit's `covers` annotation to control code coverage. - beporter/phpunit-coverage-tutorial

Opengraph URL: https://github.com/beporter/phpunit-coverage-tutorial

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:2d774a43-532c-c976-7c92-520d055d08b7
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idAD84:15F3A5:4B732C:6504AE:6A5B6BEA
html-safe-nonce2b1f15a28bda794b499090556b7dda89975352c52307da50f4f869e76eca05a8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDg0OjE1RjNBNTo0QjczMkM6NjUwNEFFOjZBNUI2QkVBIiwidmlzaXRvcl9pZCI6IjM3NTUzOTE1NDQyMzAzNzQzNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6899ad994cbe8da06ef8bec1386c4828e4f461b01b77fc71a86b3ed77c3bff34
hovercard-subject-tagrepository:16734332
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/beporter/phpunit-coverage-tutorial
twitter:imagehttps://opengraph.githubassets.com/0a676581f6bf516540bc5f197d1926c2cad9aadcd64780be231202925810bfe5/beporter/phpunit-coverage-tutorial
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0a676581f6bf516540bc5f197d1926c2cad9aadcd64780be231202925810bfe5/beporter/phpunit-coverage-tutorial
og:image:altA small demonstration of using PHPUnit's `covers` annotation to control code coverage. - beporter/phpunit-coverage-tutorial
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/beporter/phpunit-coverage-tutorial git https://github.com/beporter/phpunit-coverage-tutorial.git
octolytics-dimension-user_id637270
octolytics-dimension-user_loginbeporter
octolytics-dimension-repository_id16734332
octolytics-dimension-repository_nwobeporter/phpunit-coverage-tutorial
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16734332
octolytics-dimension-repository_network_root_nwobeporter/phpunit-coverage-tutorial
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/beporter/phpunit-coverage-tutorial#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbeporter%2Fphpunit-coverage-tutorial
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbeporter%2Fphpunit-coverage-tutorial
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=beporter%2Fphpunit-coverage-tutorial
Reloadhttps://github.com/beporter/phpunit-coverage-tutorial
Reloadhttps://github.com/beporter/phpunit-coverage-tutorial
Reloadhttps://github.com/beporter/phpunit-coverage-tutorial
beporter https://github.com/beporter
phpunit-coverage-tutorialhttps://github.com/beporter/phpunit-coverage-tutorial
Notifications https://github.com/login?return_to=%2Fbeporter%2Fphpunit-coverage-tutorial
Fork 3 https://github.com/login?return_to=%2Fbeporter%2Fphpunit-coverage-tutorial
Star 6 https://github.com/login?return_to=%2Fbeporter%2Fphpunit-coverage-tutorial
Code https://github.com/beporter/phpunit-coverage-tutorial
Issues 0 https://github.com/beporter/phpunit-coverage-tutorial/issues
Pull requests 0 https://github.com/beporter/phpunit-coverage-tutorial/pulls
Actions https://github.com/beporter/phpunit-coverage-tutorial/actions
Projects https://github.com/beporter/phpunit-coverage-tutorial/projects
Wiki https://github.com/beporter/phpunit-coverage-tutorial/wiki
Security and quality 0 https://github.com/beporter/phpunit-coverage-tutorial/security
Insights https://github.com/beporter/phpunit-coverage-tutorial/pulse
Code https://github.com/beporter/phpunit-coverage-tutorial
Issues https://github.com/beporter/phpunit-coverage-tutorial/issues
Pull requests https://github.com/beporter/phpunit-coverage-tutorial/pulls
Actions https://github.com/beporter/phpunit-coverage-tutorial/actions
Projects https://github.com/beporter/phpunit-coverage-tutorial/projects
Wiki https://github.com/beporter/phpunit-coverage-tutorial/wiki
Security and quality https://github.com/beporter/phpunit-coverage-tutorial/security
Insights https://github.com/beporter/phpunit-coverage-tutorial/pulse
https://github.com/beporter/phpunit-coverage-tutorial
Brancheshttps://github.com/beporter/phpunit-coverage-tutorial/branches
Tagshttps://github.com/beporter/phpunit-coverage-tutorial/tags
https://github.com/beporter/phpunit-coverage-tutorial/branches
https://github.com/beporter/phpunit-coverage-tutorial/tags
24 Commitshttps://github.com/beporter/phpunit-coverage-tutorial/commits/master/
https://github.com/beporter/phpunit-coverage-tutorial/commits/master/
.gitignorehttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/.gitignore
.gitignorehttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/.gitignore
.travis.ymlhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/.travis.yml
.travis.ymlhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/.travis.yml
LICENSEhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/LICENSE
LICENSEhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/LICENSE
README.mdhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/README.md
README.mdhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/README.md
SampleClass.phphttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/SampleClass.php
SampleClass.phphttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/SampleClass.php
SampleClassTest.phphttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/SampleClassTest.php
SampleClassTest.phphttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/SampleClassTest.php
composer.jsonhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/composer.json
composer.jsonhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/composer.json
phpunit-runner.shhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/phpunit-runner.sh
phpunit-runner.shhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/phpunit-runner.sh
woodhouse.shhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/woodhouse.sh
woodhouse.shhttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/woodhouse.sh
READMEhttps://github.com/beporter/phpunit-coverage-tutorial
Licensehttps://github.com/beporter/phpunit-coverage-tutorial
https://github.com/beporter/phpunit-coverage-tutorial#phpunit-covers-tutorial
@covers annotationhttp://phpunit.de/manual/current/en/appendixes.annotations.html#appendixes.annotations.covers
https://travis-ci.org/beporter/phpunit-coverage-tutorial
http://beporter.github.io/phpunit-coverage-tutorial/coverage/
xdebughttp://xdebug.org/
https://github.com/beporter/phpunit-coverage-tutorial#setup
Install the xdebug extensionhttp://xdebug.org/docs/install
Install PHPUnithttp://phpunit.de/manual/3.8/en/installation.html
Downloadhttps://github.com/beporter/phpunit-coverage-tutorial/archive/master.zip
https://github.com/beporter/phpunit-coverage-tutorial#tutorial
https://github.com/beporter/phpunit-coverage-tutorial#running-existing-tests-and-checking-coverage
SampleClass.phphttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/SampleClass.php
Fibonaccihttp://en.wikipedia.org/wiki/Fibonacci_number
SampleClassTest.phphttps://github.com/beporter/phpunit-coverage-tutorial/blob/master/SampleClassTest.php
Here is an examplehttp://beporter.github.io/phpunit-coverage-tutorial/coverage/SampleClass.php.html
https://github.com/beporter/phpunit-coverage-tutorial#fixing-the-coverage-report
test doubleshttp://phpunit.de/manual/3.7/en/test-doubles.html
L106https://github.com/beporter/phpunit-coverage-tutorial/blob/master/SampleClassTest.php#L106
https://github.com/beporter/phpunit-coverage-tutorial#covering-the-remaining-method
L78https://github.com/beporter/phpunit-coverage-tutorial/blob/master/SampleClassTest.php#L78
https://github.com/beporter/phpunit-coverage-tutorial#bonus-data-providers
data providerhttp://phpunit.de/manual/3.7/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.data-providers
https://github.com/beporter/phpunit-coverage-tutorial#bonus-using-a-test-double-instead-of-covers
L128https://github.com/beporter/phpunit-coverage-tutorial/blob/master/SampleClassTest.php#L128
https://github.com/beporter/phpunit-coverage-tutorial#final-thoughts
I actually did accidentallyhttps://github.com/beporter/phpunit-coverage-tutorial/pull/1
https://github.com/beporter/phpunit-coverage-tutorial#questions-comments-feedback-contributions
post an issuehttps://github.com/beporter/phpunit-coverage-tutorial/issues/new
https://github.com/beporter/phpunit-coverage-tutorial#license
CC-BY-NC-SA-3.0http://spdx.org/licenses/CC-BY-NC-SA-3.0
https://github.com/beporter/phpunit-coverage-tutorial#copyright
https://github.com/beporter/phpunit-coverage-tutorial#technical-details
woodhousehttps://github.com/IcecaveStudios/woodhouse
using the woodhouse command line toolhttps://github.com/IcecaveStudios/woodhouse#creating-a-github-token
needs to be encryptedhttp://docs.travis-ci.com/user/build-configuration/#Secure-environment-variables
installing the travis command line toolhttps://github.com/travis-ci/travis#installation
lint your .travis.yml filehttp://docs.travis-ci.com/user/travis-lint/
lint your composer.json filehttps://getcomposer.org/doc/03-cli.md#validate
enable travis for your repohttp://docs.travis-ci.com/user/getting-started/#Step-one%3A-Sign-in
Readme https://github.com/beporter/phpunit-coverage-tutorial#readme-ov-file
View license https://github.com/beporter/phpunit-coverage-tutorial#License-1-ov-file
Please reload this pagehttps://github.com/beporter/phpunit-coverage-tutorial
Activityhttps://github.com/beporter/phpunit-coverage-tutorial/activity
3 forkshttps://github.com/beporter/phpunit-coverage-tutorial/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fbeporter%2Fphpunit-coverage-tutorial&report=beporter+%28user%29
Releaseshttps://github.com/beporter/phpunit-coverage-tutorial/releases
Packages 0https://github.com/users/beporter/packages?repo_name=phpunit-coverage-tutorial
Please reload this pagehttps://github.com/beporter/phpunit-coverage-tutorial
Contributorshttps://github.com/beporter/phpunit-coverage-tutorial/graphs/contributors
Please reload this pagehttps://github.com/beporter/phpunit-coverage-tutorial
PHP 100.0% https://github.com/beporter/phpunit-coverage-tutorial/search?l=php
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.