LCOV - code coverage report
Current view: top level - OdbDesignLib/FileModel - OdbFile.cpp (source / functions) Coverage Total Hit
Test: OdbDesign Test Coverage Lines: 40.0 % 10 4
Test Date: 2026-11-21 03:51:50 Functions: 25.0 % 4 1
Legend: Lines: hit not hit

            Line data    Source code
       1              : #include "OdbFile.h"
       2              : #include "OdbFile.h"
       3              : #include "OdbFile.h"
       4              : 
       5              : namespace Odb::Lib::FileModel
       6              : {
       7              : 
       8            0 :     const std::filesystem::path &OdbFile::GetPath() const
       9              :     {
      10            0 :         return m_path;
      11              :     }
      12              : 
      13            0 :     const std::filesystem::path& OdbFile::GetDirectory() const
      14              :     {
      15            0 :         return m_directory;
      16              :     }
      17              : 
      18            0 :     const std::string& OdbFile::GetFilename() const
      19              :     {
      20            0 :         return m_filename;
      21              :     }
      22              : 
      23          365 :     bool OdbFile::Parse(std::filesystem::path path)
      24              :     {
      25          365 :         m_directory = path;
      26          365 :         if (!std::filesystem::exists(m_directory)) return false;
      27              : 
      28          365 :         return true;
      29              :     }
      30              : }
        

Generated by: LCOV version 2.0-1