LCOV - code coverage report
Current view: top level - io/include/xmi - xmi_diagram_info.inl (source / functions) Coverage Total Hit
Test: crystal-facet-uml_v1.63.2_covts Lines: 0.0 % 5 0
Test Date: 2025-05-01 10:10:14 Functions: 0.0 % 1 0

            Line data    Source code
       1              : /* File: xmi_diagram_info.inl; Copyright and License: see below */
       2              : 
       3              : #include <stddef.h>
       4              : 
       5              : static inline int xmi_diagram_info_get_data_type_checksum ( const xmi_diagram_info_t *this_ )
       6              : {
       7              :     return (*this_).data_type_checksum;
       8              : }
       9              : 
      10              : static inline xmi_spec_t xmi_diagram_info_get_specification ( const xmi_diagram_info_t *this_ )
      11              : {
      12              :     return (*this_).specification;
      13              : }
      14              : 
      15              : static inline const char * xmi_diagram_info_get_profile_name ( const xmi_diagram_info_t *this_ )
      16              : {
      17              :     return (*this_).profile_name;
      18              : }
      19              : 
      20              : static inline const char * xmi_diagram_info_get_base_name ( const xmi_diagram_info_t *this_ )
      21              : {
      22              :     return (*this_).base_name;
      23              : }
      24              : 
      25            0 : static inline const char * xmi_diagram_info_get_name ( const xmi_diagram_info_t *this_ )
      26              : {
      27              :     const char* result;
      28            0 :     if ( (*this_).profile_name == NULL )
      29              :     {
      30            0 :         result = (*this_).base_name;
      31              :     }
      32              :     else
      33              :     {
      34            0 :         result = (*this_).profile_name;
      35              :     }
      36            0 :     return result;
      37              : }
      38              : 
      39              : 
      40              : /*
      41              : Copyright 2022-2025 Andreas Warnke
      42              : 
      43              : Licensed under the Apache License, Version 2.0 (the "License");
      44              : you may not use this file except in compliance with the License.
      45              : You may obtain a copy of the License at
      46              : 
      47              :     http://www.apache.org/licenses/LICENSE-2.0
      48              : 
      49              : Unless required by applicable law or agreed to in writing, software
      50              : distributed under the License is distributed on an "AS IS" BASIS,
      51              : WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      52              : See the License for the specific language governing permissions and
      53              : limitations under the License.
      54              : */
        

Generated by: LCOV version 2.0-1