• Stars
    star
    414
  • Rank 104,550 (Top 3 %)
  • Language
    C#
  • License
    MIT License
  • Created about 11 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Visual Studio integration for cppcheck, an open-source static code analyzer for C++

Visual Studio integration add-in for Cppcheck

Build status

Cppcheck is a C and C++ source code static analysis tool.

This plugin integrates Cppcheck into Visual Studio and allows:

  • automatically checking every C / C++ source file upon saving;
  • checking the currently selected project in the Solution Explorer (menu -> Tools -> Check current project);
  • convenient message suppression management with options to suppress specific messages, all messages in a given file, specific message types in a given file, message types globally, solution-wide and project-wide.

Download

Visual Studio 2022 is supported. VS2019, 2017 and 2015 are supported by the older releases.

Get the latest release

NOTE: The add-in does not deploy Cppcheck executable. Please, go to Cppcheck website, download the installer and install it before first use of the add-in. The add-in then may prompt for location of the cppcheck.exe.

Contributors

Should you decide to open, build and debug the project please follow these steps:

Use Visual Studio 2022 - ensure you have the workload for Extension Development installed. All SDKs are referenced as nuget packages and should

  • Press F5 (Debug -> Start Debugging) to have the project built and deployed into "Experimental Instance" of Visual Studio. This should start another ("experimental") instance of Visual Studio of the same version with the addin deployed there.

  • If the project builds fine but "Experimental instance" does not start (you get Visual Studio cannot start debugging because the debug target is missing) message or the wrong Visual Studio version is started do the following:

  • right-click the project in Solution Explorer and get to Properties

  • get to Debug tab

  • next to start external program alter the path so that it points to where the right version of Visual Studio is installed. Path should be something like "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\devenv.exe"

  • In the same window add /rootsuffix Exp to Command line arguments

More Repositories

1

file-commander

Cross-platform Total Commander-like orthodox file manager for Windows, Mac and Linux
C++
379
star
2

FasterThanSight

Desktop speed reading software for Windows, Mac and Linux
C++
73
star
3

github-releases-autoupdater

A C++ library for update checking and automatic updating of the software distributed via GitHub releases
C++
49
star
4

qtutils

A collection of various Qt-based classes and code snippets
C++
21
star
5

UEFI-Bootloader

A simple UEFI bootloader written in C++17 that does not need any third-party support code like Tianocore EDK or gnu-efi; only needs a handful EFI standard definitions that are provided by a sub-module.
C++
19
star
6

UEFI-CPP-headers

Some basic UEFI definitions and symbols exactly as definied by the UEFI spec, in a form of C++ headers to be used for writing C++ UEFI applications.
C
13
star
7

cpp-template-utils

A header-only C++ library that augments the standard library with useful code snippets
C++
12
star
8

desktop-wallpaper-switcher

A Win / Linux / Mac OS tool for managing and cycling desktop wallpapers
C++
12
star
9

text-encoding-detector

A Qt-based class for detecting the encoding of binary data assuming it is a text, and converting it to QString properly.
C++
12
star
10

cpputils

A collection of various C++ utility classes
C++
9
star
11

cpuid-parser

Single-header library and sample code to obtain and parse CPUID
C++
8
star
12

ShaderPlayground

A desktop tool for live-editing fragment shaders. Compatible with shadertoy.com.
C++
4
star
13

image-processing

C++
3
star
14

memkv

Hyper speed in-memory key-value storage*
C++
3
star
15

RamBench64

Cross-platform RAM speed benchmark
C++
3
star
16

Fractals

An application for visualizing various fractals
C++
2
star
17

PaletteAnalyzer

A tool for generating color palettes based on image files
C++
2
star
18

AudioWaveformToneGenerator

C++
2
star
19

GPS

C++
2
star
20

thin_io

A lightweight cross-platform file library based directly on the native system API
C++
2
star
21

EmbeddedLinpack

Linpack benchmark for embedded systems (Arduino, ESP32 et. al.)
C++
2
star
22

TETRIS-for-DOS

A simple recreation of Tetris game for DOS (MS-DOS, FreeDOS, DOSBox)
QMake
2
star
23

PrimitiveCameraViewer

Displays live image from a Windows camera device (USB camera, web camera, video capture card etc.)
C++
1
star
24

SimpleCameraViewer

Displays the live image from a Windows camera device (DirectShow etc.)
C++
1
star
25

CAN-bus-decoder-8266

C++
1
star
26

libcurl-cpp

Yet another C++ wrapper for libcurl
C++
1
star
27

Arduino-PlatformIO-Project-Template

C++
1
star
28

MicroWidgets

Lightweight GUI library for lightweight computing systems
C++
1
star
29

VioletGiraffe

1
star
30

myhtml-pp

C++/Qt wrapper for myhtml library (https://github.com/lexborisov/myhtml)
C++
1
star
31

AudioGenerator

Simple Arduino-based audio waveform generator device
C++
1
star
32

VioletGiraffe.github.io

HTML
1
star
33

cpp-db

C++
1
star
34

Oscilloscope-Arduino

A portable oscilloscope device based on Arduino Due
C++
1
star
35

Signal-Generator-Arduino

An arbitrary signal / waveform generator based on Arduino Due
C++
1
star
36

PUP-killer

A tiny resident Windows program for klling potentionally unwanted programs (PUP) on sight
C++
1
star
37

arduino-utils

C++
1
star
38

graphics-benchmark-arduino

C
1
star
39

Temperature-Display-NTC

Reads the resistance of an NTC temperature sensor and displays the corresponding temperature on a screen
C++
1
star
40

embeddedUI

Embedded UI library for the Arduino framework
C++
1
star
41

GPS-Server

A TCP server that listens to the locally connected GPS receiver and translates its incoming data over the network.
QMake
1
star
42

GiraffeChess

A simple chess engine in C++
C++
1
star
43

ArduinoClock

Objective-C
1
star
44

AIMP4-skin-for-small-touchscreens

A skin for AIMP4 Windows music player that makes it more usable on small screens and touch screens.
1
star