The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
cn.home1.cloud.config.server.ConfigServer$ConfigServerConfiguration | 1 |
cn.home1.cloud.config.server.security.ConfigSecurity | 1 |
cn.home1.cloud.config.server.ssh.DeployKey | 2 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should cn.home1.cloud.config.server.ConfigServer$ConfigServerConfiguration be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 136-148 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to random in cn.home1.cloud.config.server.security.ConfigSecurity.verifyParentPassword(String, String, String, String) | STYLE | DLS_DEAD_LOCAL_STORE | 160 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in cn.home1.cloud.config.server.ssh.DeployKey.getPrivateKey(): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 52 | High |
Found reliance on default encoding in cn.home1.cloud.config.server.ssh.DeployKey.getPublicKey(): new java.io.FileReader(File) | I18N | DM_DEFAULT_ENCODING | 61 | High |