Last Site Update: 25 April 2005 | Latest Version: 0.9.3

 
Features Editor Debugger Code Completion Templates
Code Coverage Content Assistants Refactoring Tasks PyLint
 
 
Home
Features
Editor
Debugger
Code Completion
Templates
Code Coverage
Content Assistants
Refactoring
Tasks
PyLint
Roadmap
Screenshots
Download
Credits
More info
FAQ / BUGS
Users List (code)
Users Forum
Fabio Zadrozny Blog
Aleks Totic Blog
Hosted at
PyDev at Sourceforge
Donate
Sponsored by
  Code coverage is a whole new feature, added on version 0.7.0

The data gathered for code coverage is obtained by a module distributed along with pydev, based on the Perforce Defect Tracking Integration Project (actually, it was just slightly modified so that the output and input could be given in other ways).

Code coverage provides the following features:

In the navigator:
  • run a file with code coverage recording (right click on python file)
  • run multiple files with code coverage recording (right click on folder)

  • In code coverage contributed view:
  • clean the code coverage information
  • refresh the code coverage information
  • choose directory to see code coverage information
  • See coverage information for a file or folder + subfolders
  • Double clicking from the coverage dir indicates the lines that were not executed as errors.




  • Usage:

    Basically, you do some runs with the code coverage run, then you choose a dir from where you want coverage information and can browse it as much as you want (results for the file or folder + subfolders always on the left).

    If you want to clear all the runs info, just click on clear on the view (this will not refresh the info already gotten).

    Now, if you do some more runs and want to refresh it, just call refresh.

    Note: when the view is closed, the information does not reappear. However, it is not lost. You just have to choose the folder again (the information is only lost if you click on Clear).