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

bigeasy / inquiry / 123
100%

Build:
DEFAULT BRANCH: master
Ran 18 Jul 2013 03:53AM UTC
Jobs 2
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

pending completion
123

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%)

357.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 123.1 18 Jul 2013 03:53AM UTC 0
100.0
Travis Job 123.1
2 123.2 18 Jul 2013 03:53AM UTC 0
100.0
Travis Job 123.2
Source Files on build 123
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #123
  • 4596c9cf on github
  • Prev Build on master (#122)
  • Next Build on master (#125)
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