Skip to main content

Physical unit static analysis tool for C++ +

Project description

## Phriky Units - Physical Unit Inconsistency Detection

Physical unit static analysis tool for <a href=’http://www.ros.org’>ROS</a> C++.

WINNER: <a href=”https://conf.researchr.org/home/issta-2017”>ISSTA 2017 Best Tool Demonstration</a>

<a href=’https://unl.box.com/shared/static/83mnbe7ez73z5az7ct5gbabo1wm9htfl.ova’>ARTIFACT – Download Virtual Machine with phriky-units pre-installed (Ubuntu 16.04 VM 3 GB .ova).</a>

<a href=”https://youtu.be/cc-Bubopml4” target=”_blank”><img src=”./.youtube.png” width=”420” alt=”youtbe screenshot for Phriky-Units”></a>

* Free software: MIT license .. *Lightweight static analysis Lightweight static analysis

## Install (tested on Ubuntu 16.04 and OSX 10.12.6)

pip install phriky_units

Requires Cppcheck greater than 1.75:

apt-get install cppcheck (Ubuntu 16.04)

brew install cppcheck (OSX)

git clone git://github.com/danmar/cppcheck.git (Ubuntu 14.04)

Examples:

You can run examples by checking out:

git clone https://github.com/unl-nimbus-lab/phriky-units.git

Then from that directory run:

phriky_units ./examples/addition/src/action.cpp

phriky_units ./examples/assignment/src/trajectory_planner_ros.cpp

phriky_units ./examples/comparison/src/twist_marker.cpp

Features

  • Detects physical unit inconsistencies, like adding quantities with different units, i.e. meters + seconds.

  • Lightweight static analysis

  • Path insensitive

  • No annotation burden

  • Low false positive rate (&lt; 15% for `high-confidence’ inconsistencies)

  • Works with [ROS]

Credits

[NIMBUS] Lab at the University of Nebraska, Lincoln

This work was supported in part by NSF awards #1638099 and #1526652, and USDA-NIFA #2013-67021-20947.

[ROS]: http://www.ros.org [NIMBUS]: http://nimbus.unl.edu

History

0.1.0 (2016-08-31)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phriky_units-0.1.39.tar.gz (336.5 kB view details)

Uploaded Source

File details

Details for the file phriky_units-0.1.39.tar.gz.

File metadata

File hashes

Hashes for phriky_units-0.1.39.tar.gz
Algorithm Hash digest
SHA256 24a1d0e6000f3a35d3e08d07fb619ece824239c51fa6168a35011de85f12d281
MD5 92b8d4ceead61a33bb5bdae70a48c7ef
BLAKE2b-256 73f7b2a8ea44137ceec0d99b9eff473422f906883859a98b0a2ad2ea16736a3d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page