LCOV - code coverage report
Current view: top level - core - Error.cpp (source / functions) Hit Total Coverage
Test: coverage_sk.info Lines: 6 6 100.0 %
Date: 2020-07-01 15:24:36 Functions: 1 1 100.0 %
Branches: 2 4 50.0 %

           Branch data     Line data    Source code
       1                 :            : #include "meshkit/Error.hpp"
       2                 :            : #include <stdio.h>
       3                 :            : #include <stdarg.h>
       4                 :            : 
       5                 :            : namespace MeshKit {
       6                 :            : 
       7         [ +  - ]:       3590 : Error::Error( int err, const char* format, ... )
       8                 :            : {
       9                 :            :   char buffer[512];
      10                 :            :   va_list args;
      11                 :       1795 :   va_start(args, format);
      12                 :       1795 :   vsnprintf(buffer, sizeof(buffer)-1, format, args);
      13         [ +  - ]:       1795 :   errDescription = buffer;
      14                 :       1795 :   va_end(args);
      15                 :       1795 : }
      16                 :            : 
      17                 :            : }

Generated by: LCOV version 1.11