Last Site Update: May 27th, 2024 | Latest Version: 12.1.0







PyDev LiClipse

Previous (Content Assistants) Root Next (Tasks)

Code coverage


To use the code coverage integration in PyDev, the coverage module is needed. It may be gotten from: (the integration is tested with version 3.4, so, this is the recommended version).

After installing it (which may be done through easy_install coverage), don't forget to refresh your interpreter configuration so that the coverage module is properly recognized by PyDev.


To use the code coverage view, first open it (window > show view > code coverage)

Then, drag the folder which should have coverage info obtained and drop it over the code coverage view.

Check the 'enable code coverage for new launches' (after this step, any launch, regular or unit-test, will be launched with flags so that code coverage information is obtained).

Then, do a new launch and inspect the new coverage results (clicking on the link will open an editor that allows opening the file with markers indicating the lines that weren't executed – note that editing the file or closing it will remove those markers, but you can always click on the link again to see them, although they may already be unsynchronized at that point).

A video showing code coverage information is available at: Video PyDev 2.0

(Note that code coverage is shown towards the end of the video)

Previous (Content Assistants) Root Next (Tasks)

PyDev development

PyDev is open source and depends on your contributions! This may be in the form of bug fixes, answers on stackoverflow, new features...

Another option is financially supporting it at: Patreon (which provides a way to support it monthly and get rewards starting with $1).

Or through 1-time contributions at:


Search PyDev-related content

Copyright: Brainwy Software Ltda, 2014-2021