SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.5
Threshold is medium
Effort is default
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
4 | 2 | 0 | 0 |
Files
Class | Bugs |
---|---|
us.codecraft.webmagic.selector.JaxpSelectorUtils | 1 |
us.codecraft.webmagic.selector.Xpath2Selector | 1 |
us.codecraft.webmagic.selector.JaxpSelectorUtils
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The method name us.codecraft.webmagic.selector.JaxpSelectorUtils.NodeListToArrayList(NodeList) doesn't start with a lower case letter | BAD_PRACTICE | NM_METHOD_NAMING_CONVENTION | 27-31 | Medium |
us.codecraft.webmagic.selector.Xpath2Selector
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class us.codecraft.webmagic.selector.Xpath2Selector at new us.codecraft.webmagic.selector.Xpath2Selector(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 48 | Medium |