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

bigeasy / inquiry / 123 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 18 Jul 2013 03:53AM UTC
Files 1
Run time –
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

18 Jul 2013 03:53AM UTC coverage: 100.0%. Remained the same
123.1

push

travis-ci

bigeasy
Shorten property names.

Object property names cannot be minified. The minifier will shorten
local variable names, renaming them `a`, `b`, `c`, etc. It can't change
property names. It cannot assume anything about the scope of object
property names.

We can shorten them ourselves, though. It obfuscates a bit, but in our
case, we're assigning the properties to local variables in order to work
with them, so it is not too difficult to follow along.

With some projects, I've found that upon reducing a large function
signature into an `options` object, the minzipped size of the file grew
dramatically. Although the signature was large, it was consistent and
repeated through the source. It was rewritten so that all of the
parameters were single characters, and the same single characters so
that gzip could combine them.

Here, we've renamed `object` to `o` and `path` to `p`. We've saved 12
bytes. We should have enough room to implement whitespace insensitivity,
but there is some more minification we can do.

See #46.

File                             Raw         Min         Zip     Min/Zip
index.js                  5363/05.24  2024/01.98  1826/01.78   994/00.97

77 of 77 relevant lines covered (100.0%)

178.55 hits per line

Source Files on job 123.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 123
  • Travis Job 123.1
  • 4596c9cf on github
  • Prev Job for on master (#122.1)
  • Next Job for on master (#125.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