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

jjatria / perl-opentelemetry-sdk / 10161784058 / 1
95%
main: 95%

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

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

257 of 270 relevant lines covered (95.19%)

4.95 hits per line

Source Files on job 10161784058.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10161784058
  • 487f204a on github
  • Prev Job for on main (#10140881711.1)
  • Next Job for on main (#10217822591.1)
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