Pyntch

Free and open source Python type checker / source code analyzer
Download

Pyntch Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Yusuke Shinyama
  • Publisher web site:
  • http://www.unixuser.org/~euske/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 61 KB

Pyntch Tags


Pyntch Description

Free and open source Python type checker / source code analyzer Pyntch is a PYthoN Type CHecker that will allow developers to easily detect possible runtime errors before actually running a code. Pyntch examines a source code statically and infers all possible types of variables, attributes, function arguments, and return values of each function or method. Then it detects possible exceptions caused by type mismatch, attribute not found, or other types of exceptions raised from each function. Unlike other Python code checkers (such as Pychecker or Pyflakes), Pyntch does not check the style issues. Pyntch can infer the following information from a source code:· All possible types of objects that variables, function arguments or class attribtes might have.· Functions or instance methods that can be actually called at each function call, considering polymorphism.· A list of calling locations for each function or method.· The following types of uncaught exceptions that might occur in a certain function: o Type mismatch (e.g. adding an integer and a string). o Access to undefined attributes (e.g. obj.attr where obj does not have attribute attr). o Subscript access to unsubscriptable objects (e.g. a where a is not a sequence). o Calling something uncallable (e.g. func(1) where func is not either function, method, or class). o Iteration over non-iterable objects (e.g. sorted(x) where x is not an iterable object). Requirements: · Python


Pyntch Related Software