The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is low
Effort is max
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase() in org.opendaylight.yangtools.yang2sources.plugin.Util.listFiles(File, File[]) | I18N | DM_CONVERT_CASE | 100 | Low |
| Possible null pointer dereference in org.opendaylight.yangtools.yang2sources.plugin.Util.findYangFilesInDependencies(MavenProject) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 349 | Medium |
| Possible null pointer dereference in org.opendaylight.yangtools.yang2sources.plugin.Util.findYangFilesInDependenciesAsStream(MavenProject) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 284 | Medium |
| Exception is caught when Exception is not thrown in org.opendaylight.yangtools.yang2sources.plugin.Util.findYangFilesInDependencies(MavenProject) | STYLE | REC_CATCH_EXCEPTION | 370 | Medium |
| Exception is caught when Exception is not thrown in org.opendaylight.yangtools.yang2sources.plugin.Util.findYangFilesInDependenciesAsStream(MavenProject) | STYLE | REC_CATCH_EXCEPTION | 311 | Medium |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| YangToSourcesMojo.project not initialized in constructor and dereferenced in org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesMojo.execute() | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | 110 | Low |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Use of non-localized String.toUpperCase() or String.toLowerCase() in org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.processYang() | I18N | DM_CONVERT_CASE | 193 | Low |
| Exception is caught when Exception is not thrown in org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.processYang() | STYLE | REC_CATCH_EXCEPTION | 197 | Medium |
| Exception is caught when Exception is not thrown in org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.processYang() | STYLE | REC_CATCH_EXCEPTION | 197 | Low |
| Bug | Category | Details | Line | Priority |
|---|---|---|---|---|
| Exceptional return value of java.io.File.mkdirs() ignored in org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor$YangProvider.addYangsToMetaInf(MavenProject, File, File[], File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 248 | Medium |