[OCPP 1.6] new interface to support OCPP 1.6 obtaining configuration from V2 data model #1714
109 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 6
- Added 109
Complexity increasing per file
==============================
- lib/everest/ocpp/lib/ocpp/v16/charge_point.cpp 1
- lib/everest/ocpp/lib/ocpp/v16/utils.cpp 11
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_pnc.cpp 9
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_local_auth_list.cpp 5
- lib/everest/ocpp/lib/ocpp/v16/known_keys.cpp 6
- lib/everest/ocpp/include/ocpp/v16/known_keys.hpp 1
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/memory_storage.cpp 67
- lib/everest/ocpp/lib/ocpp/v16/charge_point_configuration_devicemodel.cpp 709
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/memory_storage.hpp 17
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_config.cpp 2
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_core.cpp 48
- lib/everest/ocpp/lib/ocpp/v16/charge_point_configuration_base.cpp 86
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_user_config.cpp 3
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_internal.cpp 56
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_firmware_management.cpp 2
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_security.cpp 12
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_smart_charging.cpp 10
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/configuration_stub.hpp 4
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_custom.cpp 12
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_california_pricing.cpp 20
- lib/everest/ocpp/tests/lib/ocpp/v16/test_utils.cpp 5
Clones added
============
- lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.hpp 1
- lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_devicemodel.hpp 1
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/memory_storage.cpp 2
- lib/everest/ocpp/lib/ocpp/v16/charge_point_configuration_devicemodel.cpp 4
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/memory_storage.hpp 7
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_core.cpp 5
- lib/everest/ocpp/tests/lib/ocpp/v16/v2config/test_custom.cpp 22
- lib/everest/ocpp/tests/lib/ocpp/v16/test_utils.cpp 10
See the complete overview on Codacy
Annotations
Check warning on line 10 in lib/everest/ocpp/include/ocpp/v16/charge_point.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point.hpp#L10
Include file: <ocpp/v16/charge_point_configuration_interface.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results.
Check warning on line 6 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.hpp#L6
Include file: <map> not found. Please note: Cppcheck does not need standard library headers to get proper results.
Check warning on line 12 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.hpp#L12
Include file: <ocpp/v16/charge_point_configuration_base.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results.
Check warning on line 13 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration.hpp#L13
Include file: <ocpp/v16/charge_point_configuration_interface.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results.
Check warning on line 9 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp#L9
Include file: <cstddef> not found. Please note: Cppcheck does not need standard library headers to get proper results.
Check warning on line 10 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp#L10
Include file: <map> not found. Please note: Cppcheck does not need standard library headers to get proper results.
Check warning on line 11 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp#L11
Include file: <optional> not found. Please note: Cppcheck does not need standard library headers to get proper results.
Check warning on line 35 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp#L35
class member 'ChargePointConfigurationBase::supported_message_types_from_charge_point' is never used.
Check warning on line 36 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp#L36
class member 'ChargePointConfigurationBase::supported_message_types_from_central_system' is never used.
Check warning on line 38 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp#L38
class member 'ChargePointConfigurationBase::supported_message_types_receiving' is never used.
Check warning on line 39 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp#L39
class member 'ChargePointConfigurationBase::supported_message_types_sending' is never used.
Check warning on line 40 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp#L40
class member 'ChargePointConfigurationBase::supported_feature_profiles' is never used.
Check warning on line 41 in lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_base.hpp#L41
class member 'ChargePointConfigurationBase::supported_measurands' is never used.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_devicemodel.hpp#L7
Include file: <ocpp/v16/charge_point_configuration_base.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_devicemodel.hpp#L8
Include file: <ocpp/v16/charge_point_configuration_interface.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_devicemodel.hpp#L9
Include file: <ocpp/v16/types.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_devicemodel.hpp#L11
Include file: <map> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_devicemodel.hpp#L12
Include file: <set> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_devicemodel.hpp#L13
Include file: <vector> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_interface.hpp#L6
Include file: <cstdint> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_interface.hpp#L7
Include file: <optional> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_interface.hpp#L8
Include file: <set> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_interface.hpp#L9
Include file: <string> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_interface.hpp#L10
Include file: <vector> not found. Please note: Cppcheck does not need standard library headers to get proper results.
codacy-production / Codacy Static Code Analysis
lib/everest/ocpp/include/ocpp/v16/charge_point_configuration_interface.hpp#L13
Include file: <ocpp/v16/ocpp_enums.hpp> not found. Please note: Cppcheck does not need standard library headers to get proper results.