Ran
|
Jobs
9
|
Files
3
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
github
Ref: extracting constants (#117) * Extracting default settings into a const file. * Ref: reusing defaultSettings in constructor. * Feat: relayIndexes - static array of r1..r8, should improve performance later. * Ref: using const for iterating in on_after_startup, on_api_command and update_ui methods. * Ref: always iterating relayIndexes. * Ref: naming: iterator name always index. * Simplifying on_after_startup method. * Simplifying update_ui() method. * Extracting templates and assets. * Ref: extracting apiCommands. * Ref: extracting permissions. * Ref: extracting updateConfig. * Ref: constraints for pip URL. * Ref: Moving and naming: pollingInterval const. * Ref: extracting commands, enforcing constraints. * Moving GPIO setup into constructor, updating tests. * Following the const naming convention. * Minor: comments. * Fix import const from same dir. * Revert "Simplifying update_ui() method." This reverts commit f0738666b. * Revert "Simplifying on_after_startup method." This reverts commit 2cf1d22b4. * Fix const naming. * Using more self-explaining syntax .copy().
11 of 11 branches covered (100.0%)
Branch coverage included in aggregate %.
38 of 38 new or added lines in 2 files covered. (100.0%)
263 of 263 relevant lines covered (100.0%)
7.3 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | python-3.9-octoprint-1.8 - 5685098941.1 | 2 |
100.0 |
GitHub Action Run | |
2 | ui - 5685098941.2 | 1 |
100.0 |
GitHub Action Run | |
3 | python-3.8-octoprint-1.9 - 5685098941.3 | 2 |
100.0 |
GitHub Action Run | |
4 | python-3.9-octoprint-1.9 - 5685098941.4 | 2 |
100.0 |
GitHub Action Run | |
5 | python-3.8-octoprint-1.8 - 5685098941.5 | 2 |
100.0 |
GitHub Action Run | |
6 | python-3.7-octoprint-1.9 - 5685098941.6 | 2 |
100.0 |
GitHub Action Run | |
7 | python-3.10-octoprint-1.9 - 5685098941.7 | 2 |
100.0 |
GitHub Action Run | |
8 | python-3.11-octoprint-1.9 - 5685098941.8 | 2 |
100.0 |
GitHub Action Run | |
9 | python-3.7-octoprint-1.8 - 5685098941.9 | 2 |
100.0 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|