LCOV - code coverage report
Current view: top level - src - VertexSequence.cpp (source / functions) Hit Total Coverage
Test: coverage_sk.info Lines: 9 14 64.3 %
Date: 2020-12-16 07:07:30 Functions: 4 6 66.7 %
Branches: 2 8 25.0 %

           Branch data     Line data    Source code
       1                 :            : #include "VertexSequence.hpp"
       2                 :            : 
       3                 :            : namespace moab
       4                 :            : {
       5                 :            : 
       6         [ -  + ]:       2820 : VertexSequence::~VertexSequence() {}
       7                 :            : 
       8                 :        225 : EntitySequence* VertexSequence::split( EntityHandle here )
       9                 :            : {
      10         [ +  - ]:        225 :     return new VertexSequence( *this, here );
      11                 :            : }
      12                 :            : 
      13                 :          0 : SequenceData* VertexSequence::create_data_subset( EntityHandle start, EntityHandle end ) const
      14                 :            : {
      15                 :          0 :     const int sizes[] = { sizeof( double ), sizeof( double ), sizeof( double ) };
      16 [ #  # ][ #  # ]:          0 :     return data()->subset( start, end, sizes );
      17                 :            : }
      18                 :            : 
      19                 :    2114662 : ErrorCode VertexSequence::push_back( EntityID count )
      20                 :            : {
      21                 :    2114662 :     return EntitySequence::append_entities( count );
      22                 :            : }
      23                 :            : 
      24                 :          0 : ErrorCode VertexSequence::push_front( EntityID count )
      25                 :            : {
      26                 :          0 :     return EntitySequence::prepend_entities( count );
      27                 :            : }
      28                 :            : 
      29                 :          6 : void VertexSequence::get_const_memory_use( unsigned long& per_ent, unsigned long& seq ) const
      30                 :            : {
      31                 :          6 :     per_ent = 3 * sizeof( double );
      32                 :          6 :     seq     = sizeof( *this );
      33                 :          6 : }
      34                 :            : 
      35                 :            : }  // namespace moab

Generated by: LCOV version 1.11