GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/strings/sequences_stats.cpp Lines: 21 21 100.0 %
Date: 2021-09-17 Branches: 22 44 50.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Andrew Reynolds, Andres Noetzli
4
 *
5
 * This file is part of the cvc5 project.
6
 *
7
 * Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8
 * in the top-level source directory and their institutional affiliations.
9
 * All rights reserved.  See the file COPYING in the top-level source
10
 * directory for licensing information.
11
 * ****************************************************************************
12
 *
13
 * Statistics for the theory of strings/sequences.
14
 */
15
16
#include "theory/strings/sequences_stats.h"
17
18
#include "smt/smt_statistics_registry.h"
19
20
namespace cvc5 {
21
namespace theory {
22
namespace strings {
23
24
9942
SequencesStatistics::SequencesStatistics()
25
    : d_checkRuns(
26
19884
        smtStatisticsRegistry().registerInt("theory::strings::checkRuns")),
27
      d_strategyRuns(
28
19884
          smtStatisticsRegistry().registerInt("theory::strings::strategyRuns")),
29
9942
      d_cdSimplifications(smtStatisticsRegistry().registerHistogram<Kind>(
30
19884
          "theory::strings::cdSimplifications")),
31
9942
      d_reductions(smtStatisticsRegistry().registerHistogram<Kind>(
32
19884
          "theory::strings::reductions")),
33
9942
      d_regexpUnfoldingsPos(smtStatisticsRegistry().registerHistogram<Kind>(
34
19884
          "theory::strings::regexpUnfoldingsPos")),
35
9942
      d_regexpUnfoldingsNeg(smtStatisticsRegistry().registerHistogram<Kind>(
36
19884
          "theory::strings::regexpUnfoldingsNeg")),
37
9942
      d_rewrites(smtStatisticsRegistry().registerHistogram<Rewrite>(
38
19884
          "theory::strings::rewrites")),
39
9942
      d_conflictsEqEngine(smtStatisticsRegistry().registerInt(
40
19884
          "theory::strings::conflictsEqEngine")),
41
9942
      d_conflictsEager(smtStatisticsRegistry().registerInt(
42
19884
          "theory::strings::conflictsEager")),
43
9942
      d_conflictsInfer(smtStatisticsRegistry().registerInt(
44
99420
          "theory::strings::conflictsInfer"))
45
{
46
9942
}
47
48
}
49
}
50
29577
}  // namespace cvc5