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

enetx / g
84%
main: 91%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.0.194
DEFAULT BRANCH: main
Repo Added 19 Mar 2024 10:31AM UTC
Files 53
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 refs/tags/v1.0.130
branch: refs/tags/v1.0.130
CHANGE BRANCH
x
Reset
  • refs/tags/v1.0.130
  • main
  • patch-1
  • refs/tags/v1.0.100
  • refs/tags/v1.0.101
  • refs/tags/v1.0.105
  • refs/tags/v1.0.107
  • refs/tags/v1.0.108
  • refs/tags/v1.0.109
  • refs/tags/v1.0.110
  • refs/tags/v1.0.111
  • refs/tags/v1.0.112
  • refs/tags/v1.0.113
  • refs/tags/v1.0.115
  • refs/tags/v1.0.116
  • refs/tags/v1.0.117
  • refs/tags/v1.0.118
  • refs/tags/v1.0.119
  • refs/tags/v1.0.120
  • refs/tags/v1.0.121
  • refs/tags/v1.0.122
  • refs/tags/v1.0.123
  • refs/tags/v1.0.124
  • refs/tags/v1.0.125
  • refs/tags/v1.0.126
  • refs/tags/v1.0.127
  • refs/tags/v1.0.128
  • refs/tags/v1.0.129
  • refs/tags/v1.0.131
  • refs/tags/v1.0.132
  • refs/tags/v1.0.133
  • refs/tags/v1.0.134
  • refs/tags/v1.0.135
  • refs/tags/v1.0.136
  • refs/tags/v1.0.137
  • refs/tags/v1.0.138
  • refs/tags/v1.0.139
  • refs/tags/v1.0.140
  • refs/tags/v1.0.141
  • refs/tags/v1.0.142
  • refs/tags/v1.0.144
  • refs/tags/v1.0.145
  • refs/tags/v1.0.146
  • refs/tags/v1.0.147
  • refs/tags/v1.0.149
  • refs/tags/v1.0.150
  • refs/tags/v1.0.151
  • refs/tags/v1.0.152
  • refs/tags/v1.0.153
  • refs/tags/v1.0.154
  • refs/tags/v1.0.155
  • refs/tags/v1.0.156
  • refs/tags/v1.0.157
  • refs/tags/v1.0.159
  • refs/tags/v1.0.160
  • refs/tags/v1.0.161
  • refs/tags/v1.0.162
  • refs/tags/v1.0.164
  • refs/tags/v1.0.165
  • refs/tags/v1.0.166
  • refs/tags/v1.0.167
  • refs/tags/v1.0.168
  • refs/tags/v1.0.169
  • refs/tags/v1.0.170
  • refs/tags/v1.0.171
  • refs/tags/v1.0.172
  • refs/tags/v1.0.173
  • refs/tags/v1.0.174
  • refs/tags/v1.0.176
  • refs/tags/v1.0.177
  • refs/tags/v1.0.179
  • refs/tags/v1.0.180
  • refs/tags/v1.0.181
  • refs/tags/v1.0.183
  • refs/tags/v1.0.184
  • refs/tags/v1.0.185
  • refs/tags/v1.0.186
  • refs/tags/v1.0.187
  • refs/tags/v1.0.188
  • refs/tags/v1.0.189
  • refs/tags/v1.0.19
  • refs/tags/v1.0.190
  • refs/tags/v1.0.191
  • refs/tags/v1.0.192
  • refs/tags/v1.0.193
  • refs/tags/v1.0.194
  • refs/tags/v1.0.56
  • refs/tags/v1.0.57
  • refs/tags/v1.0.58
  • refs/tags/v1.0.59
  • refs/tags/v1.0.60
  • refs/tags/v1.0.61
  • refs/tags/v1.0.62
  • refs/tags/v1.0.63
  • refs/tags/v1.0.64
  • refs/tags/v1.0.65
  • refs/tags/v1.0.66
  • refs/tags/v1.0.67
  • refs/tags/v1.0.68
  • refs/tags/v1.0.69
  • refs/tags/v1.0.70
  • refs/tags/v1.0.71
  • refs/tags/v1.0.72
  • refs/tags/v1.0.73
  • refs/tags/v1.0.74
  • refs/tags/v1.0.75
  • refs/tags/v1.0.76
  • refs/tags/v1.0.77
  • refs/tags/v1.0.79
  • refs/tags/v1.0.80
  • refs/tags/v1.0.81
  • refs/tags/v1.0.82
  • refs/tags/v1.0.83
  • refs/tags/v1.0.84
  • refs/tags/v1.0.85
  • refs/tags/v1.0.86
  • refs/tags/v1.0.87
  • refs/tags/v1.0.88
  • refs/tags/v1.0.89
  • refs/tags/v1.0.90
  • refs/tags/v1.0.91
  • refs/tags/v1.0.92
  • refs/tags/v1.0.93
  • refs/tags/v1.0.94
  • refs/tags/v1.0.95
  • refs/tags/v1.0.96
  • refs/tags/v1.0.97
  • refs/tags/v1.0.98
  • refs/tags/v1.0.99

19 Jan 2025 09:50PM UTC coverage: 84.039% (+0.2%) from 83.888%
12857483605

push

github

enetx
Refactor: Introduced new Sprintf formatter with enhanced placeholder logic

- Rewrote `Sprintf` to support an advanced formatting system.
- Improved placeholder parsing:
  - Added support for mixed auto-indexed `{}` and explicit numeric `{n}` placeholders.
  - Enhanced fallback behavior for named placeholders `{key?fallback}`.
  - Added chaining for complex modifiers like `{key.$trim.$replace(a,b).$upper}`.
- Introduced escape sequences for `{}` to print literal curly braces (`\{` and `\}`).
- Updated logic to synchronize auto-indexing with explicit numeric placeholders.
- Extended modifier support, including `$substring`, `$truncate`, `$round`, `$abs`, `$reverse`, and more.
- Improved robustness to handle edge cases and invalid placeholders gracefully.
- Updated tests to include:
  - Comprehensive scenarios for modifiers, fallback, and chained logic.
  - Edge cases like missing keys, unsupported modifiers, and malformed input.
- Enhanced documentation for `Sprintf`, highlighting new features, examples, and usage tips.

This refactor significantly improves the flexibility and usability of the formatting logic, making it more powerful and extensible.

59 of 79 new or added lines in 6 files covered. (74.68%)

3475 of 4135 relevant lines covered (84.04%)

120.26 hits per line

Relevant lines Covered
Build:
Build:
4135 RELEVANT LINES 3475 COVERED LINES
120.26 HITS PER LINE
Source Files on refs/tags/v1.0.130
  • Tree
  • List 42
  • Changed 17
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
12857483605 refs/tags/v1.0.130 Refactor: Introduced new Sprintf formatter with enhanced placeholder logic - Rewrote `Sprintf` to support an advanced formatting system. - Improved placeholder parsing: - Added support for mixed auto-indexed `{}` and explicit numeric `{n}` plac... push 19 Jan 2025 09:54PM UTC enetx github
84.04
See All Builds (282)
  • 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

© 2025 Coveralls, Inc