Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 1.53 KB

cpplint.md

File metadata and controls

67 lines (44 loc) · 1.53 KB

Configuration for cpplint

Supported environments/languages

  • C
  • C++

Configuration

var purpose type default
SCA_BLOCKLIST_cpplint Blacklist filter for this tool space-separated-list "linux-*"
SCA_CPPLINT_EXTRA_FATAL Extra error-IDs leading to build termination when found space-separated-list ""
SCA_CPPLINT_EXTRA_SUPPRESS Extra error-IDs to be suppressed space-separated-list ""
SCA_CPPLINT_FILE_FILTER List of file-extensions to be checked space-separated-list ".c .cpp .h .hpp"

Supports

  • suppression of IDs
  • terminate build on fatal
  • run on recipe
  • run on image
  • available in SDK
  • run with SCA-layer default settings (see SCA_AVAILABLE_MODULES)

Requires

  • requires online access

Known error-IDs

tbd

Checking scope

  • security
  • functional defects
  • compliance
  • style issues

Statistics

  • ⬛⬛⬛⬛⬛⬜⬜⬜⬜⬜ 05/10 Build Speed
  • ⬛⬛⬛⬛⬛⬛⬜⬜⬜⬜ 06/10 Execution Speed
  • ⬛⬛⬛⬛⬛⬛⬛⬜⬜⬜ 07/10 Quality

Score mapping

Error considered as security relevant

  • cpplint.cpplint.runtime.threadsafe_fn
  • cpplint.cpplint.runtime.member_string_references
  • cpplint.cpplint.runtime.operator

Error considered as functional defect

  • cpplint.cpplint.build.header_guard
  • cpplint.cpplint.build.printf_format
  • cpplint.cpplint.runtime.memset

Error consired as compliance issue

  • n.a.

Error considered as style issue

  • cpplint.cpplint.*