Thursday, June 9, 2016

Python code validation

https://sourcegraph.com

https://github.com/yinwang0/pysonar2
https://yinwang0.wordpress.com/2010/09/12/pysonar/

http://pychecker.sourceforge.net/
not that useful for working code:

$ python bin/generate_new_random_index.py 
expression permanent index: 3135868900
expression temporary index: 3901417
feed temporary index      : 4031120
inf rule temporary index  : 2688703

$ pychecker bin/generate_new_random_index.py 
Processing module generate_new_random_index (bin/generate_new_random_index.py)...
expression permanent index: 1210104125
expression temporary index: 7904139
feed temporary index      : 7185822
inf rule temporary index  : 2695903

Warnings...

bin/generate_new_random_index.py:15: Imported module (random) not used

No comments:

Post a Comment