Coverage Report

Created: 2026-06-09 19:51

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/root/bitcoin/src/test/util/script.cpp
Line
Count
Source
1
// Copyright (c) 2021-present The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#include <script/interpreter.h>
6
#include <test/util/script.h>
7
8
bool IsValidFlagCombination(script_verify_flags flags)
9
0
{
10
0
    if (flags & SCRIPT_VERIFY_CLEANSTACK && ~flags & (SCRIPT_VERIFY_P2SH | SCRIPT_VERIFY_WITNESS)) return false;
  Branch (10:9): [True: 0, False: 0]
  Branch (10:9): [True: 0, False: 0]
  Branch (10:45): [True: 0, False: 0]
11
0
    if (flags & SCRIPT_VERIFY_WITNESS && ~flags & SCRIPT_VERIFY_P2SH) return false;
  Branch (11:9): [True: 0, False: 0]
  Branch (11:9): [True: 0, False: 0]
  Branch (11:42): [True: 0, False: 0]
12
0
    return true;
13
0
}