thomasp85 / reqres

Compare b2e476f ... +0 ... a7ae981

Coverage Reach
request.R response.R aaa.R parsers.R formatters.R

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 3 files from the diff.
Other files ignored by Codecov
NAMESPACE has changed.
DESCRIPTION has changed.

@@ -135,7 +135,7 @@
Loading
135 135
#'
136 136
#' @importFrom R6 R6Class
137 137
#' @importFrom assertthat assert_that is.flag has_attr is.error
138 -
#' @importFrom stringi stri_match_first_regex stri_trim_both stri_split_fixed
138 +
#' @importFrom stringi stri_match_first_regex stri_trim_both stri_split_fixed stri_split_regex
139 139
#' @importFrom urltools url_decode
140 140
#' @importFrom brotli brotli_decompress
141 141
#' @importFrom utils modifyList
@@ -436,7 +436,7 @@
Loading
436 436
437 437
    parse_cookies = function() {
438 438
      if (is.null(self$headers$Cookie)) return(list())
439 -
      cookies <- stri_trim_both(stri_split_fixed(self$headers$Cookie, ';')[[1]])
439 +
      cookies <- stri_trim_both(stri_split_regex(self$headers$Cookie, ";(?=\\s*[a-zA-Z0-9!#$%&'()*+-.\\/:<>?@\\[\\]^_`{|}~]{1,})")[[1]])
440 440
      cookies <- unlist(stri_split_fixed(cookies, '=', n = 2))
441 441
      structure(
442 442
        as.list(url_decode(cookies[c(FALSE, TRUE)])),

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
R 67.38%
Project Totals (5 files) 67.38%
Loading