GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 4 / 0 / 4
Functions: 100.0% 1 / 0 / 1
Branches: 100.0% 3 / 0 / 3

libs/url/src/detail/vformat.cpp
Line Branch Exec Source
1 //
2 // Copyright (c) 2022 Alan de Freitas (alandefreitas@gmail.com)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 //
7 // Official repository: https://github.com/boostorg/url
8 //
9
10
11 #include <boost/url/detail/config.hpp>
12 #include <boost/url/detail/vformat.hpp>
13 #include "pattern.hpp"
14
15 namespace boost {
16 namespace urls {
17 namespace detail {
18
19 void
20 147 vformat_to(
21 url_base& u,
22 core::string_view fmt,
23 detail::format_args args)
24 {
25
1/1
✓ Branch 1 taken 147 times.
158 parse_pattern(fmt)
26
2/2
✓ Branch 2 taken 140 times.
✓ Branch 5 taken 136 times.
147 .value().apply(u, args);
27 136 }
28
29
30 } // detail
31 } // urls
32 } // boost
33
34