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

source-academy / js-slang / 833 / 1
77%
master: 77%

Build:
DEFAULT BRANCH: master
Ran 06 Mar 2019 05:55AM UTC
Files 40
Run time 9s
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

06 Mar 2019 05:51AM UTC coverage: 90.703% (+1.1%) from 89.649%
833.1

push

travis-ci

martin-henz
[NATIVE #5] Infinite loop protection (#186)

* refactor rttc to use node and not context

* add tests to show which line interpreter currently throws error

* some basic error handling

* added test and refactored error handling

* function representation as string finally working

* enabled some tests to use native

* enabled some tests to use native, handled some easy cases of undefined variable and constant assignment errors and convert them into SourceErrors

* format

* refactor out function to evaluate binary expression

* refactor out function to evaluate unary expression

* add checks for strict types in unary and binary operations

* fixed a bug where constant redeclaration in last line of code did not give correct location for error

* add check for infinite-calling tail recursive functions

* added check for while and for needing condition to be boolean

* refactored some ast creators

* basic infinite loop protection

* clarified infinite loop detection error

* add needed initaliser for sourcemaps to work on browser

* add needed initaliser for sourcemaps to work on browser

* format

* unexport rttc, comment console log

* Unexport rttc, comment console log

* Refactor global ids

* Change getting of elaborate only when verbose is enabled

* update tests

* Add globals and builtins to list of used identifiers, fix wording

503 of 569 branches covered (88.4%)

Branch coverage included in aggregate %.

1614 of 1765 relevant lines covered (91.44%)

348535.5 hits per line

Source Files on job 833.1
  • Tree
  • List 0
  • Changed 40
  • Source Changed 2
  • Coverage Changed 40
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 786
  • Travis Job 833.1
  • 519fc452 on github
  • Prev Job for on master (#828.1)
  • Next Job for on master (#838.1)
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