differential code coverage report with master
Current view: top level - source/packaging - uri.cpp (source / functions) Coverage Total Hit UBC CBC
Current: coverage.info Lines: 84.6 % 13 11 2 11
Current Date: 2025-12-07 02:01:22 Functions: 83.3 % 6 5 1 5
Baseline: coverage_master.info Branches: 100.0 % 4 4 8
Baseline Date: 2025-12-07 02:01:21

             Branch data    TLA  Line data    Source code
       1                 :                : #include <xlnt/packaging/uri.hpp>
       2                 :                : 
       3                 :                : namespace xlnt {
       4                 :                : 
       5            [ + ]:CBC        6476 : uri::uri()
       6                 :                : {
       7                 :           6476 : }
       8                 :                : 
       9                 :           5127 : uri::uri(const std::string &uri_string)
      10            [ + ]:           5127 :     : path_(uri_string)
      11                 :                : {
      12                 :           5127 : }
      13                 :                : 
      14                 :          10922 : std::string uri::to_string() const
      15                 :                : {
      16                 :          10922 :     return path_.string();
      17                 :                : }
      18                 :                : 
      19                 :          12205 : const path &uri::path() const
      20                 :                : {
      21                 :          12205 :     return path_;
      22                 :                : }
      23                 :                : 
      24                 :           5324 : bool uri::operator==(const uri &other) const
      25                 :                : {
      26         [ +  + ]:           5324 :     return to_string() == other.to_string();
      27                 :                : }
      28                 :                : 
      29                 :UBC           0 : bool uri::operator!=(const uri &other) const
      30                 :                : {
      31                 :              0 :     return !(*this == other);
      32                 :                : }
      33                 :                : 
      34                 :                : } // namespace xlnt
        

Generated by: LCOV version 2.3.1-beta