Co-authored-by: HELICS-bot <HELICS-bot@users.noreply.github.com> [codecov]
Showing 1 of 3 files from the diff.
Other files ignored by Codecov
tests/helics/application_api/helicsTypeTests.cpp
has changed.
@@ -197,8 +197,8 @@
Loading
197 | 197 | return invalidValue<std::complex<double>>(); |
|
198 | 198 | } |
|
199 | 199 | std::smatch m; |
|
200 | - | double re{ invalidValue<double>() }; |
|
201 | - | double im{ 0.0 }; |
|
200 | + | double re{invalidValue<double>()}; |
|
201 | + | double im{0.0}; |
|
202 | 202 | std::regex_search(val, m, creg); |
|
203 | 203 | try { |
|
204 | 204 | if (m.size() == 9) { |
@@ -375,7 +375,9 @@
Loading
375 | 375 | // go to the alternative path if this fails |
|
376 | 376 | } |
|
377 | 377 | } |
|
378 | - | auto res = std::count_if(val.begin() + fb, val.end(), [](auto c) { return (c == ',') || (c == ';'); }) + 1; |
|
378 | + | auto res = std::count_if( |
|
379 | + | val.begin() + fb, val.end(), [](auto c) { return (c == ',') || (c == ';'); }) + |
|
380 | + | 1; |
|
379 | 381 | return static_cast<int>(res); |
|
380 | 382 | } |
|
381 | 383 |
@@ -384,7 +386,7 @@
Loading
384 | 386 | if (val.empty()) { |
|
385 | 387 | return invalidValue<std::complex<double>>(); |
|
386 | 388 | } |
|
387 | - | if ((val.front() == 'v') || (val.front() == 'c')||val.front()=='[') { |
|
389 | + | if ((val.front() == 'v') || (val.front() == 'c') || val.front() == '[') { |
|
388 | 390 | auto V = helicsGetVector(val); |
|
389 | 391 | if (V.empty()) { |
|
390 | 392 | return invalidValue<std::complex<double>>(); |
@@ -402,7 +404,7 @@
Loading
402 | 404 | if (val.empty()) { |
|
403 | 405 | return invalidValue<double>(); |
|
404 | 406 | } |
|
405 | - | if (val.front() == 'v' ||val.front()=='[') { |
|
407 | + | if (val.front() == 'v' || val.front() == '[') { |
|
406 | 408 | auto V = helicsGetVector(val); |
|
407 | 409 | return vectorNorm(V); |
|
408 | 410 | } |
@@ -419,7 +421,7 @@
Loading
419 | 421 | data.resize(0); |
|
420 | 422 | return; |
|
421 | 423 | } |
|
422 | - | if (val.front() == 'v'||val.front()=='[') { |
|
424 | + | if (val.front() == 'v' || val.front() == '[') { |
|
423 | 425 | auto sz = readSize(val); |
|
424 | 426 | if (sz > 0) { |
|
425 | 427 | data.reserve(sz); |
Files | Coverage |
---|---|
src/helics | 75.16% |
Project Totals (195 files) | 75.16% |
9402.5
TRAVIS_OS_NAME=linux
9401.4
TRAVIS_OS_NAME=linux
1 |
codecov: |
2 |
notify: |
3 |
require_ci_to_pass: no |
4 |
branch: develop |
5 |
|
6 |
coverage: |
7 |
precision: 2 |
8 |
round: down |
9 |
range: "50...95" |
10 |
status: |
11 |
project: yes |
12 |
patch: yes |
13 |
changes: no |
14 |
|
15 |
parsers: |
16 |
gcov: |
17 |
branch_detection: |
18 |
conditional: yes |
19 |
loop: yes |
20 |
method: no |
21 |
macro: no |
22 |
|
23 |
comment: |
24 |
layout: "header, diff" |
25 |
behavior: default |
26 |
require_changes: no |
27 |
|
28 |
ignore: |
29 |
- "ThirdParty" |
30 |
- "examples" |
31 |
- "tests" |
32 |
- "interfaces" |
33 |
- "src/helics/core/mpi" |
34 |
- "**/logger.*" |
35 |
- "**/loggerCore.*" |
36 |
- "**/zmqHelper.*" |
37 |
- "src/helics/shared_api_library/internal/api_objects.h" |
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.