@@ -76,7 +76,7 @@
Loading
76 76
77 77
  // Constructor specialization for array of size 0
78 78
  template<>
79 -
  constexpr Function_Params::Function_Params(const std::array<Boxed_Value, size_t{0}> &a)
79 +
  constexpr Function_Params::Function_Params(const std::array<Boxed_Value, size_t{0}> & /* a */)
80 80
    : m_begin(nullptr), m_end(nullptr)
81 81
  {
82 82
  }

@@ -185,7 +185,9 @@
Loading
185 185
            return const_var(c_lhs * c_rhs);
186 186
          case Operators::Opers::difference:
187 187
            return const_var(c_lhs - c_rhs);
188 -
        }
188 +
          default:
189 +
            break;
190 +
          }
189 191
190 192
191 193
        if constexpr (!std::is_floating_point<LHS>::value && !std::is_floating_point<RHS>::value) {
@@ -203,7 +205,9 @@
Loading
203 205
              return const_var(c_lhs | c_rhs);
204 206
            case Operators::Opers::bitwise_xor:
205 207
              return const_var(c_lhs ^ c_rhs);
206 -
          }
208 +
            default:
209 +
              break;
210 +
            }
207 211
        }
208 212
209 213
        if (t_lhs) {
@@ -224,7 +228,9 @@
Loading
224 228
            case Operators::Opers::assign_difference:
225 229
              *t_lhs -= c_rhs;
226 230
              return t_bv;
227 -
          }
231 +
            default:
232 +
              break;
233 +
            }
228 234
229 235
          if constexpr (!std::is_floating_point<LHS>::value && !std::is_floating_point<RHS>::value) {
230 236
            switch (t_oper) {
@@ -247,7 +253,9 @@
Loading
247 253
              case Operators::Opers::assign_bitwise_xor:
248 254
                *t_lhs ^= c_rhs;
249 255
                return t_bv;
250 -
            }
256 +
              default:
257 +
                break;
258 +
              }
251 259
          }
252 260
        }
253 261
@@ -299,7 +307,9 @@
Loading
299 307
                case Operators::Opers::pre_decrement:
300 308
                  --(*lhs);
301 309
                  return t_lhs;
302 -
              }
310 +
                default:
311 +
                  break;
312 +
                }
303 313
            }
304 314
305 315
            switch (t_oper) {
@@ -307,13 +317,17 @@
Loading
307 317
                return const_var(-c_lhs);
308 318
              case Operators::Opers::unary_plus:
309 319
                return const_var(+c_lhs);
310 -
            }
320 +
              default:
321 +
                break;
322 +
              }
311 323
312 324
            if constexpr (!std::is_floating_point_v<std::decay_t<decltype(c_lhs)>>) {
313 325
              switch (t_oper) {
314 326
                case Operators::Opers::bitwise_complement:
315 327
                  return const_var(~c_lhs);
316 -
              }
328 +
                default:
329 +
                  break;
330 +
                }
317 331
            }
318 332
319 333
            throw chaiscript::detail::exception::bad_any_cast();
Files Coverage
include/chaiscript 90.93%
src 72.79%
static_libs 100.00%
unittests 45.97%
Project Totals (60 files) 69.78%
1167.3
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading