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

caleb531 / workday-time-calculator / 6819154466
92%

Build:
DEFAULT BRANCH: main
Ran 10 Nov 2023 12:35AM UTC
Jobs 2
Files 28
Run time 3s
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

10 Nov 2023 12:32AM UTC coverage: 87.389% (+0.09%) from 87.304%
6819154466

push

github

caleb531
Maximize tree-shaking in autocompletion worker

Using _.chain() can effectively disable tree-shaking, since the compiler
is unable to tree-shake methods that aren't part of the same namespace
(the `import * as _` syntax). Also replace _.toPairs() with
Object.entries() to reduce dependence on Lodash in favor of native
functionality. This reduces the end file size of the worker bundle from
~90 KB to ~20 KB, a substantial improvement.

309 of 358 branches covered (0.0%)

Branch coverage included in aggregate %.

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

1 existing line in 1 file now uncovered.

2144 of 2449 relevant lines covered (87.55%)

145.85 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
99.32
1.96% scripts/autocompletion-worker.js
Jobs
ID Job ID Ran Files Coverage
1 6819154466.1 10 Nov 2023 12:35AM UTC 28
87.4
GitHub Action Run
2 6819154466.2 10 Nov 2023 12:35AM UTC 28
87.39
GitHub Action Run
Source Files on build 6819154466
  • Tree
  • List 28
  • Changed 20
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 2d74d927 on github
  • Prev Build on main (#6818880334)
  • Next Build on main (#6820973169)
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