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

rmasters / units
81%
master: 79%

Build:
Build:
LAST BUILD BRANCH: rule-refactoring
DEFAULT BRANCH: master
Repo Added 28 Aug 2013 12:11AM UTC
Files 6
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

LAST BUILD ON BRANCH rule-refactoring
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • master
  • rule-refactoring

pending completion
4

push

travis-ci

rmasters
Added scalar/constant-based, reversable conversions

Still some refactoring to do, but allows conversions like:

    convert($unitA, $unitB, 100); // *100, or /100 when reversed
    convert($unitA, $unitB, ['+', 50]); // +50, or -50 when reversed
    convert($unitA, $unitB, function($value) {});

Possibly an idea: if modifier is a closure and has a second argument
($reversed) create a reverse conversion for it?

164 of 202 relevant lines covered (81.19%)

11.11 hits per line

Relevant lines Covered
Build:
Build:
202 RELEVANT LINES 164 COVERED LINES
11.11 HITS PER LINE
Source Files on master
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
4 rule-refactoring Added scalar/constant-based, reversable conversions Still some refactoring to do, but allows conversions like: convert($unitA, $unitB, 100); // *100, or /100 when reversed convert($unitA, $unitB, ['+', 50]); // +50, or -50 when reversed ... push 08 Sep 2013 01:22AM UTC rmasters travis-ci pending completion  
3 master Updated TODO push 30 Aug 2013 09:55AM UTC rmasters travis-ci pending completion  
2 master Build for 5.3 as well push 28 Aug 2013 12:19AM UTC rmasters travis-ci pending completion  
1 master Add badges, fix version in README push 28 Aug 2013 12:17AM UTC rmasters travis-ci pending completion  
See All Builds (4)
  • Repo on GitHub
  • CI Project
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