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

jjatria / perl-opentelemetry-sdk / 10161784058
95%

Build:
DEFAULT BRANCH: main
Ran 30 Jul 2024 11:51AM UTC
Jobs 1
Files 17
Run time 1min
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

30 Jul 2024 11:46AM UTC coverage: 95.185%. Remained the same
10161784058

push

github

jjatria
Use bigfloat instead of bignum in ratio sampler

This is a minor change to sidestep an issue caused at a distance
by loading this pragma. The effect can be seen in the following
snippets:

    $ perl -Mbignum -E '
        use Math::BigFloat;
        say Math::BigFloat->new(42)->ffround;
    '
    Can't locate object method "ffround" via package "Math::BigInt" at -e line 1.

    $ perl -Mbigfloat -E '
        use Math::BigFloat;
        say Math::BigFloat->new(42)->ffround;
    '
    42

The issue (reported in [GH #16]) means that loading
OpenTelemetry::SDK (and indirectly loading `bignum`) would
at-a-distance break any code that was attempting to (directly or
indirectly) call `ffround` on a Math::BigFloat object.

Although this is most definitely not an OpenTelemetry::SDK bug,
it's unclear whose bug it _is_, and unclear how easy it would be
to fix upstream, so this solution which avoids the problem is
probably the best short-term approach.

Since `bifloat` was only added in Math::BigInt 0.65, we are
reporting this as a new dependency, to ensure it is available.

[GH #16]: https://github.com/jjatria/perl-opentelemetry-sdk/issues/16

1 of 1 new or added line in 1 file covered. (100.0%)

257 of 270 relevant lines covered (95.19%)

4.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10161784058.1 30 Jul 2024 11:51AM UTC 0
95.19
GitHub Action Run
Source Files on build 10161784058
Detailed source file information is not available for this build.
  • Back to Repo
  • 487f204a on github
  • Prev Build on main (#10140881711)
  • Next Build on main (#10217822591)
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