Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Continuous static program analysis

Continuous static program analysis

pronto gem introduction for continuous static program analysis

Shinichi Maeshima

September 21, 2014
Tweet

More Decks by Shinichi Maeshima

Other Decks in Technology

Transcript

  1. Continuous
    static program
    analysis
    @netwillnet

    View Slide

  2. Freelance Rails Engineer
    @netwillnet

    View Slide

  3. Now on Sale!!!1

    View Slide

  4. Organizer

    View Slide

  5. There are many static
    analysis tools

    View Slide

  6. static analysis tool
    likes this

    View Slide

  7. hound CI is one of
    solutions

    View Slide

  8. hound CI comments
    on PR with rubocop

    View Slide

  9. Great tool!!

    View Slide

  10. * not free for private repo
    * only rubocop
    But…

    View Slide

  11. pronto is an alternative

    View Slide

  12. pronto-rubocop
    pronto-flay
    pronto-brakeman
    pronto-foodcritic
    pronto-rails_best_practices
    pronto-reek
    pronto-poper
    pronto-jshint
    pronto-spell
    pronto-haml
    Runner

    View Slide

  13. > export GITHUB_ACCESS_TOKEN=xxxxx
    > pronto run -f github

    View Slide

  14. Add comments to
    each commit

    View Slide

  15. > export GITHUB_ACCESS_TOKEN=xxxxx
    > pronto run -f github
    If you execute it on CI,
    You can use what likes
    hound CI

    View Slide

  16. Add comments to
    each commit

    View Slide

  17. > export GITHUB_ACCESS_TOKEN=xxxxx
    > export PULL_REQUEST_ID=n
    > pronto run -f github_pr
    New Option has come!

    View Slide

  18. Add comments to
    Pull Request

    View Slide

  19. > export GITHUB_ACCESS_TOKEN=xxxxx
    > export PULL_REQUEST_ID=n
    > pronto run -f github_pr
    Input Pull Request ID
    is hassle…

    View Slide

  20. View Slide

  21. > export GITHUB_ACCESS_TOKEN=xxxxx
    > prid YOUR_REPOSITORY
    !

    View Slide

  22. Conclusion

    View Slide

  23. Let’s do
    Continuous
    static program analysis
    with pronto

    View Slide