-
Notifications
You must be signed in to change notification settings - Fork 0
Static Code Checks
src/sensor_radio.cpp:4: [low:style] The function 'get_start_signal_from_ground_station' is never used. [unusedFunction]
lib/SD/src/SD.h:102: [low:style] Virtual function 'close' is called from destructor '~SDFile(void)' at line 70. Dynamic binding is not used. [virtualCallInConstructor]
lib/SD/src/SD.h:66: [medium:warning] Class 'SDFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
lib/SD/src/SD.h:72: [low:style] The function 'write' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:75: [low:style] The function 'peek' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:78: [low:style] The function 'available' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:81: [low:style] The function 'flush' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:84: [low:style] The function 'read' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:87: [low:style] The function 'truncate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:96: [low:style] The function 'position' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:99: [low:style] The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:102: [low:style] The function 'close' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:111: [low:style] The function 'isOpen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:114: [low:style] The function 'name' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:126: [low:style] The function 'isDirectory' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:129: [low:style] The function 'openNextFile' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:134: [low:style] The function 'rewindDirectory' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:137: [low:style] The function 'getCreateTime' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:149: [low:style] The function 'getModifyTime' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:161: [low:style] The function 'setCreateTime' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:166: [low:style] The function 'setModifyTime' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:183: [low:style] The function 'open' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:191: [low:style] The function 'exists' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:194: [low:style] The function 'mkdir' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:197: [low:style] The function 'rename' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:200: [low:style] The function 'remove' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:203: [low:style] The function 'rmdir' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:206: [low:style] The function 'usedSize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:211: [low:style] The function 'totalSize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:215: [low:style] The function 'format' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/SD/src/SD.h:216: [low:style] The function 'mediaPresent' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
src/sensor_sdcard.cpp:13: [low:style] The function 'init_SD' is never used. [unusedFunction]
src/sensor_sdcard.cpp:28: [low:style] The function 'write_to_sd_card' is never used. [unusedFunction]
src/package_fram.cpp:42: [high:error] Found a exit path from function with non-void return type that has missing return statement [missingReturn]
src/package_fram.cpp:67: [high:error] Found a exit path from function with non-void return type that has missing return statement [missingReturn]
src/package_fram.cpp:9: [medium:warning] The function 'dump_fram_to_serial' is never used. [unusedFunction]
src/package_fram.cpp:64: [low:style] The function 'read_acceleration_from_fram' is never used. [unusedFunction]
src/package_fram.cpp:39: [low:style] The function 'read_temperature_from_fram' is never used. [unusedFunction]
src/package_fram.cpp:49: [low:style] The function 'write_acceleration_to_fram' is never used. [unusedFunction]
src/package_fram.cpp:14: [low:style] The function 'write_temperature_to_fram' is never used. [unusedFunction]
lib/Adafruit_Sensor/src/Adafruit_Sensor.h:166: [medium:warning] Member variable 'Adafruit_Sensor::_autoRange' is not initialized in the constructor. [uninitMemberVar]
lib/Adafruit_BusIO/src/Adafruit_I2CDevice.h:10: [medium:warning] Class 'Adafruit_I2CDevice' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
lib/Adafruit_BusIO/src/Adafruit_SPIDevice.h:80: [low:style] Class 'Adafruit_SPIDevice' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
lib/Adafruit_BMP280/src/Adafruit_BMP280.h:92: [low:style] Class 'Adafruit_BMP280_Temp' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
lib/Adafruit_BMP280/src/Adafruit_BMP280.h:106: [low:style] Class 'Adafruit_BMP280_Pressure' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
lib/Adafruit_BMP280/src/Adafruit_BMP280.h:183: [low:style] Class 'Adafruit_BMP280' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
lib/Adafruit_BMP280/src/Adafruit_BMP280.h:93: [low:style] The function 'getEvent' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/Adafruit_BMP280/src/Adafruit_BMP280.h:94: [low:style] The function 'getSensor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/Adafruit_BMP280/src/Adafruit_BMP280.h:107: [low:style] The function 'getEvent' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/Adafruit_BMP280/src/Adafruit_BMP280.h:108: [low:style] The function 'getSensor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
src/sensor_bmp280.cpp:44: [low:style] The function 'degrees_to_radians' is never used. [unusedFunction]
src/sensor_bmp280.cpp:29: [low:style] The function 'get_bmp280_pressure' is never used. [unusedFunction]
src/sensor_bmp280.cpp:34: [low:style] The function 'get_bmp280_relative_altitude' is never used. [unusedFunction]
src/sensor_bmp280.cpp:9: [low:style] The function 'init_bmp280' is never used. [unusedFunction]
src/sensor_bmp280.cpp:39: [low:style] The function 'radians_to_degrees' is never used. [unusedFunction]
lib/Adafruit_BusIO/src/Adafruit_I2CDevice.h:10: [medium:warning] Class 'Adafruit_I2CDevice' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]
src/sensor_fram.cpp:10: [low:style] The function 'init_fram' is never used. [unusedFunction]
src/sensor_fram.cpp:34: [low:style] The function 'read_from_fram' is never used. [unusedFunction]
src/sensor_fram.cpp:23: [low:style] The function 'write_to_fram' is never used. [unusedFunction]
src/sensor_led.cpp:49: [medium:warning] The function 'flashInternalLed' is never used. [unusedFunction]
src/sensor_led.cpp:39: [low:style] The function 'flashSOS' is never used. [unusedFunction]
src/sensor_led.cpp:9: [low:style] The function 'init_LED' is never used. [unusedFunction]
src/sensor_led.cpp:32: [low:style] The function 'setLedBlue' is never used. [unusedFunction]
src/sensor_led.cpp:18: [low:style] The function 'setLedGreen' is never used. [unusedFunction]
src/sensor_led.cpp:25: [low:style] The function 'setLedRed' is never used. [unusedFunction]
src/debug_I2C_Scanner.cpp:5: [medium:warning] The function 'scan_and_print_I2C_devices' is never used. [unusedFunction]
src/package_statemachine_t.cpp:3: [low:style] The function 'set_state_for_statemachine' is never used. [unusedFunction]
src/sensor_buzzer.cpp:4: [medium:warning] The function 'buzzerOn' is never used. [unusedFunction]
src/sensor_parachute.cpp:1: [low:style] The function 'deploy_parachute' is never used. [unusedFunction]
src/package_testmode.cpp:4: [low:style] The function 'enter_state' is never used. [unusedFunction]
src/sensor_ms5611.cpp:8: [medium:warning] The function 'checkSettings' is never used. [unusedFunction]
src/sensor_ms5611.cpp:59: [low:style] The function 'get_ms5611_altitude' is never used. [unusedFunction]
src/sensor_ms5611.cpp:46: [low:style] The function 'get_ms5611_press' is never used. [unusedFunction]
src/sensor_ms5611.cpp:34: [low:style] The function 'get_ms5611_temp' is never used. [unusedFunction]
src/sensor_ms5611.cpp:14: [low:style] The function 'init_MS5611' is never used. [unusedFunction]
src/sensor_kx134.cpp:51: [medium:warning] The scope of the variable 'current_acceleration_reading' can be reduced. [variableScope]
src/sensor_kx134.cpp:51: [low:style] Variable 'current_acceleration_reading' is assigned a value that is never used. [unreadVariable]
src/sensor_kx134.cpp:46: [low:style] The function 'confirm_acceleration_z' is never used. [unusedFunction]
src/sensor_kx134.cpp:27: [low:style] The function 'get_kx134_accel_x' is never used. [unusedFunction]
src/sensor_kx134.cpp:33: [low:style] The function 'get_kx134_accel_y' is never used. [unusedFunction]
src/sensor_kx134.cpp:9: [low:style] The function 'init_kx134' is never used. [unusedFunction]
lib/Watchdog_t4/src/Watchdog_t4.h:52: [low:style] The class 'WDT_T4 < WDT2 >' does not declare a constructor although it has private member
variables which likely require initialization. [noConstructor]
lib/Watchdog_t4/src/Watchdog_t4.h:60: [medium:warning] The class 'WDT_T4 < WDT2 >' defines member variable with name 'watchdog_class_handler' also defined in its parent class 'WDT_T4_Base'. [duplInheritedMember]
lib/RadioHead/src/RHHardwareSPI.h:37: [low:style] The function 'transfer' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RHHardwareSPI.h:43: [low:style] The function 'attachInterrupt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RHHardwareSPI.h:47: [low:style] The function 'detachInterrupt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RHHardwareSPI.h:52: [low:style] The function 'begin' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RHHardwareSPI.h:56: [low:style] The function 'end' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RHSPIDriver.h:50: [low:style] The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RH_RF95.h:573: [low:style] The function 'init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RH_RF95.h:599: [low:style] The function 'available' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RH_RF95.h:610: [low:style] The function 'recv' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RH_RF95.h:622: [low:style] The function 'send' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RH_RF95.h:635: [low:style] The function 'maxMessageLength' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RH_RF95.h:682: [low:style] The function 'sleep' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/RadioHead/src/RH_RF95.h:691: [low:style] The function 'isChannelActive' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/Watchdog_t4/src/Watchdog_t4.h:61: [low:style] The function 'watchdog_isr' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
lib/Watchdog_t4/src/Watchdog_t4.h:62: [low:style] The function 'ewatchdog_isr' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride]
src/main.cpp:103: [low:style] Variable 'count' is assigned a value that is never used. [unreadVariable]
lib/Watchdog_t4/src/Watchdog_t4.tpp:102: [low:style] Variable 'config.pin' is assigned a value that is never used. [unreadVariable]
lib/Watchdog_t4/src/Watchdog_t4.tpp:147: [low:style] Variable 'config.pin' is assigned a value that is never used. [unreadVariable]
src/main.cpp:356: [low:style] The function 'setup' is never used. [unusedFunction]
src/main.cpp:304: [low:style] The function 'watchdog_callback' is never used. [unusedFunction]
src/sensor_bmi088.cpp:31: [medium:warning] The function 'get_bmi088_gyro_x' is never used. [unusedFunction]
src/sensor_bmi088.cpp:37: [low:style] The function 'get_bmi088_gyro_y' is never used. [unusedFunction]
src/sensor_bmi088.cpp:43: [low:style] The function 'get_bmi088_gyro_z' is never used. [unusedFunction]
src/sensor_bmi088.cpp:8: [low:style] The function 'init_bmi088' is never used. [unusedFunction]
========================= [PASSED] Took 869.03 seconds =========================
| Component | HIGH | MEDIUM | LOW |
|---|---|---|---|
| lib/Adafruit_BMP280/src | 0 | 0 | 7 |
| lib/Adafruit_BusIO/src | 0 | 2 | 1 |
| lib/Adafruit_Sensor/src | 0 | 1 | 0 |
| lib/RadioHead/src | 0 | 0 | 13 |
| lib/SD/src | 0 | 1 | 29 |
| lib/Watchdog_t4/src | 0 | 1 | 5 |
| src | 2 | 7 | 38 |
| Total | 2 | 12 | 93 |
| Environment | Tool | Status | Duration |
|---|---|---|---|
| teensy41 | cppcheck | PASSED | 00:14:29.028 |
========================= 1 succeeded in 00:14:29.028 =========================