Skip to content

Commit

Permalink
Added CppCheck badge to README
Browse files Browse the repository at this point in the history
  • Loading branch information
VyaasBaskar committed Dec 19, 2024
1 parent a030788 commit 09cfed4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Compilation Check](https://github.com/Team846/monkey_menace/actions/workflows/compilation_check.yaml/badge.svg)](https://github.com/Team846/monkey_menace/actions/workflows/compilation_check.yaml)
[![Formatting Check](https://github.com/Team846/monkey_menace/actions/workflows/formatting_check.yaml/badge.svg)](https://github.com/Team846/monkey_menace/actions/workflows/formatting_check.yaml)
[![CppCheck](https://github.com/Team846/monkey_menace/actions/workflows/cpp_check.yaml/badge.svg)](https://github.com/Team846/monkey_menace/actions/workflows/cpp_check.yaml)

## Overview

Expand Down Expand Up @@ -174,6 +175,7 @@ To undo the going back:
- `git switch -` <-- goes back to latest commit

## CppCheck Warnings

```
src/y2025/cpp/field.cc:9:16: warning: Variable 'point' can be declared as reference to const [constVariableReference]
src/y2025/cpp/field.cc:21:14: warning: Variable 'path' can be declared as reference to const [constVariableReference]
Expand All @@ -188,7 +190,9 @@ src/frc846/cpp/frc846/math/collection.cc:25:0: warning: The function 'VerticalDe
src/frc846/cpp/frc846/math/collection.cc:39:0: warning: The function 'CoterminalDifference' is never used. [unusedFunction]
src/frc846/cpp/frc846/math/collection.cc:52:0: warning: The function 'CoterminalSum' is never used. [unusedFunction]
```

## CppCheck Warnings

```
srcy2025cppfield.cc:9:16: warning: Variable 'point' can be declared as reference to const [constVariableReference]
srcy2025cppfield.cc:21:14: warning: Variable 'path' can be declared as reference to const [constVariableReference]
Expand All @@ -202,4 +206,4 @@ srcfrc846cppfrc846mathcollection.cc:11:0: warning: The function 'HorizontalDeadb
srcfrc846cppfrc846mathcollection.cc:25:0: warning: The function 'VerticalDeadband' is never used. [unusedFunction]
srcfrc846cppfrc846mathcollection.cc:39:0: warning: The function 'CoterminalDifference' is never used. [unusedFunction]
srcfrc846cppfrc846mathcollection.cc:52:0: warning: The function 'CoterminalSum' is never used. [unusedFunction]
```
```

0 comments on commit 09cfed4

Please sign in to comment.