LCOV - code coverage report
Current view: top level - test/mocks - nvm.c (source / functions) Coverage Total Hit
Test: lcov.info Lines: 100.0 % 10 10
Test Date: 2026-01-29 09:48:10 Functions: 100.0 % 2 2
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

             Branch data     Line data    Source code
       1                 :             : #include "oscore.h"
       2                 :             : 
       3                 :           9 : enum err nvm_write_ssn(const struct nvm_key_t *nvm_key, uint64_t ssn)
       4                 :             : {
       5                 :           9 :         (void)nvm_key;
       6                 :           9 :         (void)ssn;
       7                 :           9 :         PRINT_MSG("NVM write mock\n");
       8                 :           9 :         return ok;
       9                 :             : }
      10                 :             : 
      11                 :           3 : enum err nvm_read_ssn(const struct nvm_key_t *nvm_key, uint64_t *ssn)
      12                 :             : {
      13                 :           3 :         (void)nvm_key;
      14                 :           3 :         PRINT_MSG("NVM read mock\n");
      15                 :           3 :         *ssn = 0;
      16                 :           3 :         return ok;
      17                 :             : }
        

Generated by: LCOV version 2.0-1