Plank VS infer

Compare Plank vs infer and see what are their differences.


A static analyzer for Java, C, C++, and Objective-C (by facebook)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Zigi - The context switching struggle is real
  • Scout APM - Truly a developer’s best friend
  • InfluxDB - Build time-series-based applications quickly and at scale.
Plank infer
0 32
463 13,680
0.0% 1.1%
3.8 9.9
5 months ago 1 day ago
Swift OCaml
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of Plank. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning Plank yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of infer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-22.
  • The State of Affine Types in C++?
    2 projects | | 22 Nov 2022
    - borrow-cpp which exploits some null dereference checks in the infer static analyzer to model some of borrow checking.
  • Prusti: Static Analyzer for Rust
    8 projects | | 13 Oct 2022
  • Programming Breakthroughs We Need
    17 projects | | 17 Aug 2022
    > Maybe you could write tests as queries that would test a whole set of possible programs, not only the current version of your program at the moment.

    I think that the future of programming is more sophisticated static analysis. Programmers will write statements like, "every code path that writes to the Payments database must have called validate_user()." Then, the tooling will confirm that rule with every commit.

    We kind of have this already (for example, Facebook's Infer tool [0]), but I think it will become much more important in the coming decade.


  • Formally Verifying Industry Cryptography
    2 projects | | 14 Jul 2022
    Great question! Formal methods groups in industry are growing rapidly and popping up in surprising places. Amazon's group is probably the most famous, but I think pretty much every big tech company has something going on in the formal verification / static analysis space. There's also a lot going on in blockchain . It's definitely becoming harder to hire people with FM skills, so in that sense, I think it's a great space to get into.

    The downside is that the space is quite fragmented and a lot of tools have a high skill bar. If I was starting out, I'd probably focus on static analysis (eg. Infer or something similar - because those tools tend to be easier to learn, and they have the potential to scale to really big systems. In contrast, Coq is a fine tool, but most people learn it by going to grad school which isn't useful short term career advice.

    There are lot of great interviews with practitioners on the Galois podcast, Building Better Systems - that might be a good place to start exploring:

  • Hard Things in Computer Science
    2 projects | | 28 Jun 2022
    > The only reliable way to have bug-free code is to prove it. It requires solid mathematical foundations and a programming language that allows formal proofs.

    I'm going to be the "actually" guy and say that, actually, you can formally verify some studff about programs written in traditional/mainstream languages, like C. Matter of fact, this is a pretty lively research area, with some tools like CBMC [0] and Infer [1] also getting significant adoption in the industry.



  • How to make develop C application easier?
    2 projects | | 28 Mar 2022
    There are also static analyzers, for example PVS-Studio which is commercial and solid: The GCC compiler, starting with version 10, has a static analyzer that you activate with the “-fanalyzer” option. It’s still quite limited but I use it. Be sure the get GCC version 11.2 or later because the analyzer got much better after version 10. Facebook has a no-cost analyzer, but I haven’t tried it yet:
  • infer - A static analyzer for Java, C, C++, and Objective-C open-sourced by Facebook
    3 projects | | 5 Mar 2022
  • Hacker News top posts: Mar 5, 2022
    2 projects | | 5 Mar 2022
    A tool to detect bugs in Java and C/C++/Objective-C code before it ships\ (22 comments)
  • A tool to detect bugs in Java and C/C++/Objective-C code before it ships
    4 projects | | 4 Mar 2022
  • Formal Verification Methods in industry
    4 projects | | 31 Jan 2022
    When you say "formal verification methods", what kind of techniques are you interested in? While using interactive theorem provers will most likely not become very widespread, there are plenty of tools that use formal techniques to give more correctness guarantees. These tools might give some guarantees, but do not guarantee complete functional correctness. WireGuard (VPN tunnel) is I think a very interesting application where they verified the protocol. There are also some tools in use, e.g. Mythril and CrossHair, that focus on detecting bugs using symbolic execution. There's also INFER from Facebook/Meta which tries to verify memory safety automatically. The following GitHub repo might also interest you, it lists some companies that use formal methods: practical-fm

What are some alternatives?

When comparing Plank and infer you can also consider the following projects:

SonarQube - Continuous Inspection

Spotbugs - SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.

FindBugs - The new home of the FindBugs project

PMD - An extensible multilanguage static code analyzer.

Error Prone - Catch common Java mistakes as compile-time errors

Checkstyle - Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. By default it supports the Google Java Style Guide and Sun Code Conventions, but is highly configurable. It can be invoked with an ANT task and a command line program.

SonarJava - :coffee: SonarSource Static Analyzer for Java Code Quality and Security

fastlane-plugin-appicon - Generate required icon sizes and iconset from a master application icon.

R.swift - Strong typed, autocompleted resources like images, fonts and segues in Swift projects

Sourcetrail - Sourcetrail - free and open-source interactive source explorer

SourceKitten - An adorable little framework and command line tool for interacting with SourceKit.

Awesome-Design-Tools - The best design tools and plugins for everything 👉