FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 1.0.0
Threshold is Low
Effort is Default
Files
org.apache.myfaces.trinidaddemo.composite.DateFieldAsRenderer
Bug | Category | Details | Line |
---|---|---|---|
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to class javax.faces.component.EditableValueHolder in org.apache.myfaces.trinidaddemo.composite.DateFieldAsRenderer.decode(javax.faces.context.FacesContext,javax.faces.component.UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 71 |
org.apache.myfaces.trinidaddemo.ProgressStepsBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ProgressStepsBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.ProgressBean$ProcessThread
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ProgressBean$ProcessThread is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.ProgressBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ProgressBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.email.AccountData
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.email.AccountData.getRootFolders() may expose internal representation by returning org.apache.myfaces.trinidaddemo.email.AccountData._rootFolders | MALICIOUS_CODE | EI_EXPOSE_REP | 121 |
org.apache.myfaces.trinidaddemo.email.AccountData.setRootFolders(FolderData[]) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.email.AccountData._rootFolders | MALICIOUS_CODE | EI_EXPOSE_REP2 | 202 |
org.apache.myfaces.trinidaddemo.email.AccountData is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
Dead store to smtp in method org.apache.myfaces.trinidaddemo.email.AccountData._initializeFromProperties() | STYLE | DLS_DEAD_LOCAL_STORE | 351 |
Method org.apache.myfaces.trinidaddemo.email.AccountData.login() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 257 |
org.apache.myfaces.trinidaddemo.email.FolderData
Bug | Category | Details | Line |
---|---|---|---|
Should org.apache.myfaces.trinidaddemo.email.FolderData.toFolderData(AccountData,javax.mail.Folder[]) return a zero length array rather than null? | STYLE | PZLA_PREFER_ZERO_LENGTH_ARRAYS | 211 |
org.apache.myfaces.trinidaddemo.email.ReplyToMessageBackingBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.email.ReplyToMessageBackingBean._setUpReplyToMessage(boolean) might ignore java.lang.Exception | CORRECTNESS | DE_MIGHT_IGNORE | 84 |
org.apache.myfaces.trinidaddemo.email.NewMessageBackingBean
Bug | Category | Details | Line |
---|---|---|---|
Method org.apache.myfaces.trinidaddemo.email.NewMessageBackingBean._getEmailList(String) invokes toString() method on a String; just use the String | PERFORMANCE | DM_STRING_TOSTRING | 373 |
Method org.apache.myfaces.trinidaddemo.email.NewMessageBackingBean._setupMessage(javax.mail.Message) uses Collection.toArray() with zero-length array argument | PERFORMANCE | ITA_INEFFICIENT_TO_ARRAY | 292 |
Method org.apache.myfaces.trinidaddemo.email.NewMessageBackingBean._setupMessage(javax.mail.Message) uses Collection.toArray() with zero-length array argument | PERFORMANCE | ITA_INEFFICIENT_TO_ARRAY | 296 |
Method org.apache.myfaces.trinidaddemo.email.NewMessageBackingBean.send() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 213 |
Method org.apache.myfaces.trinidaddemo.email.NewMessageBackingBean.saveAsDraft() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 261 |
Method org.apache.myfaces.trinidaddemo.email.NewMessageBackingBean._setupMessage(javax.mail.Message) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 342 |
org.apache.myfaces.trinidaddemo.email.MessageDataModel
Bug | Category | Details | Line |
---|---|---|---|
Method org.apache.myfaces.trinidaddemo.email.MessageData._tryInit() catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 341 |
Invocation of toString on an array in org.apache.myfaces.trinidaddemo.email.MessageDataModel.pageInRowIndex(int) | STYLE | DMI_INVOKING_TOSTRING_ON_ARRAY | 191 |
org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle.getContents() may expose internal representation by returning org.apache.myfaces.trinidaddemo.email.resource.EmailDemoBundle._CONTENTS | MALICIOUS_CODE | EI_EXPOSE_REP | 28 |
org.apache.myfaces.trinidaddemo.survey.AnswerValidatorTag
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.survey.AnswerValidatorTag is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.survey.TextQuestionBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.survey.TextQuestionBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.survey.SurveyBean
Bug | Category | Details | Line |
---|---|---|---|
Method org.apache.myfaces.trinidaddemo.survey.SurveyBean.setA1(String) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 470 |
org.apache.myfaces.trinidaddemo.survey.SurveyBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.survey.MultChoiceQuestionBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.survey.MultChoiceQuestionBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.survey.CheckboxQuestionBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.survey.CheckboxQuestionBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
Method org.apache.myfaces.trinidaddemo.survey.CheckboxQuestionBean.getCorrectAnswerMessage() concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 176 |
org.apache.myfaces.trinidaddemo.survey.SurveyPage
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.survey.SurveyPage is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.survey.AnswerValidator
Bug | Category | Details | Line |
---|---|---|---|
Method org.apache.myfaces.trinidaddemo.survey.AnswerValidator.validate(javax.faces.context.FacesContext,javax.faces.component.UIComponent,Object) invokes dubious String.toUpperCase() or String.toLowerCase; use the Locale parameterized version instead | I18N | DM_CONVERT_CASE | 42 |
org.apache.myfaces.trinidaddemo.ClientValidationBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ClientValidationBean.getDate() may expose internal representation by returning org.apache.myfaces.trinidaddemo.ClientValidationBean._date | MALICIOUS_CODE | EI_EXPOSE_REP | 199 |
org.apache.myfaces.trinidaddemo.ClientValidationBean.setDate(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.ClientValidationBean._date | MALICIOUS_CODE | EI_EXPOSE_REP2 | 204 |
org.apache.myfaces.trinidaddemo.ClientValidationBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.dialog.LaunchDialogBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.dialog.LaunchDialogBean.addParameter(org.apache.myfaces.trinidad.event.LaunchEvent) might ignore java.lang.Exception | CORRECTNESS | DE_MIGHT_IGNORE | 57 |
org.apache.myfaces.trinidaddemo.SelectItemTestBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.SelectItemTestBean.getItemArray() may expose internal representation by returning org.apache.myfaces.trinidaddemo.SelectItemTestBean._itemArray | MALICIOUS_CODE | EI_EXPOSE_REP | 64 |
org.apache.myfaces.trinidaddemo.DemoTreeData
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.DemoTreeData is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.TreeNodeImpl
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.TreeNodeImpl is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.AtomBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.AtomBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.change.ChangeBean
Bug | Category | Details | Line |
---|---|---|---|
Method org.apache.myfaces.trinidaddemo.change.ChangeBean._getRandIndex() uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient | PERFORMANCE | DM_NEXTINT_VIA_NEXTDOUBLE | 384 |
org.apache.myfaces.trinidaddemo.ListTestBean$Car
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ListTestBean$Car is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.ListTestBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ListTestBean.getIntArray() may expose internal representation by returning org.apache.myfaces.trinidaddemo.ListTestBean._intArray | MALICIOUS_CODE | EI_EXPOSE_REP | 56 |
org.apache.myfaces.trinidaddemo.ListTestBean.setIntArray(int[]) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.ListTestBean._intArray | MALICIOUS_CODE | EI_EXPOSE_REP2 | 61 |
org.apache.myfaces.trinidaddemo.ListTestBean.getStringArray() may expose internal representation by returning org.apache.myfaces.trinidaddemo.ListTestBean._stringArray | MALICIOUS_CODE | EI_EXPOSE_REP | 76 |
org.apache.myfaces.trinidaddemo.ListTestBean.setStringArray(String[]) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.ListTestBean._stringArray | MALICIOUS_CODE | EI_EXPOSE_REP2 | 81 |
org.apache.myfaces.trinidaddemo.ListTestBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
Method org.apache.myfaces.trinidaddemo.ListTestBean._toString(Object) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 177 |
org.apache.myfaces.trinidaddemo.webapp.SourceCodeServlet
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.webapp.SourceCodeServlet is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.ToggleBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ToggleBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.DataBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.DataBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.AnimalsBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.AnimalsBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.PartialDemoStatusBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.PartialDemoStatusBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.resource.SkinBundle
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.resource.SkinBundle.getContents() may expose internal representation by returning org.apache.myfaces.trinidaddemo.resource.SkinBundle._CONTENTS | MALICIOUS_CODE | EI_EXPOSE_REP | 32 |
org.apache.myfaces.trinidaddemo.resource.SkinBundle_fr
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.resource.SkinBundle_fr.getContents() may expose internal representation by returning org.apache.myfaces.trinidaddemo.resource.SkinBundle_fr._CONTENTS | MALICIOUS_CODE | EI_EXPOSE_REP | 28 |
org.apache.myfaces.trinidaddemo.tableDemos.EmployeeTableBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.tableDemos.EmployeeTableBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.tableDemos.EmployeeBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.tableDemos.EmployeeBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.ColorBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ColorBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.MessagesBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.MessagesBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.UIBean
Bug | Category | Details | Line |
---|---|---|---|
Possible null pointer dereference in org.apache.myfaces.trinidaddemo.UIBean.testFailover() on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 98 |
org.apache.myfaces.trinidaddemo.UIBeanState
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.UIBeanState is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.TreeModelAdapter
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.TreeModelAdapter is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.convertValidate.ValidatePasswordTag
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.convertValidate.ValidatePasswordTag is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.convertValidate.ConvertSSNTag
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.convertValidate.ConvertSSNTag is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.PollBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.PollBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
Write to static field org.apache.myfaces.trinidaddemo.PollBean._POLL_COUNT from instance method org.apache.myfaces.trinidaddemo.PollBean.<init>() | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 34 |
Write to static field org.apache.myfaces.trinidaddemo.PollBean._POLL_COUNT from instance method org.apache.myfaces.trinidaddemo.PollBean.resetPoll(javax.faces.event.ActionEvent) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 49 |
org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean.getTestInvalidDays() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean._testInvalidDays | MALICIOUS_CODE | EI_EXPOSE_REP | 46 |
org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean.setTestInvalidDays(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean._testInvalidDays | MALICIOUS_CODE | EI_EXPOSE_REP2 | 50 |
org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean.getTestInvalidDaysOfWeek() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean._testInvalidDaysOfWeek | MALICIOUS_CODE | EI_EXPOSE_REP | 54 |
org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean.setTestInvalidDaysOfWeek(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean._testInvalidDaysOfWeek | MALICIOUS_CODE | EI_EXPOSE_REP2 | 58 |
org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean.getTestInvalidMonth() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean._testInvalidMonth | MALICIOUS_CODE | EI_EXPOSE_REP | 62 |
org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean.setTestInvalidMonth(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.DateRestrictionValidatorBean._testInvalidMonth | MALICIOUS_CODE | EI_EXPOSE_REP2 | 66 |
org.apache.myfaces.trinidaddemo.ConverterValidatorBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ConverterValidatorBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.nav.MenuModelAdapter
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.nav.MenuModelAdapter is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
Check for oddness that won't work for negative numbers in org.apache.myfaces.trinidaddemo.nav.MenuModelAdapter.getModel() | STYLE | IM_BAD_CHECK_FOR_ODD | 58 |
org.apache.myfaces.trinidaddemo.nav.DemoNavigationItem
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.nav.DemoNavigationItem is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.DateBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.DateBean.getDate1() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateBean._date1 | MALICIOUS_CODE | EI_EXPOSE_REP | 64 |
org.apache.myfaces.trinidaddemo.DateBean.setDate1(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.DateBean._date1 | MALICIOUS_CODE | EI_EXPOSE_REP2 | 69 |
org.apache.myfaces.trinidaddemo.DateBean.getDate2() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateBean._date2 | MALICIOUS_CODE | EI_EXPOSE_REP | 74 |
org.apache.myfaces.trinidaddemo.DateBean.setDate2(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.DateBean._date2 | MALICIOUS_CODE | EI_EXPOSE_REP2 | 79 |
org.apache.myfaces.trinidaddemo.DateBean.getDate3() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateBean._date3 | MALICIOUS_CODE | EI_EXPOSE_REP | 84 |
org.apache.myfaces.trinidaddemo.DateBean.setDate3(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.DateBean._date3 | MALICIOUS_CODE | EI_EXPOSE_REP2 | 89 |
org.apache.myfaces.trinidaddemo.DateBean.getDate4() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateBean._date4 | MALICIOUS_CODE | EI_EXPOSE_REP | 94 |
org.apache.myfaces.trinidaddemo.DateBean.setDate4(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.DateBean._date4 | MALICIOUS_CODE | EI_EXPOSE_REP2 | 99 |
org.apache.myfaces.trinidaddemo.DateBean.getDate5() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateBean._date5 | MALICIOUS_CODE | EI_EXPOSE_REP | 104 |
org.apache.myfaces.trinidaddemo.DateBean.setDate5(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.DateBean._date5 | MALICIOUS_CODE | EI_EXPOSE_REP2 | 109 |
org.apache.myfaces.trinidaddemo.DateBean.setMinDate(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.DateBean._minDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 114 |
org.apache.myfaces.trinidaddemo.DateBean.getMinDate() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateBean._minDate | MALICIOUS_CODE | EI_EXPOSE_REP | 119 |
org.apache.myfaces.trinidaddemo.DateBean.setMaxDate(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.DateBean._maxDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 124 |
org.apache.myfaces.trinidaddemo.DateBean.getMaxDate() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateBean._maxDate | MALICIOUS_CODE | EI_EXPOSE_REP | 129 |
org.apache.myfaces.trinidaddemo.DateBean.getTodayFromMidnight() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateBean._todayFromMidnight | MALICIOUS_CODE | EI_EXPOSE_REP | 144 |
org.apache.myfaces.trinidaddemo.DateBean.getTonightNearMidnight() may expose internal representation by returning org.apache.myfaces.trinidaddemo.DateBean._tonightNearMidnight | MALICIOUS_CODE | EI_EXPOSE_REP | 154 |
org.apache.myfaces.trinidaddemo.DateBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.ChartBean$MyChartModel
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ChartBean$MyChartModel._loadLargerValues(java.util.ArrayList,String) may fail to close stream | CORRECTNESS | OS_OPEN_STREAM | 215 |
org.apache.myfaces.trinidaddemo.ChartBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ChartBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.table.DynamicModel
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.table.DynamicModel is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.table.TableBuilder
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.table.TableBuilder is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.InfiniteTree
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.InfiniteTree is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean.getDate1() may expose internal representation by returning org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean._date1 | MALICIOUS_CODE | EI_EXPOSE_REP | 49 |
org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean.setDate1(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean._date1 | MALICIOUS_CODE | EI_EXPOSE_REP2 | 54 |
org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean.getDate2() may expose internal representation by returning org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean._date2 | MALICIOUS_CODE | EI_EXPOSE_REP | 59 |
org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean.setDate2(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean._date2 | MALICIOUS_CODE | EI_EXPOSE_REP2 | 64 |
org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean.setMinDate(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean._minDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 69 |
org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean.getMinDate() may expose internal representation by returning org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean._minDate | MALICIOUS_CODE | EI_EXPOSE_REP | 74 |
org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean.setMaxDate(java.util.Date) may expose internal representation by storing an externally mutable object into org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean._maxDate | MALICIOUS_CODE | EI_EXPOSE_REP2 | 79 |
org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean.getMaxDate() may expose internal representation by returning org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean._maxDate | MALICIOUS_CODE | EI_EXPOSE_REP | 84 |
org.apache.myfaces.trinidaddemo.CustomMessageConvertValidateBean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.ComponentTree$Bean
Bug | Category | Details | Line |
---|---|---|---|
org.apache.myfaces.trinidaddemo.ComponentTree$Bean is Serializable; consider declaring a serialVersionUID | CORRECTNESS | SE_NO_SERIALVERSIONID | Not available |
org.apache.myfaces.trinidaddemo.ComponentTree
Bug | Category | Details | Line |
---|---|---|---|
Method org.apache.myfaces.trinidaddemo.ComponentTree._processFile(ComponentTree$Node,String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 132 |
Unchecked/unconfirmed cast from javax.faces.component.UIComponent to class org.apache.myfaces.trinidad.component.UIXTree in org.apache.myfaces.trinidaddemo.ComponentTree.setTree(javax.faces.component.UIComponent) | STYLE | BC_UNCONFIRMED_CAST | 92 |
org.apache.myfaces.trinidaddemo.email.PreferencesData.REGULAR_BRANDING isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 40 |
org.apache.myfaces.trinidaddemo.email.PreferencesData.MEDIUM_BRANDING isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 47 |
org.apache.myfaces.trinidaddemo.email.PreferencesData.SMALL_BRANDING isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | 54 |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.CarBackingBean._launchOptions | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.CarBackingBean._modelItems | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.CarBackingBean._options | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.CarBackingBean._price | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.ComponentEditorHandler._editedComponent | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.PartialDemoUtilBean._listUpdate | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.PartialDemoUtilBean._status | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.ReorderTest._panel | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.dialog.PeriodicDialogBean._table | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.email.MessagesBackingBean._folderData | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.email.MessagesBackingBean._messagesTable | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Field not initialized in constructor: org.apache.myfaces.trinidaddemo.email.NewMessageBackingBean._account | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
Unread field: org.apache.myfaces.trinidaddemo.survey.AnswerValidatorTag.ID; should this field be static? | PERFORMANCE | SS_SHOULD_BE_STATIC | Not available |
Inconsistent synchronization of org.apache.myfaces.trinidaddemo.email.MessageData._isRead; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 211 |
Inconsistent synchronization of org.apache.myfaces.trinidaddemo.email.MessageData._content; locked 50% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 180 |
Inconsistent synchronization of org.apache.myfaces.trinidaddemo.email.MessageData._lineCount; locked 66% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 202 |
Inconsistent synchronization of org.apache.myfaces.trinidaddemo.email.MessageData._contentType; locked 50% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 158 |