Skip to content

fixes writing config failing if file doesn't exist and adds component…

Codacy Production / Codacy Static Code Analysis required action Aug 16, 2024 in 0s

7 new issues (0 max.) of at least minor severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 7
           

See the complete overview on Codacy

Annotations

Check notice on line 27 in modules/OCPPConfiguration/OCPPConfiguration.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/OCPPConfiguration/OCPPConfiguration.hpp#L27

struct member 'Conf::monitor_variables' is never used.

Check notice on line 28 in modules/OCPPConfiguration/OCPPConfiguration.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/OCPPConfiguration/OCPPConfiguration.hpp#L28

struct member 'Conf::user_config_path' is never used.

Check notice on line 29 in modules/OCPPConfiguration/OCPPConfiguration.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/OCPPConfiguration/OCPPConfiguration.hpp#L29

struct member 'Conf::mapping_file_path' is never used.

Check notice on line 13 in modules/OCPPConfiguration/main/event_handler.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/OCPPConfiguration/main/event_handler.hpp#L13

Class 'EventHandler' has a constructor with 1 argument that is not explicit.

Check notice on line 20 in modules/OCPPConfiguration/main/event_handler.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/OCPPConfiguration/main/event_handler.hpp#L20

class member 'EventHandler::event_map' is never used.

Check notice on line 16 in modules/OCPPConfiguration/main/mapping_reader.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/OCPPConfiguration/main/mapping_reader.hpp#L16

struct member 'EverestModuleMapping::module_id' is never used.

Check notice on line 17 in modules/OCPPConfiguration/main/mapping_reader.hpp

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

modules/OCPPConfiguration/main/mapping_reader.hpp#L17

struct member 'EverestModuleMapping::config_key' is never used.