analyze VS codeql-coding-standards

Compare analyze vs codeql-coding-standards and see what are their differences.

analyze

NaiveSystems Analyze is a static analysis tool for code security and compliance. (by naivesystems)

codeql-coding-standards

This repository contains CodeQL queries and libraries which support various Coding Standards. (by github)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
analyze codeql-coding-standards
3 3
145 105
6.2% 9.5%
8.6 9.8
12 days ago 2 days ago
CodeQL
GNU General Public License v3.0 only 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.

analyze

Posts with mentions or reviews of analyze. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-17.
  • NaiveSystems Analyze – FOSS static analyzer for MISRA C/C++, AUTOSAR C++14, etc.
    2 projects | news.ycombinator.com | 17 Dec 2023
    How do you conclude that? The instructions here:

    https://github.com/naivesystems/analyze/wiki/How-to-run-on-m...

    say docker is required.

  • Misra C++:2023 Published
    4 projects | news.ycombinator.com | 17 Dec 2023
    If you are interested in this, take a look at NaiveSystems Analyze [0] which is a free and open source static analyzer for checking MISRA compliance etc.

    Disclaimer: I'm the founder.

    It has been battle tested with real customers in automotive, medical devices, and semiconductors. AFAIK this is the first FOSS tool that achieves commercial use standards (extensive ruleset coverage, low false positives based symbolic execution (which Coverity relies heavily on) and SMT solver, ...)

    [0]: https://github.com/naivesystems/analyze

codeql-coding-standards

Posts with mentions or reviews of codeql-coding-standards. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-17.
  • Misra C++:2023 Published
    4 projects | news.ycombinator.com | 17 Dec 2023
  • Porsche Open Source Platform
    1 project | news.ycombinator.com | 12 Nov 2023
    This comment chain appears to have a fundamental misconception of what constitutes safe and what does not.

    Automotive standards and automotive coding standards approach safety in a different way than most people think (and given your comments I would say this includes you). If you're curious, you can have a look at some rules to evaluate automotive code that are published here: https://github.com/github/codeql-coding-standards

    In short, the rules do not aim to eliminate failure or crashes, but rather make the crash predictable and uniform when a crash occurs so that it can be dealt with. This is further complicated by where and how the automotive manufacture chooses to implement safety controls. It is entirely possible to have a bunch of unsafe code running somewhere on a car, and simply have a small safety shim around said code that prevents the unsafe code from impacting the safe operation of the vehicle.

    With that in mind, let's take the example that you use here of emissions cheating software. Emissions is likely not considered safety relevant (it might not even be QM, it just might be some code) and so no safety requirement applies to it. So, no real scrutiny would happen there regardless, at least from a safety perspective. See, validating that software passes a particular safety certification is time and money intensive and manufacturers therefore keep the amount of code that they qualify as safe to a minimum. This means as an example that the infotainment systems of many manufacturers are not safety relevant and no safety function should exist on or interact with them.

    A few other things to consider from other threads:

    - Telsa doesn't necessarily follow or adhere to safety standards. They (Telsa) are explicitly non-compliant in some cases, and this is partially why there are investigations into their practices.

    - Industrial robotics code is just as bad if not worse than most automotive software from what I've seen. As you note, its that these robots are not under manual control

    - None of this prevents the software from being open source. There are plenty of safety qualified open source projects. This simply limits who can contribute and how contributions are managed. The main reason why many things in automotive are not open source is that the ECU manufacturer isn't interested in doing so, and the Tier 1/2/3 that does the implementation is even less so.

  • CodeQL support for Autosar and Cert C++
    1 project | news.ycombinator.com | 23 Jul 2022

What are some alternatives?

When comparing analyze and codeql-coding-standards you can also consider the following projects:

banwords

codeql - CodeQL: the libraries and queries that power security researchers around the world, as well as code scanning in GitHub Advanced Security

Qodana - 📝 Source repository of Qodana Help

codeql-action - Actions for running CodeQL analysis

awesome-safety-critical - List of resources about programming practices for writing safety-critical software.

codeql - CodeQL workshops for GitHub Universe

cscs - A curated list of Coding Style Conventions and Standards.

PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.

composer-installer - Composer installer for PHP_CodeSniffer coding standards