• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openPMD / openPMD-api / 3190
83%

Build:
DEFAULT BRANCH: dev
Ran 27 May 2020 08:48PM UTC
Jobs 1
Files 97
Run time 22s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3190

push

travis-ci-com

web-flow
Add Checks to *dynamic_cast (#745)

We often use this construct in backend switch-yards:
`*dynamic_cast<New_Type*>( ptr );`.

This is unsafe and has bitten us in the past in the following
situations:
- input is an actual `nullptr`
- `dynamic_cast` returns a `nullptr` because the cast failed
  and/or a problem with the std library caused the cast to
  fail

https://en.cppreference.com/w/cpp/language/dynamic_cast

This catches the `nullptr` before it gets dereferenced, making
problems significantly easier to debugi than catching UB.

5450 of 6467 relevant lines covered (84.27%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
19 3190.19 (BUILD=~/buildTmp SPACK_ROOT=$HOME/.cache/spack PATH=$PATH:$HOME/.cache/spack/bin BUILD_TYPE=Debug PYBIND11_VERSION=@2.3.0 USE_SHARED=true CXXSPEC="%gcc@7.4.0" USE_MPI=ON USE_PYTHON=ON USE_HDF5=ON USE_ADIOS1=ON USE_ADIOS2=OFF) 27 May 2020 08:48PM UTC 0
84.27
Travis Job 3190.19
Source Files on build 3190
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3190
  • 32314bda on github
  • Prev Build on dev (#3188)
  • Next Build on dev (#3225)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc