Line | Id | CWE | Severity | Message |
---|---|---|---|---|
/home/jbakosi/code/piac/src/cli.cpp | ||||
395 | duplicateCondition | 398 | style | The if condition is the same as the previous if condition |
/home/jbakosi/code/piac/src/cli_matrix_thread.cpp | ||||
210 | passedByValue | 398 | performance | Function parameter 'data' should be passed by const reference. |
/home/jbakosi/code/piac/src/daemon.cpp | ||||
476 | duplicateCondition | 398 | style | The if condition is the same as the previous if condition |
/home/jbakosi/code/piac/src/daemon_p2p_thread.cpp | ||||
71 | constParameter | 398 | style | Parameter 'my_peers' can be declared with const |
/home/jbakosi/code/piac/src/db.cpp | ||||
19 | passedByValue | 398 | performance | Function parameter 'db_name' should be passed by const reference. |
/home/jbakosi/code/piac/src/db.hpp | ||||
31 | passedByValue | 398 | performance | Function parameter 'db_name' should be passed by const reference. |
/home/jbakosi/code/piac/src/document.hpp | ||||
17 | noConstructor | 398 | style | The class 'Document' does not have a constructor although it has private member variables. |