Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract oclc parameters from urls #741

Merged
merged 5 commits into from
Sep 18, 2018
Merged

Extract oclc parameters from urls #741

merged 5 commits into from
Sep 18, 2018

Conversation

GlazerMann
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Sep 9, 2018

Codecov Report

Merging #741 into master will decrease coverage by 1.68%.
The diff coverage is 16.66%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #741      +/-   ##
============================================
- Coverage     69.35%   67.67%   -1.69%     
- Complexity     1621     1624       +3     
============================================
  Files            12       12              
  Lines          3270     3276       +6     
============================================
- Hits           2268     2217      -51     
- Misses         1002     1059      +57
Impacted Files Coverage Δ Complexity Δ
Template.php 73.36% <16.66%> (-2.73%) 1453 <0> (+3)
expandFns.php 90.71% <0%> (+0.71%) 0% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6983395...7018ad2. Read the comment docs.

Copy link
Owner

@ms609 ms609 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just trying to work out why codecov is saying that so little of this patch is covered; does the modified test mean that some code that was previously covered is no longer?

@GlazerMann GlazerMann changed the title Oclc parameters from urls Extract oclc parameters from urls Sep 11, 2018
@GlazerMann
Copy link
Collaborator Author

I wonder if the basis of the code coverage has shifted over time. We no longer cover some code since we no longer look for square bracket containing DOIs on pubmed.

Should increase codecov coverage
Copy link
Owner

@ms609 ms609 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that I've had time to look into this I notice that the test is wrapped in require_secrets, so won't show up in the codecov tests -- this explains the codecov failure. I've tweaked the test to check the template renaming too; if I've done this right and it passes Travis, feel free to merge.

@ms609 ms609 merged commit 6e92a7a into ms609:master Sep 18, 2018
@GlazerMann GlazerMann deleted the patch-22 branch September 18, 2018 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants