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

pfalcon / micropython / 1080
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: pfalcon
DEFAULT BRANCH: master
Ran 09 Dec 2017 01:25AM UTC
Jobs 1
Files 224
Run time 12s
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

pending completion
1080

push

travis-ci

pfalcon
py/objfun: Factor out macro for decoding codestate size.

fun_bc_call() starts with almost the same code as
mp_obj_fun_bc_prepare_codestate(), the only difference is a way to
allocate the codestate object (heap vs stack with heap fallback).
Still, would be nice to avoid code duplication to make further
refactoring easier.

So, this commit factors out the common code before the allocation -
decoding and calculating codestate size. It produces two values,
so structured as a macro which writes to 2 variables passed as
arguments.

1 of 1 new or added line in 1 file covered. (100.0%)

17411 of 17789 relevant lines covered (97.88%)

320779.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1080.1 09 Dec 2017 01:25AM UTC 0
97.88
Travis Job 1080.1
Source Files on build 1080
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1080
  • f0f74643 on github
  • Next Build on decode_codestate_size (#1081)
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