The following document contains the results of SpotBugs
SpotBugs Version is 3.1.12
Threshold is medium
Effort is default
Class | Bugs |
---|---|
ejava.projects.edmv.xml.SampleGen | 3 |
gov.ojp.it.jxdm._3_0_3.proxy.xsd._1.Base64Binary | 3 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field ejava.projects.edmv.xml.SampleGen.personId from instance method ejava.projects.edmv.xml.SampleGen.createPerson(String, String, String, String) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 63 | Medium |
Write to static field ejava.projects.edmv.xml.SampleGen.residenceId from instance method ejava.projects.edmv.xml.SampleGen.createPerson(String, String, String, String) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 117 | Medium |
Write to static field ejava.projects.edmv.xml.SampleGen.vehicleId from instance method ejava.projects.edmv.xml.SampleGen.createVehicleRegistration(Person) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 155 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
gov.ojp.it.jxdm._3_0_3.proxy.xsd._1.Base64Binary.getValue() may expose internal representation by returning Base64Binary.value | MALICIOUS_CODE | EI_EXPOSE_REP | 81 | Medium |
new gov.ojp.it.jxdm._3_0_3.proxy.xsd._1.Base64Binary(byte[], String, String) may expose internal representation by storing an externally mutable object into Base64Binary.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 68 | Medium |
gov.ojp.it.jxdm._3_0_3.proxy.xsd._1.Base64Binary.setValue(byte[]) may expose internal representation by storing an externally mutable object into Base64Binary.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 92 | Medium |