Rule author

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
tooling

Research direction

Start by comparing the rules in this repository with the original author's updated rules at https://github.com/pfultz2/cppcheck-rules, using EmptyIfStatement as the stated example. Done means bringing the existing rules up to date for cases such as nested parentheses and deciding which additional rules from the source repository belong here.

Written by the indexing model from the issue text.

Description

I am the original author. All these rules come from this repo:

https://github.com/pfultz2/cppcheck-rules

Except the rules are out of date. These rules have been updated to make them more robust. For example the EmptyIfStatement rule checks for nested parenthesis: if (\([^()]*(?-1)*[^()]*\)) { } but the one in the repo is much older and does not.

There are also additional rules available.

Dominant language
C++
Stars
26
Forks
8
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.