EnglishFrenchSpanish

OnWorks favicon

python2.7-coverage - Online in the Cloud

Run python2.7-coverage in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command python2.7-coverage that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


python-coverage - measure code coverage of Python program execution

SYNOPSIS


python-coverage command [ option ... ]
python-coverage help [ command ]
python-coverage help classic

DESCRIPTION


python-coverage executes a Python program, measures which of its statements are executed
and which are not, and reports these coverage measurements.

COMMAND OVERVIEW


python-coverage annotate
Annotate source files with execution information.

python-coverage combine
Combine a number of data files.

python-coverage erase
Erase previously collected coverage data.

python-coverage help
Get help on using coverage.py.

python-coverage html
Create an HTML report.

python-coverage report
Report coverage stats on modules.

python-coverage run
Run a Python program and measure code execution.

python-coverage xml
Create an XML report of coverage results.

GLOBAL OPTIONS


--help, -h
Describe how to use Coverage, in general or a command.

--rcfile RCFILE
Specify configuration file RCFILE. Defaults to .coveragerc.

--omit PATTERN ...
Omit files when their filename matches one of these PATTERNs. Usually needs
quoting on the command line.

--include PATTERN ...
Include files only when their filename path matches one of these PATTERNs. Usually
needs quoting on the command line.

COMMAND REFERENCE


annotate
Options:

-d DIR, --directory DIR
Write the output files to DIR.

-i, --ignore-errors
Ignore errors while reading source files.

combine
Combine data from multiple coverage files collected with run -p. The combined results
are written to a single file representing the union of the data.

erase
Erase previously collected coverage data.

help [ command ]
Describe how to use Coverage.

help classic
Describe help on older command syntax.

html [ option ... ] [ MODULE ... ]
Create an HTML report of the coverage of each MODULE file. Each file gets its own page,
with the source decorated to show executed, excluded, and missed lines.

Options:

-d DIR, --directory DIR
Write the output files to DIR.

--title TITLE
Use the text string TITLE as the title on the HTML.

--fail-under MIN
Exit with a status of 2 if the total coverage is less than MIN.

-i, --ignore-errors
Ignore errors while reading source files.

report [ option ... ] [ MODULE ... ]
Report coverage statistics on each MODULE.

Options:

--fail-under MIN
Exit with a status of 2 if the total coverage is less than MIN.

-i, --ignore-errors
Ignore errors while reading source files.

-m, --show-missing
Show line numbers of statements in each module that weren't executed.

run [ options ... ] PROGRAMFILE [ program_options ]
Run a Python program PROGRAMFILE, measuring code execution.

Options:

-a, --append
Append coverage data to .coverage, otherwise it is started clean with each run.

--branch
Measure branch coverage in addition to statement coverage.

--debug DEBUGOPT,...
Debug options DEBUGOPT, separated by commas

-L, --pylib
Measure coverage even inside the Python installed library, which isn't done by
default.

-p, --parallel-mode
Append the machine name, process id and random number to the .coverage data file
name to simplify collecting data from many processes.

--timid
Use a simpler but slower trace method. Try this if you get seemingly impossible
results!

--source SOURCE ...
A list of packages or directories of code to be measured.

xml [ options ... ] [ MODULES ... ]
Generate an XML report of coverage results on each MODULE.

Options:

--fail-under MIN
Exit with a status of 2 if the total coverage is less than MIN.

-i, --ignore-errors
Ignore errors while reading source files.

-o OUTFILE
Write the XML report to OUTFILE. Defaults to coverage.xml.

ENVIRONMENT VARIABLES


COVERAGE_FILE
Path to the file where coverage measurements are collected to and reported from.
Default: .coverage in the current working directory.

COVERAGE_OPTIONS
Space-separated series of command-line options to python-coverage. Default: empty.

HISTORY


The python-coverage command is a Python program which calls the coverage Python library to
do all the work.

The library was originally developed by Gareth Rees, and is now developed by Ned
Batchelder.

This manual page was written by Ben Finney <ben+[email protected]>.

Use python2.7-coverage online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 2
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 3
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 4
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 5
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 6
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • More »

Linux commands

  • 1
    a2query
    a2query
    a2query - retrieve runtime
    configuration from a local Apache 2 HTTP
    server ...
    Run a2query
  • 2
    a2x
    a2x
    a2x - A toolchain manager for AsciiDoc
    (converts Asciidoc text files to other
    file formats) ...
    Run a2x
  • 3
    crlutil
    crlutil
    crlutil - List, generate, modify, or
    delete CRLs within the NSS security
    database file(s) and list, create,
    modify or delete certificates entries in
    a particul...
    Run crlutil
  • 4
    crm
    crm
    Use crm online using onworks.net
    services. ...
    Run crm
  • 5
    FvwmProxy
    FvwmProxy
    FvwmProxy - the fvwm proxy module ...
    Run FvwmProxy
  • 6
    FvwmRearrange
    FvwmRearrange
    FvwmRearrange - rearrange fvwm windows ...
    Run FvwmRearrange
  • More »

Ad