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 (< 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file phriky_units-0.1.39.tar.gz
.
File metadata
- Download URL: phriky_units-0.1.39.tar.gz
- Upload date:
- Size: 336.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24a1d0e6000f3a35d3e08d07fb619ece824239c51fa6168a35011de85f12d281 |
|
MD5 | 92b8d4ceead61a33bb5bdae70a48c7ef |
|
BLAKE2b-256 | 73f7b2a8ea44137ceec0d99b9eff473422f906883859a98b0a2ad2ea16736a3d |