FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.1

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
608301

net.sf.webphotos.WebPhotos

BugCategoryDetailsLinePriority
Found reliance on default encoding in net.sf.webphotos.WebPhotos.main(String[]): new java.io.PrintWriter(OutputStream)I18NDM_DEFAULT_ENCODING62High
exceptional return value of java.io.File.delete() ignored in net.sf.webphotos.WebPhotos.main(String[])BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE49Medium

net.sf.webphotos.action.AcaoAdicionarFoto

BugCategoryDetailsLinePriority
Write to static field net.sf.webphotos.action.AcaoAdicionarFoto.diretorioInicial from instance method new net.sf.webphotos.action.AcaoAdicionarFoto(JTable, JComboBox, String)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD59Medium
Write to static field net.sf.webphotos.action.AcaoAdicionarFoto.diretorioInicial from instance method net.sf.webphotos.action.AcaoAdicionarFoto.actionPerformed(ActionEvent)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD117Medium

net.sf.webphotos.action.AcaoAlterarAlbum

BugCategoryDetailsLinePriority
Found reliance on default encoding in net.sf.webphotos.action.AcaoAlterarAlbum.prepareExtraFiles(Album, String): new java.io.FileWriter(String)I18NDM_DEFAULT_ENCODING248High
Found reliance on default encoding in net.sf.webphotos.action.AcaoAlterarAlbum.prepareExtraFiles(Album, String): new java.io.FileWriter(String)I18NDM_DEFAULT_ENCODING253High

net.sf.webphotos.action.AcaoExcluirAlbum

BugCategoryDetailsLinePriority
net.sf.webphotos.action.AcaoExcluirAlbum.actionPerformed(ActionEvent) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION79Medium

net.sf.webphotos.action.AcaoExcluirFoto

BugCategoryDetailsLinePriority
Found reliance on default encoding in net.sf.webphotos.action.AcaoExcluirFoto.actionPerformed(ActionEvent): new java.io.FileWriter(String)I18NDM_DEFAULT_ENCODING155High
net.sf.webphotos.action.AcaoExcluirFoto.actionPerformed(ActionEvent) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM155Medium
net.sf.webphotos.action.AcaoExcluirFoto.actionPerformed(ActionEvent) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION104Medium

net.sf.webphotos.gui.PainelWebFotos

BugCategoryDetailsLinePriority
Nullcheck of f at line 1215 of value previously dereferenced in net.sf.webphotos.gui.PainelWebFotos.carregaFoto()CORRECTNESSRCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE1206High
net.sf.webphotos.gui.PainelWebFotos.atualizaAlbum() concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION1146Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.controlarAlteracoes from instance method net.sf.webphotos.gui.PainelWebFotos.carregaAlbum()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD1169Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.btAdicionarFotos from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD171Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.btAlterar from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD172Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.btDownload from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD170Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.btFTP from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD168Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.btNovo from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD173Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.btUpload from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD169Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.buttonAddCategory from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD149Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.buttonAddCredits from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD163Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.lblAlbum from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD145Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.lblCategoria from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD147Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.lblData from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD150Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.lblDescricao from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD152Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.lblLegenda from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD159Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.lblTabelaInfo from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD142Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.lstCategoriasAlbum from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD148Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.lstCreditos from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD162Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.lstCreditosTabelaFotos from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD122Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuAlbum from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD129Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuFoto from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD123Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuItemAlbumDelete from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD137Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuItemAlbumDown from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD134Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuItemAlbumRedoJS from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD131Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuItemAlbumRedoThumbs from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD136Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuItemAlbumRedoXML from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD130Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuItemAlbumUp from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD133Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuItemFotoDelete from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD128Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuItemFotoDown from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD125Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuItemFotoRedoThumbs from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD127Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuItemFotoUp from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD124Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuSeparadorAlbum1 from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD132Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuSeparadorAlbum2 from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD135Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.menuSeparadorFoto from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD126Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.painelAlbuns from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD139Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.painelControle from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD164Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.painelDadosAlbum from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD143Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.painelFormFoto from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD157Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.painelFoto from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD158Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.painelInfoAlbum from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD144Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.painelPesquisa from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD138Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.painelToolBar from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD167Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.scrAlbuns from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD140Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.scrDescricao from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD153Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.scrFotos from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD155Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.scrLegenda from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD160Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.scrLog from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD165Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.tbAlbuns from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD141Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.tbFotos from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD156Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.txtData from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD151Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.txtDescricao from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD154Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.txtLegenda from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD161Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.txtLog from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD166Medium
Write to static field net.sf.webphotos.gui.PainelWebFotos.txtTitulo from instance method net.sf.webphotos.gui.PainelWebFotos.initComponents()STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD146Medium

