GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/strings/sequences_stats.cpp Lines: 23 23 100.0 %
Date: 2021-05-22 Branches: 24 50 48.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
9460
SequencesStatistics::SequencesStatistics()
25
    : d_checkRuns(
26
18920
        smtStatisticsRegistry().registerInt("theory::strings::checkRuns")),
27
      d_strategyRuns(
28
18920
          smtStatisticsRegistry().registerInt("theory::strings::strategyRuns")),
29
9460
      d_inferencesNoPf(smtStatisticsRegistry().registerHistogram<InferenceId>(
30
18920
          "theory::strings::inferencesNoPf")),
31
9460
      d_cdSimplifications(smtStatisticsRegistry().registerHistogram<Kind>(
32
18920
          "theory::strings::cdSimplifications")),
33
9460
      d_reductions(smtStatisticsRegistry().registerHistogram<Kind>(
34
18920
          "theory::strings::reductions")),
35
9460
      d_regexpUnfoldingsPos(smtStatisticsRegistry().registerHistogram<Kind>(
36
18920
          "theory::strings::regexpUnfoldingsPos")),
37
9460
      d_regexpUnfoldingsNeg(smtStatisticsRegistry().registerHistogram<Kind>(
38
18920
          "theory::strings::regexpUnfoldingsNeg")),
39
9460
      d_rewrites(smtStatisticsRegistry().registerHistogram<Rewrite>(
40
18920
          "theory::strings::rewrites")),
41
9460
      d_conflictsEqEngine(smtStatisticsRegistry().registerInt(
42
18920
          "theory::strings::conflictsEqEngine")),
43
9460
      d_conflictsEager(smtStatisticsRegistry().registerInt(
44
18920
          "theory::strings::conflictsEager")),
45
9460
      d_conflictsInfer(smtStatisticsRegistry().registerInt(
46
104060
          "theory::strings::conflictsInfer"))
47
{
48
9460
}
49
50
}
51
}
52
28194
}  // namespace cvc5