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: 2026-01-09 23:15:28 Functions: 83.3 % 6 5 1 5
Baseline: coverage_master.info Branches: 100.0 % 4 4 8
Baseline Date: 2026-01-09 23:15:28

             Branch data    TLA  Line data    Source code
       1                 :                : #include <xlnt/packaging/uri.hpp>
       2                 :                : 
       3                 :                : namespace xlnt {
       4                 :                : 
       5            [ + ]:CBC        6696 : uri::uri()
       6                 :                : {
       7                 :           6696 : }
       8                 :                : 
       9                 :           5330 : uri::uri(const std::string &uri_string)
      10            [ + ]:           5330 :     : path_(uri_string)
      11                 :                : {
      12                 :           5330 : }
      13                 :                : 
      14                 :          11189 : std::string uri::to_string() const
      15                 :                : {
      16                 :          11189 :     return path_.string();
      17                 :                : }
      18                 :                : 
      19                 :          12553 : const path &uri::path() const
      20                 :                : {
      21                 :          12553 :     return path_;
      22                 :                : }
      23                 :                : 
      24                 :           5450 : bool uri::operator==(const uri &other) const
      25                 :                : {
      26         [ +  + ]:           5450 :     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