Getting started with Coverity for python package
<p>I downloaded the coverity package for Python/PHP, and try to
let it analyze my package:</p>

<pre><code>./cov-build --dir cov-int --fs-capture-search /my/dir/ python mine.py
</code></pre>

<p>considering that 'my/dir' contains the package's root directory and the 'mine.py' implements the entry point.</p>

<p>The I get the result:</p>

<pre><code>command line: No input files.
[STATUS] Running filesystem capture search...
[STATUS] Emitting 485 source files from filesystem capture
|0----------25-----------50----------75---------100|
****************************************************
[WARNING] Build command python /tmp/trunk/quex-exe.py exited with code 255. Please verify that the build completed successfully.
</code></pre>

<p>It is not clear to me, what Coverity means with 'build'. Does it mean a sample invocation of the script? How can I get started?</p>

<p>The most of the 'help' files in the 'doc/' subdirectory are empty(!)</p>

<pre><code>[WARNING] Build command python /tmp/trunk/quex-exe.py exited with code 255. Please verify that the build completed successfully.
</code></pre>

<p>This means that the command you specified on the cov-build line (<code>python mine.py</code>) didn't exit with zero. Probably because of this:</p>

<pre><code>command line: No input files.
</code></pre>

<p>But in any case, it looks like cov-build <em>did</em> successfully capture 485 source files, so it's possible you don't need to use a build command at all. In that case, you can specify the <code>--no-command</code> switch and omit <code>python mine.py</code>, at which point you can proceed with the rest of the workflow.</p>

python coverity