LCOV - code coverage report
Current view: top level - test/mocks - nvm.c (source / functions) Hit Total Coverage
Test: lcov.info Lines: 10 10 100.0 %
Date: 2024-09-16 20:15:30 Functions: 2 2 100.0 %
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 1.14