net.sf.webphotos.gui.PainelWebFotos$15

BugCategoryDetailsLinePriority
Found reliance on default encoding in net.sf.webphotos.gui.PainelWebFotos$15.doInBackground(): new java.io.FileWriter(String)I18NDM_DEFAULT_ENCODING621High

net.sf.webphotos.gui.PainelWebFotos$16

BugCategoryDetailsLinePriority
Found reliance on default encoding in net.sf.webphotos.gui.PainelWebFotos$16.doInBackground(): new java.io.FileWriter(String)I18NDM_DEFAULT_ENCODING664High

net.sf.webphotos.gui.component.BotaoIcone

BugCategoryDetailsLinePriority
net.sf.webphotos.gui.component.BotaoIcone.botaoPersonalizado isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL49Medium
net.sf.webphotos.gui.component.BotaoIcone.getIconPrefix() is unsynchronized, net.sf.webphotos.gui.component.BotaoIcone.setIconPrefix(String) is synchronizedMT_CORRECTNESSUG_SYNC_SET_UNSYNC_GET91Medium

net.sf.webphotos.gui.component.BotaoIconeBeanInfo

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in net.sf.webphotos.gui.component.BotaoIconeBeanInfo.getMdescriptor()STYLEREC_CATCH_EXCEPTION803Medium

net.sf.webphotos.gui.component.PainelFoto

BugCategoryDetailsLinePriority
Dead store to fotoMaior in net.sf.webphotos.gui.component.PainelFoto.lblPainelFotoMouseClicked(MouseEvent)STYLEDLS_DEAD_LOCAL_STORE97High

net.sf.webphotos.gui.component.PainelFotoBeanInfo

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in net.sf.webphotos.gui.component.PainelFotoBeanInfo.getMdescriptor()STYLEREC_CATCH_EXCEPTION732Medium

net.sf.webphotos.gui.component.PainelPesquisa

BugCategoryDetailsLinePriority
net.sf.webphotos.gui.component.PainelPesquisa.getAcaoPesquisa() is unsynchronized, net.sf.webphotos.gui.component.PainelPesquisa.setAcaoPesquisa(AcaoPesquisa) is synchronizedMT_CORRECTNESSUG_SYNC_SET_UNSYNC_GET165Medium

net.sf.webphotos.gui.component.PainelPesquisaBeanInfo

BugCategoryDetailsLinePriority
Exception is caught when Exception is not thrown in net.sf.webphotos.gui.component.PainelPesquisaBeanInfo.getMdescriptor()STYLEREC_CATCH_EXCEPTION717Medium

net.sf.webphotos.tools.TelaResolucao

BugCategoryDetailsLinePriority
Empty database password in net.sf.webphotos.tools.TelaResolucao.iniciar()SECURITYDMI_EMPTY_DB_PASSWORD89Medium
net.sf.webphotos.tools.TelaResolucao.iniciar() may fail to close ConnectionBAD_PRACTICEODR_OPEN_DATABASE_RESOURCE89Medium
net.sf.webphotos.tools.TelaResolucao.iniciar() may fail to close StatementBAD_PRACTICEODR_OPEN_DATABASE_RESOURCE97Medium
Exception is caught when Exception is not thrown in net.sf.webphotos.tools.TelaResolucao.iniciar()STYLEREC_CATCH_EXCEPTION140Medium

net.sf.webphotos.tools.Thumbnail

BugCategoryDetailsLinePriority
net.sf.webphotos.tools.Thumbnail.executaLote() may fail to clean up java.sql.ResultSet on checked exceptionEXPERIMENTALOBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE400Medium
net.sf.webphotos.tools.Thumbnail.executaLote() may fail to clean up java.sql.Statement on checked exceptionEXPERIMENTALOBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE399Medium
Exception is caught when Exception is not thrown in net.sf.webphotos.tools.Thumbnail.estampar(Image)STYLEREC_CATCH_EXCEPTION225Medium
exceptional return value of java.io.File.delete() ignored in net.sf.webphotos.tools.Thumbnail.save(Image, String)BAD_PRACTICERV_RETURN_VALUE_IGNORED_BAD_PRACTICE254Medium

net.sf.webphotos.tools.XMLExport

BugCategoryDetailsLinePriority
Empty database password in net.sf.webphotos.tools.XMLExport.main(String[])SECURITYDMI_EMPTY_DB_PASSWORD42Medium