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

jandelgado / jled
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/all-dependencies-6ad358ee1b
DEFAULT BRANCH: master
Repo Added 25 Nov 2017 08:38PM UTC
Files 7
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

LAST BUILD ON BRANCH make_candle_stateless
branch: make_candle_stateless
CHANGE BRANCH
x
Reset
  • make_candle_stateless
  • add_esp32_pinmode_warning
  • add_github_link
  • add_jled_wasm_info
  • add_mbed_support
  • add_version_to_docsite_index
  • ci_use_test_matrix
  • claude
  • create_doc_site
  • dependabot/github_actions/all-dependencies-6ad358ee1b
  • fix_arduino_core_mbedos_support
  • fix_docsite_checkout_detach
  • fix_docsite_worktree_ci
  • fix_end_of_update_condition
  • fix_pico_hal_in_inverted_setup
  • impl_jledgroup
  • make_time_provider_independent_of_pwm_abstraction
  • master
  • optimize_scale_function
  • refactor_brightness_classes
  • refactor_to_separate_time_and_pwm_hal
  • support_multiple_resolutions
  • switch_to_gcovr
  • use_act_to_run_testmatrix_locally
  • use_enum_in_state_machine
  • use_specific_platformio_version_in_ci
  • use_test_matrix

31 May 2026 08:31PM UTC coverage: 97.419% (+0.6%) from 96.781%
26723720783

Pull #154

github

jandelgado
make candle effect stateless 

the old candle effect was stateful (which was against our architecture,
stating that effects should be stateless), which resulted in the largest
memory footprint of all effects (12 bytes). since we use a discriminated
union, the candle effect, having the largest memory footprint, was
determining the size of the effect buffer in the TJLed class. The
refactoring now uses just 6 bytes, and the Breathe effect with 8 bytes
is now the largest member. Overall we save 4 bytes on every JLed object.

Also the brightness lookup table was re-worked to include a gamma value
of 2.2, resulting in a better visual effect.
Pull Request #154: make candle effect stateless

91 of 100 branches covered (91.0%)

Branch coverage included in aggregate %.

14 of 14 new or added lines in 2 files covered. (100.0%)

362 of 365 relevant lines covered (99.18%)

847.15 hits per line

Relevant lines Covered
Build:
Build:
365 RELEVANT LINES 362 COVERED LINES
847.15 HITS PER LINE
Source Files on make_candle_stateless
  • Tree
  • List 7
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26723720783 make_candle_stateless make candle effect stateless the old candle effect was stateful (which was against our architecture, stating that effects should be stateless), which resulted in the largest memory footprint of all effects (12 bytes). since we use a discriminate... Pull #154 31 May 2026 08:34PM UTC jandelgado github
97.42
See All Builds (525)
  • Repo on GitHub
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