Coverage Report

Created: 2026-10-28 06:38

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/CMake/Source/cmVersion.cxx
Line
Count
Source
1
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2
   file LICENSE.rst or https://cmake.org/licensing for details.  */
3
#include "cmVersion.h"
4
5
#include "cmVersionConfig.h"
6
7
unsigned int cmVersion::GetMajorVersion()
8
90.9k
{
9
90.9k
  return CMake_VERSION_MAJOR;
10
90.9k
}
11
unsigned int cmVersion::GetMinorVersion()
12
79.1k
{
13
79.1k
  return CMake_VERSION_MINOR;
14
79.1k
}
15
unsigned int cmVersion::GetPatchVersion()
16
43.5k
{
17
43.5k
  return CMake_VERSION_PATCH;
18
43.5k
}
19
unsigned int cmVersion::GetTweakVersion()
20
17.7k
{
21
17.7k
  return 0;
22
17.7k
}
23
24
char const* cmVersion::GetCMakeVersion()
25
5.92k
{
26
5.92k
  return CMake_VERSION;
27
5.92k
}