FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Coverity Scan · Issue #390 · pythonnet/pythonnet · GitHub

Repository navigation

Add Coverity Scan #390

Closed
Closed

Description

Environment

  • Pythonnet version: Develop
  • Python version: All
  • Operating System: Windows (no Mono support)

Details

  • Describe what you were trying to get done.

Add Coverity Scan to identify possible defects.

Here's an example from my fork. https://scan.coverity.com/projects/vmuriart-pythonnet?tab=overview

Common practice is to run Coverity Scan as a scheduled CI run against the master branch in a period basis (weekly usually). The review process can take a few hours/days so it can't be part of CI.

We would add it to Appveyor to upload on a weekly basis.

  • Register Project
  • Submit first build
  • Add badge
  • Update .gitignore for build folder
  • Configure components
  • Solve name clash due to double registering
  • Integrate to AppVeyor as scheduled task

command to build cov-build --dir cov-int python setup.py bdist_wheel

Activity

  1. vmuriart commented on Feb 17, 2017

    ContributorAuthor

    Just submitted the registration application.

  2. den-run-ai commented on Feb 17, 2017

    Contributor
  3. vmuriart commented on Feb 17, 2017

    ContributorAuthor
  4. den-run-ai commented on Feb 17, 2017

    Contributor
  5. den-run-ai commented on Feb 17, 2017

    Contributor

    @vmuriart @tonyroberts @filmor i added you to coverity profile

  6. vmuriart commented on Feb 17, 2017

    ContributorAuthor

    Weird, your link gives me an error even though its now on my dashboard too and I got your invitation.

    Scratch that, needed a bit of time to update on the background i guess. works now

  7. den-run-ai commented on Feb 17, 2017

    Contributor
  8. den-run-ai commented on Feb 17, 2017

    Contributor

    @vmuriart can you unregister your pythonnet integration from coverity to github/travis ci, it complains now on mine:

  9. vmuriart commented on Feb 17, 2017

    ContributorAuthor

    I just deleted my project to release the link. Still getting that error. May need to email Coverity to get that resolved.

  10. vmuriart commented on Feb 17, 2017

    ContributorAuthor

    Just submitted a locally run version for analysis. @denfromufa would you be able to email Coverity to try solve the nameclash issue?

  11. vmuriart commented on Feb 17, 2017

    ContributorAuthor

    Cool, analysis finished. We could potentially bump it up to build nightly. For some reason I remember mine taking a few days from beginning to end.

  12. den-run-ai commented on Feb 17, 2017

    Contributor

  13. vmuriart commented on Feb 17, 2017

    ContributorAuthor

    @denfromufa thats why i remembered it taking a couple days.

  14. vmuriart commented on Feb 21, 2017

    ContributorAuthor

    The review process is complete and the defects can be seen now.

  15. den-run-ai commented on Feb 24, 2017

    Contributor

    @vmuriart I also checked using VS 2015 code analysis and it shows over 300 warnings. Some of them were from recent PRs.

  16. den-run-ai commented on Feb 24, 2017

    Contributor
  17. vmuriart commented on Feb 24, 2017

    ContributorAuthor

    Take some of VS's warning with a grain of salt. (https://www.slideshare.net/Coverity/finding-defects-in-c-01-2014)

    Looks like CA1060 can be filtered out though. A couple other issues in that list I've commented in the code already. The list actually looks like its missing more warnings though, there should be a few about variables being declared and not used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL