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

Squarespace / template-engine / 306 / 1
94%
master: 97%

Build:
Build:
LAST BUILD BRANCH: v2.8.11
DEFAULT BRANCH: master
Ran 04 Dec 2020 09:39PM UTC
Files 57
Run time 7s
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

04 Dec 2020 08:02PM UTC coverage: 94.306%. Remained the same
306.1

push

travis-ci

phensley
Expression evaluation instruction

Expression evaluation using an extended version of Dijkstra's "shunting
yard" algorithm with JavaScript semantics.  Dijkstra's algorithm was
chosen as it is simple, sufficient, and can be implemented compactly,
minimizing the size of the code and making it easier to verify correct.

Features:

 - Number, Boolean, Null, and String types
 - String parsing of backslash char, hex, and unicode escapes
   - "\n", "\x20", "\u2018", "\u0001f600" are all valid strings
 - Decimal and hex numbers
 - Assignment statements
 - Variable references
 - Operator precedence
 - Common math, binary and logical operators
 - Strict equality / inequality only
 - Nesting of sub-expressions with parenthesis
 - Single pass evaluation of multiple semicolon-delimited expressions
 - String equality and concatenation
 - Function calls with a variable number of arguments
   - example: max(1, 2, 3, ..., N) is accepted
 - Type conversion functions
 - Common constants (pi, e)

The algorithm assumes the expression is well-formed and performs minimal
validation.  A malformed expression should either terminate evaluation
early or produce no value.

1800 of 1994 branches covered (90.27%)

Branch coverage included in aggregate %.

4626 of 4820 relevant lines covered (95.98%)

100.08 hits per line

Source Files on job 306.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 265
  • Travis Job 306.1
  • 4b5ef7f8 on github
  • Prev Job for on calc (#305.2)
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