LCOV - code coverage report
Current view: top level - buildbot/coverage/build/src/util - cocoa_globals.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 4 4 100.0 %
Date: 2026-06-23 10:36:59 Functions: 1 1 100.0 %
Branches: 2 2 100.0 %

           Branch data     Line data    Source code
       1                 :            : /******************************************************************************
       2                 :            :  * This file is part of the cvc5 project.
       3                 :            :  *
       4                 :            :  * Copyright (c) 2009-2026 by the authors listed in the file AUTHORS
       5                 :            :  * in the top-level source directory and their institutional affiliations.
       6                 :            :  * All rights reserved.  See the file COPYING in the top-level source
       7                 :            :  * directory for licensing information.
       8                 :            :  * ****************************************************************************
       9                 :            :  *
      10                 :            :  * Singleton CoCoA global manager
      11                 :            :  */
      12                 :            : 
      13                 :            : #ifdef CVC5_USE_COCOA
      14                 :            : 
      15                 :            : #include "util/cocoa_globals.h"
      16                 :            : 
      17                 :            : #include <CoCoA/GlobalManager.H>
      18                 :            : 
      19                 :            : namespace cvc5::internal {
      20                 :            : 
      21                 :            : CoCoA::GlobalManager* s_cocoaGlobalManager = nullptr;
      22                 :            : 
      23                 :      51567 : void initCocoaGlobalManager()
      24                 :            : {
      25         [ +  + ]:      51567 :   if (s_cocoaGlobalManager == nullptr)
      26                 :            :   {
      27                 :      17191 :     s_cocoaGlobalManager = new CoCoA::GlobalManager();
      28                 :            :   }
      29                 :      51567 : }
      30                 :            : 
      31                 :            : }  // namespace cvc5::internal
      32                 :            : 
      33                 :            : #endif /* CVC5_USE_COCOA */

Generated by: LCOV version 1.14