FindBugs Bug Detector Report
The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is max
Files
org.apache.accumulo.core.bloomfilter.BloomFilter
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.bloomfilter.BloomFilter.readFields(DataInput) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 216 | Medium |
org.apache.accumulo.core.cli.BatchScannerOpts
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.apache.accumulo.core.cli.BatchScannerOpts.scanThreads | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 24 | Medium |
Unread public/protected field: org.apache.accumulo.core.cli.BatchScannerOpts.scanTimeout | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 27 | Medium |
org.apache.accumulo.core.cli.BatchWriterOpts
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread public/protected field: org.apache.accumulo.core.cli.BatchWriterOpts.batchThreads | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 30 | Medium |
org.apache.accumulo.core.cli.ClientOpts$Password
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.cli.ClientOpts$Password.toString(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 85 | High |
org.apache.accumulo.core.cli.Help
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.cli.Help.parseArgs(String, String[], Object[]) invokes System.exit(...), which shuts down the entire virtual machine | BAD_PRACTICE | DM_EXIT | 38 | Medium |
org.apache.accumulo.core.client.BatchWriterConfig
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to timeout rather than field with same name in org.apache.accumulo.core.client.BatchWriterConfig.setTimeout(long, TimeUnit) | STYLE | DLS_DEAD_LOCAL_STORE_SHADOWS_FIELD | 124 | High |
org.apache.accumulo.core.client.ZooKeeperInstance
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.client.ZooKeeperInstance.getInstanceID(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 154 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.ZooKeeperInstance.getMasterLocations(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 172 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.ZooKeeperInstance.getMasterLocations(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 178 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.ZooKeeperInstance.getRootTabletLocation(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 187 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.ZooKeeperInstance.getRootTabletLocation(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 193 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.ZooKeeperInstance.lookupInstanceName(ZooCache, UUID): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 273 | High |
org.apache.accumulo.core.client.admin.InstanceOperationsImpl
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.client.admin.InstanceOperationsImpl.getTabletServers(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 135 | High |
org.apache.accumulo.core.client.admin.TableOperationsImpl
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.cancelCompaction(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 741 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.clone(String, String, boolean, Map, Set): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 642 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.compact(String, Text, Text, List, boolean, boolean): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 725 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.create(String, boolean, TimeType): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 197 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.delete(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 610 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.deleteRows(String, Text, Text): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 512 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.exportTable(String, String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 1222 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.getExportedProps(FileSystem, Path): new java.io.InputStreamReader(InputStream) | I18N | DM_DEFAULT_ENCODING | 1169 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.importDirectory(String, String, String, boolean): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 1065 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.importTable(String, String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 1205 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.merge(String, Text, Text): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 496 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.offline(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 1093 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.online(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 1117 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.admin.TableOperationsImpl.rename(String, String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 671 | High |
org.apache.accumulo.core.client.admin.TableOperationsImpl.splitRangeByTablets(String, Range, int) uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient | PERFORMANCE | DM_NEXTINT_VIA_NEXTDOUBLE | 1009 | Medium |
org.apache.accumulo.core.client.admin.TableOperationsImpl.getExportedProps(FileSystem, Path) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 1169 | Medium |
org.apache.accumulo.core.client.admin.TableOperationsImpl.importTable(String, String) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 1195 | Medium |
org.apache.accumulo.core.client.impl.MetadataLocationObtainer
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to more in org.apache.accumulo.core.client.impl.MetadataLocationObtainer.lookupTablet(TabletLocator$TabletLocation, Text, Text, TabletLocator) | STYLE | DLS_DEAD_LOCAL_STORE | 94 | Medium |
org.apache.accumulo.core.client.impl.MultiTableBatchWriterImpl
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Load of known null value in org.apache.accumulo.core.client.impl.MultiTableBatchWriterImpl.getBatchWriter(String) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 113 | Medium |
org.apache.accumulo.core.client.impl.ServerClient
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.client.impl.ServerClient.getConnection(Instance, boolean, long): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 143 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.impl.ServerClient.getConnection(Instance, boolean, long): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 144 | High |
org.apache.accumulo.core.client.impl.Tables
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.client.impl.Tables.getMap(Instance, boolean): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 54 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.impl.Tables.getMap(Instance, boolean): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 56 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.impl.Tables.getTableState(Instance, String): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 112 | High |
Load of known null value in org.apache.accumulo.core.client.impl.Tables.getTableId(Instance, String) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 66 | Medium |
Load of known null value in org.apache.accumulo.core.client.impl.Tables.getTableName(Instance, String) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 73 | Medium |
org.apache.accumulo.core.client.impl.TabletLocator$TabletLocation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.client.impl.TabletLocator$TabletLocation.dedupeLocation(String) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 161 | Medium |
org.apache.accumulo.core.client.impl.TabletLocatorImpl
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.client.impl.TabletLocatorImpl._locateTablet(Text, boolean, boolean, boolean) does not release lock on all paths | MT_CORRECTNESS | UL_UNRELEASED_LOCK | 532 | High |
org.apache.accumulo.core.client.impl.TabletLocatorImpl.processInvalidated() does not release lock on all paths | MT_CORRECTNESS | UL_UNRELEASED_LOCK | 567 | High |
org.apache.accumulo.core.client.impl.TabletLocatorImpl.processInvalidated() does not release lock on all exception paths | MT_CORRECTNESS | UL_UNRELEASED_LOCK_EXCEPTION_PATH | 598 | Medium |
org.apache.accumulo.core.client.impl.TabletLocatorImpl$EndRowComparator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.client.impl.TabletLocatorImpl$EndRowComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 59-75 | Medium |
org.apache.accumulo.core.client.impl.TabletServerBatchWriter
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Wait not in loop in org.apache.accumulo.core.client.impl.TabletServerBatchWriter.waitRTE() | MT_CORRECTNESS | WA_NOT_IN_LOOP | 446 | Medium |
org.apache.accumulo.core.client.impl.Writer
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.client.impl.Writer.update(Mutation): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 90 | High |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$authenticateUser
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$authenticateUser doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1765-1786 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$bulkImportFiles
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$bulkImportFiles doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1694-1716 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$changeAuthorizations
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$changeAuthorizations doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1886-1906 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$changePassword
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$changePassword doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1862-1882 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$checkClass
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$checkClass doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2130-2147 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$createUser
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$createUser doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1814-1834 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$dropUser
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$dropUser doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1838-1858 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getConfiguration
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getConfiguration doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2086-2102 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getInstanceId
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getInstanceId doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1654-1670 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getRootTabletLocation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getRootTabletLocation doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1634-1650 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getTableConfiguration
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getTableConfiguration doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2106-2126 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getUserAuthorizations
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getUserAuthorizations doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1910-1930 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getZooKeepers
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$getZooKeepers doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1674-1690 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$grantSystemPermission
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$grantSystemPermission doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1986-2006 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$grantTablePermission
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$grantTablePermission doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2034-2056 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$hasSystemPermission
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$hasSystemPermission doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1934-1955 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$hasTablePermission
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$hasTablePermission doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1959-1982 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$isActive
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$isActive doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1720-1737 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$listUsers
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$listUsers doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1790-1810 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$ping
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$ping doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1741-1761 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$revokeSystemPermission
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$revokeSystemPermission doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2010-2030 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$revokeTablePermission
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ClientService$Processor$revokeTablePermission doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2060-2082 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$authenticateUser_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$authenticateUser_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 7097-7526 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$authenticateUser_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$authenticateUser_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 7666-8009 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$bulkImportFiles_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$bulkImportFiles_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 3953-4703 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$bulkImportFiles_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$bulkImportFiles_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 4961-5401 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$changeAuthorizations_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$changeAuthorizations_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 12018-12543 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$changeAuthorizations_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$changeAuthorizations_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 12736-13002 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$changePassword_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$changePassword_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 11093-11522 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$changePassword_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$changePassword_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 11662-11928 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$checkClass_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$checkClass_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 22740-23163 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$checkClass_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$checkClass_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 23299-23565 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$createUser_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$createUser_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 9094-9622 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$createUser_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$createUser_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 9817-10083 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$dropUser_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$dropUser_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 10173-10599 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$dropUser_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$dropUser_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 10737-11003 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getConfiguration_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getConfiguration_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 21080-21362 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getConfiguration_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getConfiguration_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 21450-21741 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getInstanceId_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getInstanceId_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 2753-2937 | Medium |
Dead store to typedOther in org.apache.accumulo.core.client.impl.thrift.ClientService$getInstanceId_args.compareTo(ClientService$getInstanceId_args) | STYLE | DLS_DEAD_LOCAL_STORE | 2892 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getInstanceId_args$getInstanceId_argsTupleScheme
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to iprot in org.apache.accumulo.core.client.impl.thrift.ClientService$getInstanceId_args$getInstanceId_argsTupleScheme.read(TProtocol, ClientService$getInstanceId_args) | STYLE | DLS_DEAD_LOCAL_STORE | 2993 | Medium |
Dead store to oprot in org.apache.accumulo.core.client.impl.thrift.ClientService$getInstanceId_args$getInstanceId_argsTupleScheme.write(TProtocol, ClientService$getInstanceId_args) | STYLE | DLS_DEAD_LOCAL_STORE | 2988 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getInstanceId_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getInstanceId_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 2999-3265 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getRootTabletLocation_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getRootTabletLocation_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 2153-2337 | Medium |
Dead store to typedOther in org.apache.accumulo.core.client.impl.thrift.ClientService$getRootTabletLocation_args.compareTo(ClientService$getRootTabletLocation_args) | STYLE | DLS_DEAD_LOCAL_STORE | 2292 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getRootTabletLocation_args$getRootTabletLocation_argsTupleScheme
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to iprot in org.apache.accumulo.core.client.impl.thrift.ClientService$getRootTabletLocation_args$getRootTabletLocation_argsTupleScheme.read(TProtocol, ClientService$getRootTabletLocation_args) | STYLE | DLS_DEAD_LOCAL_STORE | 2393 | Medium |
Dead store to oprot in org.apache.accumulo.core.client.impl.thrift.ClientService$getRootTabletLocation_args$getRootTabletLocation_argsTupleScheme.write(TProtocol, ClientService$getRootTabletLocation_args) | STYLE | DLS_DEAD_LOCAL_STORE | 2388 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getRootTabletLocation_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getRootTabletLocation_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 2399-2665 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getTableConfiguration_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getTableConfiguration_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 21867-22133 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getTableConfiguration_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getTableConfiguration_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 22221-22589 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getUserAuthorizations_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getUserAuthorizations_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 13092-13518 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getUserAuthorizations_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getUserAuthorizations_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 13656-14021 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getZooKeepers_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getZooKeepers_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 3353-3537 | Medium |
Dead store to typedOther in org.apache.accumulo.core.client.impl.thrift.ClientService$getZooKeepers_args.compareTo(ClientService$getZooKeepers_args) | STYLE | DLS_DEAD_LOCAL_STORE | 3492 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getZooKeepers_args$getZooKeepers_argsTupleScheme
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to iprot in org.apache.accumulo.core.client.impl.thrift.ClientService$getZooKeepers_args$getZooKeepers_argsTupleScheme.read(TProtocol, ClientService$getZooKeepers_args) | STYLE | DLS_DEAD_LOCAL_STORE | 3593 | Medium |
Dead store to oprot in org.apache.accumulo.core.client.impl.thrift.ClientService$getZooKeepers_args$getZooKeepers_argsTupleScheme.write(TProtocol, ClientService$getZooKeepers_args) | STYLE | DLS_DEAD_LOCAL_STORE | 3588 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$getZooKeepers_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$getZooKeepers_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 3599-3865 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$grantSystemPermission_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$grantSystemPermission_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 16604-17107 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$grantSystemPermission_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$grantSystemPermission_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 17266-17532 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$grantTablePermission_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$grantTablePermission_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 18640-19220 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$grantTablePermission_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$grantTablePermission_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 19402-19745 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$hasSystemPermission_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$hasSystemPermission_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 14166-14669 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$hasSystemPermission_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$hasSystemPermission_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 14828-15171 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$hasTablePermission_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$hasTablePermission_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 15284-15864 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$hasTablePermission_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$hasTablePermission_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 16046-16466 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$isActive_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$isActive_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 5571-5917 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$isActive_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$isActive_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 6028-6294 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$listUsers_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$listUsers_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 8122-8471 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$listUsers_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$listUsers_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 8586-8949 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$ping_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$ping_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 6382-6651 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$ping_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$ping_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 6741-7007 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$revokeSystemPermission_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$revokeSystemPermission_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 17622-18125 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$revokeSystemPermission_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$revokeSystemPermission_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 18284-18550 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$revokeTablePermission_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$revokeTablePermission_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 19860-20440 | Medium |
org.apache.accumulo.core.client.impl.thrift.ClientService$revokeTablePermission_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ClientService$revokeTablePermission_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 20622-20965 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ThriftTableOperationException implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-655 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$Processor$fails
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ThriftTest$Processor$fails doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 305-322 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$Processor$success
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ThriftTest$Processor$success doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 284-301 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$Processor$throwsError
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.impl.thrift.ThriftTest$Processor$throwsError doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 326-347 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$fails_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ThriftTest$fails_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 953-1137 | Medium |
Dead store to typedOther in org.apache.accumulo.core.client.impl.thrift.ThriftTest$fails_args.compareTo(ThriftTest$fails_args) | STYLE | DLS_DEAD_LOCAL_STORE | 1092 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$fails_args$fails_argsTupleScheme
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to iprot in org.apache.accumulo.core.client.impl.thrift.ThriftTest$fails_args$fails_argsTupleScheme.read(TProtocol, ThriftTest$fails_args) | STYLE | DLS_DEAD_LOCAL_STORE | 1193 | Medium |
Dead store to oprot in org.apache.accumulo.core.client.impl.thrift.ThriftTest$fails_args$fails_argsTupleScheme.write(TProtocol, ThriftTest$fails_args) | STYLE | DLS_DEAD_LOCAL_STORE | 1188 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$fails_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ThriftTest$fails_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1199-1465 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$success_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ThriftTest$success_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 353-537 | Medium |
Dead store to typedOther in org.apache.accumulo.core.client.impl.thrift.ThriftTest$success_args.compareTo(ThriftTest$success_args) | STYLE | DLS_DEAD_LOCAL_STORE | 492 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$success_args$success_argsTupleScheme
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to iprot in org.apache.accumulo.core.client.impl.thrift.ThriftTest$success_args$success_argsTupleScheme.read(TProtocol, ThriftTest$success_args) | STYLE | DLS_DEAD_LOCAL_STORE | 593 | Medium |
Dead store to oprot in org.apache.accumulo.core.client.impl.thrift.ThriftTest$success_args$success_argsTupleScheme.write(TProtocol, ThriftTest$success_args) | STYLE | DLS_DEAD_LOCAL_STORE | 588 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$success_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ThriftTest$success_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 599-865 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$throwsError_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ThriftTest$throwsError_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1553-1737 | Medium |
Dead store to typedOther in org.apache.accumulo.core.client.impl.thrift.ThriftTest$throwsError_args.compareTo(ThriftTest$throwsError_args) | STYLE | DLS_DEAD_LOCAL_STORE | 1692 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$throwsError_args$throwsError_argsTupleScheme
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to iprot in org.apache.accumulo.core.client.impl.thrift.ThriftTest$throwsError_args$throwsError_argsTupleScheme.read(TProtocol, ThriftTest$throwsError_args) | STYLE | DLS_DEAD_LOCAL_STORE | 1793 | Medium |
Dead store to oprot in org.apache.accumulo.core.client.impl.thrift.ThriftTest$throwsError_args$throwsError_argsTupleScheme.write(TProtocol, ThriftTest$throwsError_args) | STYLE | DLS_DEAD_LOCAL_STORE | 1788 | Medium |
org.apache.accumulo.core.client.impl.thrift.ThriftTest$throwsError_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.client.impl.thrift.ThriftTest$throwsError_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1799-2142 | Medium |
org.apache.accumulo.core.client.mapred.InputFormatBase
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.client.mapred.InputFormatBase.getSplits(JobConf, int) uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient | PERFORMANCE | DM_NEXTINT_VIA_NEXTDOUBLE | 777 | Medium |
org.apache.accumulo.core.client.mapred.InputFormatBase$RangeInputSplit
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.client.mapred.InputFormatBase$RangeInputSplit shadows the simple name of the superclass org.apache.accumulo.core.client.mapreduce.InputFormatBase$RangeInputSplit | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 852-861 | High |
org.apache.accumulo.core.client.mapreduce.InputFormatBase
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.client.mapreduce.InputFormatBase.getSplits(JobContext) uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient | PERFORMANCE | DM_NEXTINT_VIA_NEXTDOUBLE | 800 | Medium |
org.apache.accumulo.core.client.mapreduce.InputFormatBase.getIteratorOptions(Configuration) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 1258 | Medium |
org.apache.accumulo.core.client.mapreduce.InputFormatBase.getIterators(Configuration) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 1240 | Medium |
org.apache.accumulo.core.client.mapreduce.InputFormatBase$AccumuloIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.client.mapreduce.InputFormatBase$AccumuloIterator.toString() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 1310 | Medium |
org.apache.accumulo.core.client.mapreduce.InputFormatBase$AccumuloIteratorOption
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.client.mapreduce.InputFormatBase$AccumuloIteratorOption.toString() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 1359 | Medium |
org.apache.accumulo.core.client.mapreduce.InputFormatBase$RangeInputSplit
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.client.mapreduce.InputFormatBase$RangeInputSplit.getLocations() may expose internal representation by returning InputFormatBase$RangeInputSplit.locations | MALICIOUS_CODE | EI_EXPOSE_REP | 963 | Medium |
org.apache.accumulo.core.client.mapreduce.InputFormatBase$RangeInputSplit.setLocations(String[]) may expose internal representation by storing an externally mutable object into InputFormatBase$RangeInputSplit.locations | MALICIOUS_CODE | EI_EXPOSE_REP2 | 967 | Medium |
org.apache.accumulo.core.client.mapreduce.lib.partition.RangePartitioner
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.client.mapreduce.lib.partition.RangePartitioner.getCutPoints(): new java.io.FileReader(String) | I18N | DM_DEFAULT_ENCODING | 90 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.mapreduce.lib.partition.RangePartitioner.getCutPoints(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 93 | High |
org.apache.accumulo.core.client.mapreduce.lib.util.InputConfigurator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.client.mapreduce.lib.util.InputConfigurator.getFetchedColumns(Class, Configuration): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 240 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.mapreduce.lib.util.InputConfigurator.getIterators(Class, Configuration): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 304 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.mapreduce.lib.util.InputConfigurator.getScanAuthorizations(Class, Configuration): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 143 | High |
org.apache.accumulo.core.client.mock.MockShell
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.client.mock.MockShell.makeCommands(String[]): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 135 | High |
Found reliance on default encoding in org.apache.accumulo.core.client.mock.MockShell.start(): new java.util.Scanner(File) | I18N | DM_DEFAULT_ENCODING | 80 | High |
org.apache.accumulo.core.client.mock.MockTableOperations
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.apache.accumulo.core.client.TableNotFoundException(String, String, String) not thrown in org.apache.accumulo.core.client.mock.MockTableOperations.online(String) | CORRECTNESS | RV_EXCEPTION_NOT_THROWN | 274 | High |
org.apache.accumulo.core.conf.AccumuloConfiguration
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.apache.accumulo.core.conf.AccumuloConfiguration.getMemoryInBytes(String) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 76-78 | Medium |
Switch statement found in org.apache.accumulo.core.conf.AccumuloConfiguration.getTimeInMillis(String) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 98-100 | Medium |
org.apache.accumulo.core.conf.DefaultConfiguration
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.conf.DefaultConfiguration.generateDocumentation(PrintStream): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 64 | High |
org.apache.accumulo.core.conf.PropertyType
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Possible null pointer dereference of PropertyType.regex in org.apache.accumulo.core.conf.PropertyType.isValidFormat(String) | CORRECTNESS | NP_NULL_ON_SOME_PATH | 87 | Medium |
org.apache.accumulo.core.conf.SiteConfiguration
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.apache.accumulo.core.conf.SiteConfiguration.parent from instance method new org.apache.accumulo.core.conf.SiteConfiguration(AccumuloConfiguration) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 35 | Medium |
org.apache.accumulo.core.data.ArrayByteSequence
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.apache.accumulo.core.data.ArrayByteSequence(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 48 | High |
Found reliance on default encoding in org.apache.accumulo.core.data.ArrayByteSequence.toString(): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 106 | High |
org.apache.accumulo.core.data.ArrayByteSequence.getBackingArray() may expose internal representation by returning ArrayByteSequence.data | MALICIOUS_CODE | EI_EXPOSE_REP | 67 | Medium |
org.apache.accumulo.core.data.ArrayByteSequence.toArray() may expose internal representation by returning ArrayByteSequence.data | MALICIOUS_CODE | EI_EXPOSE_REP | 98 | Medium |
new org.apache.accumulo.core.data.ArrayByteSequence(byte[]) may expose internal representation by storing an externally mutable object into ArrayByteSequence.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 30 | Medium |
new org.apache.accumulo.core.data.ArrayByteSequence(byte[], int, int) may expose internal representation by storing an externally mutable object into ArrayByteSequence.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 41 | Medium |
org.apache.accumulo.core.data.Column
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.data.Column.toString(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 161 | High |
org.apache.accumulo.core.data.Column.getColumnFamily() may expose internal representation by returning Column.columnFamily | MALICIOUS_CODE | EI_EXPOSE_REP | 149 | Medium |
org.apache.accumulo.core.data.Column.getColumnQualifier() may expose internal representation by returning Column.columnQualifier | MALICIOUS_CODE | EI_EXPOSE_REP | 153 | Medium |
org.apache.accumulo.core.data.Column.getColumnVisibility() may expose internal representation by returning Column.columnVisibility | MALICIOUS_CODE | EI_EXPOSE_REP | 157 | Medium |
new org.apache.accumulo.core.data.Column(byte[], byte[], byte[]) may expose internal representation by storing an externally mutable object into Column.columnFamily | MALICIOUS_CODE | EI_EXPOSE_REP2 | 114 | Medium |
new org.apache.accumulo.core.data.Column(byte[], byte[], byte[]) may expose internal representation by storing an externally mutable object into Column.columnQualifier | MALICIOUS_CODE | EI_EXPOSE_REP2 | 115 | Medium |
new org.apache.accumulo.core.data.Column(byte[], byte[], byte[]) may expose internal representation by storing an externally mutable object into Column.columnVisibility | MALICIOUS_CODE | EI_EXPOSE_REP2 | 116 | Medium |
org.apache.accumulo.core.data.ColumnUpdate
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.data.ColumnUpdate.hashCode() invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 106 | Medium |
org.apache.accumulo.core.data.ColumnUpdate.toString() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 90 | Medium |
org.apache.accumulo.core.data.ColumnUpdate.getColumnFamily() may expose internal representation by returning ColumnUpdate.columnFamily | MALICIOUS_CODE | EI_EXPOSE_REP | 65 | Medium |
org.apache.accumulo.core.data.ColumnUpdate.getColumnQualifier() may expose internal representation by returning ColumnUpdate.columnQualifier | MALICIOUS_CODE | EI_EXPOSE_REP | 69 | Medium |
org.apache.accumulo.core.data.ColumnUpdate.getColumnVisibility() may expose internal representation by returning ColumnUpdate.columnVisibility | MALICIOUS_CODE | EI_EXPOSE_REP | 73 | Medium |
org.apache.accumulo.core.data.ColumnUpdate.getValue() may expose internal representation by returning ColumnUpdate.val | MALICIOUS_CODE | EI_EXPOSE_REP | 85 | Medium |
new org.apache.accumulo.core.data.ColumnUpdate(byte[], byte[], byte[], boolean, long, boolean, byte[]) may expose internal representation by storing an externally mutable object into ColumnUpdate.columnFamily | MALICIOUS_CODE | EI_EXPOSE_REP2 | 37 | Medium |
new org.apache.accumulo.core.data.ColumnUpdate(byte[], byte[], byte[], boolean, long, boolean, byte[]) may expose internal representation by storing an externally mutable object into ColumnUpdate.columnQualifier | MALICIOUS_CODE | EI_EXPOSE_REP2 | 38 | Medium |
new org.apache.accumulo.core.data.ColumnUpdate(byte[], byte[], byte[], boolean, long, boolean, byte[]) may expose internal representation by storing an externally mutable object into ColumnUpdate.columnVisibility | MALICIOUS_CODE | EI_EXPOSE_REP2 | 39 | Medium |
new org.apache.accumulo.core.data.ColumnUpdate(byte[], byte[], byte[], boolean, long, boolean, byte[]) may expose internal representation by storing an externally mutable object into ColumnUpdate.val | MALICIOUS_CODE | EI_EXPOSE_REP2 | 43 | Medium |
org.apache.accumulo.core.data.ComparableBytes
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.data.ComparableBytes.getBytes() may expose internal representation by returning ComparableBytes.data | MALICIOUS_CODE | EI_EXPOSE_REP | 30 | Medium |
new org.apache.accumulo.core.data.ComparableBytes(byte[]) may expose internal representation by storing an externally mutable object into ComparableBytes.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 26 | Medium |
org.apache.accumulo.core.data.KeyValue
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.data.KeyValue.toString(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 55 | High |
new org.apache.accumulo.core.data.KeyValue(Key, byte[]) may expose internal representation by storing an externally mutable object into KeyValue.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 31 | Medium |
org.apache.accumulo.core.data.Mutation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.data.Mutation.getRow() may expose internal representation by returning Mutation.row | MALICIOUS_CODE | EI_EXPOSE_REP | 231 | Medium |
org.apache.accumulo.core.data.Value
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.data.Value.get() may expose internal representation by returning Value.value | MALICIOUS_CODE | EI_EXPOSE_REP | 116 | Medium |
new org.apache.accumulo.core.data.Value(byte[], boolean) may expose internal representation by storing an externally mutable object into Value.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 74 | Medium |
org.apache.accumulo.core.data.Value.set(byte[]) may expose internal representation by storing an externally mutable object into Value.value | MALICIOUS_CODE | EI_EXPOSE_REP2 | 124 | Medium |
org.apache.accumulo.core.data.Value.equals(Object) checks for operand being a byte[] | BAD_PRACTICE | EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS | 190 | High |
org.apache.accumulo.core.data.thrift.InitialMultiScan
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.InitialMultiScan implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-395 | Medium |
org.apache.accumulo.core.data.thrift.InitialScan
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.InitialScan implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-395 | Medium |
org.apache.accumulo.core.data.thrift.IterInfo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.IterInfo implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-469 | Medium |
org.apache.accumulo.core.data.thrift.MapFileInfo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.MapFileInfo implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-315 | Medium |
org.apache.accumulo.core.data.thrift.MultiScanResult
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.MultiScanResult implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-830 | Medium |
org.apache.accumulo.core.data.thrift.ScanResult
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.ScanResult implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-412 | Medium |
org.apache.accumulo.core.data.thrift.TColumn
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.TColumn implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-502 | Medium |
org.apache.accumulo.core.data.thrift.TConstraintViolationSummary
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.TConstraintViolationSummary implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-542 | Medium |
org.apache.accumulo.core.data.thrift.TKey
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.TKey implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-667 | Medium |
org.apache.accumulo.core.data.thrift.TKeyExtent
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.TKeyExtent implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-502 | Medium |
org.apache.accumulo.core.data.thrift.TKeyValue
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.TKeyValue implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-406 | Medium |
org.apache.accumulo.core.data.thrift.TMutation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.TMutation implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-590 | Medium |
org.apache.accumulo.core.data.thrift.TRange
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.TRange implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-694 | Medium |
org.apache.accumulo.core.data.thrift.UpdateErrors
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.data.thrift.UpdateErrors implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-539 | Medium |
org.apache.accumulo.core.file.BloomFilterLayer
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.file.BloomFilterLayer.main(String[]): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 437 | High |
Found reliance on default encoding in org.apache.accumulo.core.file.BloomFilterLayer.main(String[]): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 438 | High |
org.apache.accumulo.core.file.FileUtil
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.file.FileUtil.createTmpDir(AccumuloConfiguration, FileSystem) uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient | PERFORMANCE | DM_NEXTINT_VIA_NEXTDOUBLE | 80 | Medium |
org.apache.accumulo.core.file.blockfile.cache.CachedBlock
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.file.blockfile.cache.CachedBlock.getBuffer() may expose internal representation by returning CachedBlock.buf | MALICIOUS_CODE | EI_EXPOSE_REP | 95 | Medium |
new org.apache.accumulo.core.file.blockfile.cache.CachedBlock(String, byte[], long, boolean) may expose internal representation by storing an externally mutable object into CachedBlock.buf | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium |
org.apache.accumulo.core.file.blockfile.cache.CachedBlock defines compareTo(CachedBlock) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 88-90 | Medium |
org.apache.accumulo.core.file.blockfile.cache.ClassSize
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.file.blockfile.cache.ClassSize.ARRAY isn't final but should be refactored to be so | MALICIOUS_CODE | MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | 41 | High |
org.apache.accumulo.core.file.blockfile.cache.ClassSize.BYTE_BUFFER isn't final but should be refactored to be so | MALICIOUS_CODE | MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | 47 | High |
org.apache.accumulo.core.file.blockfile.cache.ClassSize.CONCURRENT_HASHMAP isn't final but should be refactored to be so | MALICIOUS_CODE | MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | 68 | High |
org.apache.accumulo.core.file.blockfile.cache.ClassSize.CONCURRENT_HASHMAP_ENTRY isn't final but should be refactored to be so | MALICIOUS_CODE | MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | 71 | High |
org.apache.accumulo.core.file.blockfile.cache.ClassSize.CONCURRENT_HASHMAP_SEGMENT isn't final but should be refactored to be so | MALICIOUS_CODE | MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | 74 | High |
org.apache.accumulo.core.file.blockfile.cache.ClassSize.OBJECT isn't final but should be refactored to be so | MALICIOUS_CODE | MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | 56 | High |
org.apache.accumulo.core.file.blockfile.cache.ClassSize.REFERENCE isn't final but should be refactored to be so | MALICIOUS_CODE | MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | 59 | High |
org.apache.accumulo.core.file.blockfile.cache.ClassSize.STRING isn't final but should be refactored to be so | MALICIOUS_CODE | MS_SHOULD_BE_REFACTORED_TO_BE_FINAL | 62 | High |
org.apache.accumulo.core.file.blockfile.cache.LruBlockCache
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Result of integer multiplication cast to long in org.apache.accumulo.core.file.blockfile.cache.LruBlockCache.calculateOverhead(long, long, int) | STYLE | ICAST_INTEGER_MULTIPLY_CAST_TO_LONG | 656 | Medium |
new org.apache.accumulo.core.file.blockfile.cache.LruBlockCache(long, long, boolean, int, float, int, float, float, float, float, float) invokes org.apache.accumulo.core.file.blockfile.cache.LruBlockCache$EvictionThread.start() | MT_CORRECTNESS | SC_START_IN_CTOR | 214 | Medium |
org.apache.accumulo.core.file.blockfile.cache.LruBlockCache$BlockBucket
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.file.blockfile.cache.LruBlockCache$BlockBucket defines compareTo(LruBlockCache$BlockBucket) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 440-442 | Medium |
org.apache.accumulo.core.file.blockfile.cache.LruBlockCache$EvictionThread
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Naked notify in org.apache.accumulo.core.file.blockfile.cache.LruBlockCache$EvictionThread.evict() | MT_CORRECTNESS | NN_NAKED_NOTIFY | 533 | Medium |
Unconditional wait in org.apache.accumulo.core.file.blockfile.cache.LruBlockCache$EvictionThread.run() | MT_CORRECTNESS | UW_UNCOND_WAIT | 521 | Medium |
org.apache.accumulo.core.file.rfile.BlockIndex$BlockIndexEntry
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.file.rfile.BlockIndex$BlockIndexEntry defines compareTo(BlockIndex$BlockIndexEntry) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 85 | Medium |
org.apache.accumulo.core.file.rfile.MultiLevelIndex$IndexEntry
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.file.rfile.MultiLevelIndex$IndexEntry defines compareTo(MultiLevelIndex$IndexEntry) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 115 | Medium |
org.apache.accumulo.core.file.rfile.MultiLevelIndex$Reader$IndexIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Should org.apache.accumulo.core.file.rfile.MultiLevelIndex$Reader$IndexIterator be a _static_ inner class? | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC | 588-698 | Medium |
org.apache.accumulo.core.file.rfile.RFile$LocalityGroupMetadata
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Nullcheck of RFile$LocalityGroupMetadata.indexReader at line 271 of value previously dereferenced in org.apache.accumulo.core.file.rfile.RFile$LocalityGroupMetadata.printInfo() | CORRECTNESS | RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE | 260 | Medium |
org.apache.accumulo.core.file.rfile.SplitLarge$Opts
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.apache.accumulo.core.file.rfile.SplitLarge$Opts.maxSize | PERFORMANCE | URF_UNREAD_FIELD | 46 | Medium |
org.apache.accumulo.core.file.rfile.bcfile.ByteArray
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.file.rfile.bcfile.ByteArray.buffer() may expose internal representation by returning ByteArray.buffer | MALICIOUS_CODE | EI_EXPOSE_REP | 73 | Medium |
new org.apache.accumulo.core.file.rfile.bcfile.ByteArray(byte[], int, int) may expose internal representation by storing an externally mutable object into ByteArray.buffer | MALICIOUS_CODE | EI_EXPOSE_REP2 | 63 | Medium |
org.apache.accumulo.core.file.rfile.bcfile.Chunk$ChunkDecoder
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.file.rfile.bcfile.Chunk$ChunkDecoder.close() ignores result of org.apache.accumulo.core.file.rfile.bcfile.Chunk$ChunkDecoder.skip(long) | BAD_PRACTICE | SR_NOT_CHECKED | 192 | Medium |
org.apache.accumulo.core.file.rfile.bcfile.Chunk$ChunkEncoder
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.apache.accumulo.core.file.rfile.bcfile.Chunk$ChunkEncoder(DataOutputStream, byte[]) may expose internal representation by storing an externally mutable object into Chunk$ChunkEncoder.buf | MALICIOUS_CODE | EI_EXPOSE_REP2 | 233 | Medium |
org.apache.accumulo.core.file.rfile.bcfile.CompareUtils$MemcmpRawComparator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.file.rfile.bcfile.CompareUtils$MemcmpRawComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 83-91 | Medium |
org.apache.accumulo.core.file.rfile.bcfile.CompareUtils$ScalarComparator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.file.rfile.bcfile.CompareUtils$ScalarComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 71-79 | Medium |
org.apache.accumulo.core.file.rfile.bcfile.TFileDumper
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.file.rfile.bcfile.TFileDumper.dumpInfo(String, PrintStream, Configuration): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 211 | High |
org.apache.accumulo.core.file.rfile.bcfile.Utils
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Switch statement found in org.apache.accumulo.core.file.rfile.bcfile.Utils.writeVLong(DataOutput, long) where one case falls through to the next case | STYLE | SF_SWITCH_FALLTHROUGH | 92-94 | Medium |
org.apache.accumulo.core.gc.thrift.GCMonitorService$Processor$getStatus
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.gc.thrift.GCMonitorService$Processor$getStatus doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 180-200 | Medium |
org.apache.accumulo.core.gc.thrift.GCMonitorService$getStatus_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.gc.thrift.GCMonitorService$getStatus_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 206-555 | Medium |
org.apache.accumulo.core.gc.thrift.GCMonitorService$getStatus_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.gc.thrift.GCMonitorService$getStatus_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 670-1016 | Medium |
org.apache.accumulo.core.gc.thrift.GCStatus
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.gc.thrift.GCStatus implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-558 | Medium |
org.apache.accumulo.core.gc.thrift.GcCycleStats
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.gc.thrift.GcCycleStats implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-680 | Medium |
org.apache.accumulo.core.iterators.ColumnFamilyCounter
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.ColumnFamilyCounter.next(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 61 | High |
org.apache.accumulo.core.iterators.GrepIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.iterators.GrepIterator shadows the simple name of the superclass org.apache.accumulo.core.iterators.user.GrepIterator | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25 | High |
org.apache.accumulo.core.iterators.IntersectingIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.iterators.IntersectingIterator shadows the simple name of the superclass org.apache.accumulo.core.iterators.user.IntersectingIterator | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25 | High |
org.apache.accumulo.core.iterators.IteratorUtil$IterInfoComparator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.iterators.IteratorUtil$IterInfoComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 57-61 | Medium |
org.apache.accumulo.core.iterators.LargeRowFilter
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.iterators.LargeRowFilter shadows the simple name of the superclass org.apache.accumulo.core.iterators.user.LargeRowFilter | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25 | High |
org.apache.accumulo.core.iterators.LongCombiner$StringEncoder
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.LongCombiner$StringEncoder.decode(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 187 | High |
Found reliance on default encoding in org.apache.accumulo.core.iterators.LongCombiner$StringEncoder.encode(Long): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 181 | High |
org.apache.accumulo.core.iterators.OrIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of newKey, which is known to be non-null in org.apache.accumulo.core.iterators.OrIterator.seek(Range, Collection, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 149 | Medium |
Redundant nullcheck of org.apache.accumulo.core.data.Key.getColumnQualifier(), which is known to be non-null in org.apache.accumulo.core.iterators.OrIterator.seek(Range, Collection, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 145 | Medium |
org.apache.accumulo.core.iterators.OrIterator$TermSource
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.iterators.OrIterator$TermSource defines compareTo(OrIterator$TermSource) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 72 | Medium |
org.apache.accumulo.core.iterators.RowDeletingIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.iterators.RowDeletingIterator shadows the simple name of the superclass org.apache.accumulo.core.iterators.user.RowDeletingIterator | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25 | High |
org.apache.accumulo.core.iterators.VersioningIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.iterators.VersioningIterator shadows the simple name of the superclass org.apache.accumulo.core.iterators.user.VersioningIterator | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 29-35 | High |
org.apache.accumulo.core.iterators.WholeRowIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.iterators.WholeRowIterator shadows the simple name of the superclass org.apache.accumulo.core.iterators.user.WholeRowIterator | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 25 | High |
org.apache.accumulo.core.iterators.aggregation.StringMax
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.aggregation.StringMax.aggregate(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 31 | High |
Found reliance on default encoding in org.apache.accumulo.core.iterators.aggregation.StringMax.collect(Value): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 35 | High |
org.apache.accumulo.core.iterators.aggregation.StringMin
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.aggregation.StringMin.aggregate(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 31 | High |
Found reliance on default encoding in org.apache.accumulo.core.iterators.aggregation.StringMin.collect(Value): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 35 | High |
org.apache.accumulo.core.iterators.aggregation.StringSummation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.aggregation.StringSummation.aggregate(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 31 | High |
Found reliance on default encoding in org.apache.accumulo.core.iterators.aggregation.StringSummation.collect(Value): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 35 | High |
org.apache.accumulo.core.iterators.conf.ColumnSet
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.conf.ColumnSet.decode(String): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 146 | High |
Found reliance on default encoding in org.apache.accumulo.core.iterators.conf.ColumnSet.decode(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 138 | High |
org.apache.accumulo.core.iterators.system.HeapIterator$Index
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.iterators.system.HeapIterator$Index defines compareTo(HeapIterator$Index) and uses Object.equals() | BAD_PRACTICE | EQ_COMPARETO_USE_OBJECT_EQUALS | 38 | Medium |
org.apache.accumulo.core.iterators.system.SourceSwitchingIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Inconsistent synchronization of org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.iflag; locked 83% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 80 | Medium |
Inconsistent synchronization of org.apache.accumulo.core.iterators.system.SourceSwitchingIterator.source; locked 85% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC | 80 | Medium |
org.apache.accumulo.core.iterators.user.GrepIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.GrepIterator.init(SortedKeyValueIterator, Map, IteratorEnvironment): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 91 | High |
org.apache.accumulo.core.iterators.user.IndexedDocIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.apache.accumulo.core.iterators.user.IndexedDocIterator.docColf from instance method org.apache.accumulo.core.iterators.user.IndexedDocIterator.init(SortedKeyValueIterator, Map, IteratorEnvironment) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 134 | Medium |
Write to static field org.apache.accumulo.core.iterators.user.IndexedDocIterator.indexColf from instance method org.apache.accumulo.core.iterators.user.IndexedDocIterator.init(SortedKeyValueIterator, Map, IteratorEnvironment) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 132 | Medium |
org.apache.accumulo.core.iterators.user.IntersectingIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.IntersectingIterator.decodeBooleans(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 433 | High |
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.IntersectingIterator.decodeColumns(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 419 | High |
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.IntersectingIterator.encodeBooleans(boolean[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 412 | High |
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.IntersectingIterator.encodeColumns(Text[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 394 | High |
Redundant nullcheck of org.apache.accumulo.core.data.Key.getColumnQualifier(), which is known to be non-null in org.apache.accumulo.core.iterators.user.IntersectingIterator.seek(Range, Collection, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 495 | Medium |
org.apache.accumulo.core.iterators.user.IntersectingIterator$TermSource
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.iterators.user.IntersectingIterator$TermSource.getTermString() invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 114 | Medium |
org.apache.accumulo.core.iterators.user.LargeRowFilter
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.LargeRowFilter.<static initializer>(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 47 | High |
org.apache.accumulo.core.iterators.user.RegExFilter
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.RegExFilter.validateOptions(Map): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 195 | High |
org.apache.accumulo.core.iterators.user.RowDeletingIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.RowDeletingIterator.<static initializer>(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 51 | High |
org.apache.accumulo.core.iterators.user.SummingArrayCombiner$StringArrayEncoder
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.SummingArrayCombiner$StringArrayEncoder.decode(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 215 | High |
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.SummingArrayCombiner$StringArrayEncoder.encode(List): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 210 | High |
org.apache.accumulo.core.iterators.user.TransformingIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.TransformingIterator.init(SortedKeyValueIterator, Map, IteratorEnvironment): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 113 | High |
Found reliance on default encoding in org.apache.accumulo.core.iterators.user.TransformingIterator.validateOptions(Map): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 147 | High |
Call to java.util.Map<java.lang.String,java.lang.String>.equals(String) in org.apache.accumulo.core.iterators.user.TransformingIterator.validateOptions(Map) | CORRECTNESS | EC_UNRELATED_CLASS_AND_INTERFACE | 146 | High |
Null passed for nonnull parameter of computeReseekRange(Range) in org.apache.accumulo.core.iterators.user.TransformingIterator.seek(Range, Collection, boolean) | CORRECTNESS | NP_NULL_PARAM_DEREF | 234 | High |
Switch statement found in org.apache.accumulo.core.iterators.user.TransformingIterator.isSetAfterPart(Key, PartialKey) where default case is missing | STYLE | SF_SWITCH_NO_DEFAULT | 485-495 | Medium |
org.apache.accumulo.core.iterators.user.TransformingIterator.validateOptions(Map) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 147 | Medium |
org.apache.accumulo.core.iterators.user.VisibilityFilter
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.iterators.user.VisibilityFilter shadows the simple name of the superclass org.apache.accumulo.core.iterators.system.VisibilityFilter | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 50-112 | High |
org.apache.accumulo.core.iterators.user.WholeRowIterator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.iterators.user.WholeRowIterator.decodeRow(Key, Value) ignores result of java.io.DataInputStream.read(byte[]) | BAD_PRACTICE | RR_NOT_CHECKED | 85 | Medium |
org.apache.accumulo.core.master.thrift.Compacting
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.Compacting implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-388 | Medium |
org.apache.accumulo.core.master.thrift.DeadServer
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.DeadServer implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-469 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$AsyncClient$reportSplitExtent_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.master.thrift.MasterClientService$AsyncClient$reportSplitExtent_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1052 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$AsyncClient$reportTabletStatus_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.master.thrift.MasterClientService$AsyncClient$reportTabletStatus_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1095 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$beginTableOperation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$beginTableOperation doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1609-1630 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$executeTableOperation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$executeTableOperation doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1634-1656 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$finishTableOperation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$finishTableOperation doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1686-1706 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$getAuthenticatorClassName
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$getAuthenticatorClassName doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1710-1730 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$getMasterStats
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$getMasterStats doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1547-1567 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$initiateFlush
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$initiateFlush doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1322-1345 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$removeSystemProperty
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$removeSystemProperty doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1523-1543 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$removeTableProperty
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$removeTableProperty doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1401-1423 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$reportSplitExtent
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$reportSplitExtent doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1571-1586 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$reportTabletStatus
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$reportTabletStatus doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1590-1605 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$setMasterGoalState
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$setMasterGoalState doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1427-1447 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$setSystemProperty
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$setSystemProperty doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1499-1519 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$setTableProperty
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$setTableProperty doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1375-1397 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$shutdown
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$shutdown doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1451-1471 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$shutdownTabletServer
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$shutdownTabletServer doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1475-1495 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$waitForFlush
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$waitForFlush doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1349-1371 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$Processor$waitForTableOperation
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.master.thrift.MasterClientService$Processor$waitForTableOperation doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1660-1682 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$beginTableOperation_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$beginTableOperation_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 13829-14178 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$beginTableOperation_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$beginTableOperation_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 14293-14636 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$executeTableOperation_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$executeTableOperation_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 14749-15542 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$executeTableOperation_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$executeTableOperation_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 15838-16181 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$finishTableOperation_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$finishTableOperation_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 17416-17842 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$finishTableOperation_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$finishTableOperation_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 17978-18244 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$getAuthenticatorClassName_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$getAuthenticatorClassName_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 18334-18518 | Medium |
Dead store to typedOther in org.apache.accumulo.core.master.thrift.MasterClientService$getAuthenticatorClassName_args.compareTo(MasterClientService$getAuthenticatorClassName_args) | STYLE | DLS_DEAD_LOCAL_STORE | 18473 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$getAuthenticatorClassName_args$getAuthenticatorClassName_argsTupleScheme
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to iprot in org.apache.accumulo.core.master.thrift.MasterClientService$getAuthenticatorClassName_args$getAuthenticatorClassName_argsTupleScheme.read(TProtocol, MasterClientService$getAuthenticatorClassName_args) | STYLE | DLS_DEAD_LOCAL_STORE | 18574 | Medium |
Dead store to oprot in org.apache.accumulo.core.master.thrift.MasterClientService$getAuthenticatorClassName_args$getAuthenticatorClassName_argsTupleScheme.write(TProtocol, MasterClientService$getAuthenticatorClassName_args) | STYLE | DLS_DEAD_LOCAL_STORE | 18569 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$getAuthenticatorClassName_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$getAuthenticatorClassName_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 18580-18923 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$getMasterStats_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$getMasterStats_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 11450-11799 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$getMasterStats_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$getMasterStats_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 11914-12260 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$initiateFlush_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$initiateFlush_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 1736-2162 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$initiateFlush_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$initiateFlush_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 2300-2720 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$removeSystemProperty_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$removeSystemProperty_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 10530-10956 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$removeSystemProperty_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$removeSystemProperty_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 11094-11360 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$removeTableProperty_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$removeTableProperty_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 5516-6019 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$removeTableProperty_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$removeTableProperty_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 6180-6523 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$reportSplitExtent_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$reportSplitExtent_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 12375-12881 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$reportTabletStatus_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$reportTabletStatus_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 13044-13643 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$setMasterGoalState_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$setMasterGoalState_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 6638-7080 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$setMasterGoalState_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$setMasterGoalState_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 7218-7484 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$setSystemProperty_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$setSystemProperty_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 9510-10013 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$setSystemProperty_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$setSystemProperty_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 10174-10440 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$setTableProperty_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$setTableProperty_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 4294-4874 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$setTableProperty_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$setTableProperty_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 5058-5401 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$shutdownTabletServer_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$shutdownTabletServer_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 8492-8995 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$shutdownTabletServer_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$shutdownTabletServer_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 9154-9420 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$shutdown_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$shutdown_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 7574-8000 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$shutdown_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$shutdown_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 8136-8402 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$waitForFlush_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$waitForFlush_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 2858-3610 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$waitForFlush_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$waitForFlush_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 3836-4179 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$waitForTableOperation_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$waitForTableOperation_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 16296-16722 | Medium |
org.apache.accumulo.core.master.thrift.MasterClientService$waitForTableOperation_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterClientService$waitForTableOperation_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 16858-17278 | Medium |
org.apache.accumulo.core.master.thrift.MasterMonitorInfo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.MasterMonitorInfo implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-996 | Medium |
org.apache.accumulo.core.master.thrift.RecoveryException
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.RecoveryException implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-315 | Medium |
org.apache.accumulo.core.master.thrift.RecoveryStatus
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.RecoveryStatus implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-465 | Medium |
org.apache.accumulo.core.master.thrift.TableInfo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.TableInfo implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-1139 | Medium |
org.apache.accumulo.core.master.thrift.TabletServerStatus
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.TabletServerStatus implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-1102 | Medium |
org.apache.accumulo.core.master.thrift.TabletSplit
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.master.thrift.TabletSplit implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-415 | Medium |
org.apache.accumulo.core.security.Authorizations
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.apache.accumulo.core.security.Authorizations(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 114 | High |
Found reliance on default encoding in new org.apache.accumulo.core.security.Authorizations(byte[]): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 120 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.Authorizations.getAuthorizationsArray(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 171 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.Authorizations.serialize(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 242 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.Authorizations.toString(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 188 | High |
org.apache.accumulo.core.security.ColumnVisibility
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.apache.accumulo.core.security.ColumnVisibility(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 372 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility.flatten(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 210 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility.stringify(ColumnVisibility$Node, byte[], StringBuilder): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 183 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility.toString(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 435 | High |
org.apache.accumulo.core.security.ColumnVisibility.getExpression() may expose internal representation by returning ColumnVisibility.expression | MALICIOUS_CODE | EI_EXPOSE_REP | 49 | Medium |
org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 223 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 226 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 256 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 270 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 283 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 293 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 306 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 312 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 318 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 321 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 331 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 335 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 346 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.processTerm(int, int, ColumnVisibility$Node, byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 236 | High |
Found reliance on default encoding in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.processTerm(int, int, ColumnVisibility$Node, byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 240 | High |
Redundant nullcheck of node, which is known to be non-null in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse(byte[]) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 222 | Medium |
Redundant nullcheck of child, which is known to be non-null in org.apache.accumulo.core.security.ColumnVisibility$ColumnVisibilityParser.parse_(byte[]) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 292 | Medium |
org.apache.accumulo.core.security.ColumnVisibility$NodeComparator
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
new org.apache.accumulo.core.security.ColumnVisibility$NodeComparator(byte[]) may expose internal representation by storing an externally mutable object into ColumnVisibility$NodeComparator.text | MALICIOUS_CODE | EI_EXPOSE_REP2 | 116 | Medium |
org.apache.accumulo.core.security.ColumnVisibility$NodeComparator implements Comparator but not Serializable | BAD_PRACTICE | SE_COMPARATOR_SHOULD_BE_SERIALIZABLE | 111-138 | Medium |
org.apache.accumulo.core.security.VisibilityConstraint
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.security.VisibilityConstraint.check(Constraint$Environment, Mutation): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 57 | High |
org.apache.accumulo.core.security.VisibilityConstraint.check(Constraint$Environment, Mutation) invokes inefficient new Short(short) constructor; use Short.valueOf(short) instead | PERFORMANCE | DM_NUMBER_CTOR | 66 | Medium |
org.apache.accumulo.core.security.VisibilityParseException
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.apache.accumulo.core.security.VisibilityParseException(String, byte[], int): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 27 | High |
org.apache.accumulo.core.security.crypto.DefaultCryptoModule
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.security.crypto.DefaultCryptoModule.getDecryptingInputStream(InputStream, Map) ignores result of java.io.DataInputStream.read(byte[]) | BAD_PRACTICE | RR_NOT_CHECKED | 148 | Medium |
org.apache.accumulo.core.security.crypto.DefaultCryptoModule.getDecryptingInputStream(InputStream, Map) ignores result of java.io.DataInputStream.read(byte[], int, int) | BAD_PRACTICE | RR_NOT_CHECKED | 142 | Medium |
org.apache.accumulo.core.security.crypto.DefaultCryptoModuleUtils
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
format string "%s" needs argument 1 but only 0 are provided in org.apache.accumulo.core.security.crypto.DefaultCryptoModuleUtils.getCipher(String) | CORRECTNESS | VA_FORMAT_STRING_MISSING_ARGUMENT | 64 | High |
org.apache.accumulo.core.security.crypto.DefaultSecretKeyEncryptionStrategy
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.security.crypto.DefaultSecretKeyEncryptionStrategy.doKeyEncryptionOperation(int, SecretKeyEncryptionStrategyContext, String, Path, FileSystem) ignores result of java.io.DataInputStream.read(byte[]) | BAD_PRACTICE | RR_NOT_CHECKED | 230 | Medium |
org.apache.accumulo.core.security.crypto.DefaultSecretKeyEncryptionStrategy.initializeKeyEncryptingKey(FileSystem, Path, SecretKeyEncryptionStrategyContext) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 127 | Medium |
org.apache.accumulo.core.security.crypto.DefaultSecretKeyEncryptionStrategy$DefaultSecretKeyEncryptionStrategyContext
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.security.crypto.DefaultSecretKeyEncryptionStrategy$DefaultSecretKeyEncryptionStrategyContext.getEncryptedSecretKey() may expose internal representation by returning DefaultSecretKeyEncryptionStrategy$DefaultSecretKeyEncryptionStrategyContext.encryptedSecretKey | MALICIOUS_CODE | EI_EXPOSE_REP | 76 | Medium |
org.apache.accumulo.core.security.crypto.DefaultSecretKeyEncryptionStrategy$DefaultSecretKeyEncryptionStrategyContext.getPlaintextSecretKey() may expose internal representation by returning DefaultSecretKeyEncryptionStrategy$DefaultSecretKeyEncryptionStrategyContext.plaintextSecretKey | MALICIOUS_CODE | EI_EXPOSE_REP | 66 | Medium |
org.apache.accumulo.core.security.crypto.DefaultSecretKeyEncryptionStrategy$DefaultSecretKeyEncryptionStrategyContext.setEncryptedSecretKey(byte[]) may expose internal representation by storing an externally mutable object into DefaultSecretKeyEncryptionStrategy$DefaultSecretKeyEncryptionStrategyContext.encryptedSecretKey | MALICIOUS_CODE | EI_EXPOSE_REP2 | 81 | Medium |
org.apache.accumulo.core.security.crypto.DefaultSecretKeyEncryptionStrategy$DefaultSecretKeyEncryptionStrategyContext.setPlaintextSecretKey(byte[]) may expose internal representation by storing an externally mutable object into DefaultSecretKeyEncryptionStrategy$DefaultSecretKeyEncryptionStrategyContext.plaintextSecretKey | MALICIOUS_CODE | EI_EXPOSE_REP2 | 71 | Medium |
org.apache.accumulo.core.security.thrift.AuthInfo
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.security.thrift.AuthInfo implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-480 | Medium |
org.apache.accumulo.core.security.thrift.Credential
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.security.thrift.Credential implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-557 | Medium |
org.apache.accumulo.core.security.thrift.Credentials
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.security.thrift.Credentials implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-480 | Medium |
org.apache.accumulo.core.security.thrift.ThriftSecurityException
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.security.thrift.ThriftSecurityException implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-408 | Medium |
org.apache.accumulo.core.security.tokens.NullToken
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.security.tokens.NullToken.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 51 | Medium |
org.apache.accumulo.core.security.tokens.PasswordToken
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.security.tokens.PasswordToken.clone() does not call super.clone() | BAD_PRACTICE | CN_IDIOM_NO_SUPER_CALL | 81 | Medium |
org.apache.accumulo.core.security.tokens.PasswordToken.getPassword() may expose internal representation by returning PasswordToken.password | MALICIOUS_CODE | EI_EXPOSE_REP | 32 | Medium |
org.apache.accumulo.core.security.tokens.PasswordToken.setPassword(byte[]) may expose internal representation by storing an externally mutable object into PasswordToken.password | MALICIOUS_CODE | EI_EXPOSE_REP2 | 36 | Medium |
org.apache.accumulo.core.tabletserver.thrift.ActionStats
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.ActionStats implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-826 | Medium |
org.apache.accumulo.core.tabletserver.thrift.ActiveCompaction
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.ActiveCompaction implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-1190 | Medium |
org.apache.accumulo.core.tabletserver.thrift.ActiveScan
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.ActiveScan implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-1293 | Medium |
org.apache.accumulo.core.tabletserver.thrift.ConstraintViolationException
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.ConstraintViolationException implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-335 | Medium |
org.apache.accumulo.core.tabletserver.thrift.IteratorConfig
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.IteratorConfig implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-335 | Medium |
org.apache.accumulo.core.tabletserver.thrift.NoSuchScanIDException
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.NoSuchScanIDException implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-233 | Medium |
Dead store to typedOther in org.apache.accumulo.core.tabletserver.thrift.NoSuchScanIDException.compareTo(NoSuchScanIDException) | STYLE | DLS_DEAD_LOCAL_STORE | 188 | Medium |
org.apache.accumulo.core.tabletserver.thrift.NoSuchScanIDException$NoSuchScanIDExceptionTupleScheme
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to iprot in org.apache.accumulo.core.tabletserver.thrift.NoSuchScanIDException$NoSuchScanIDExceptionTupleScheme.read(TProtocol, NoSuchScanIDException) | STYLE | DLS_DEAD_LOCAL_STORE | 289 | Medium |
Dead store to oprot in org.apache.accumulo.core.tabletserver.thrift.NoSuchScanIDException$NoSuchScanIDExceptionTupleScheme.write(TProtocol, NoSuchScanIDException) | STYLE | DLS_DEAD_LOCAL_STORE | 284 | Medium |
org.apache.accumulo.core.tabletserver.thrift.NotServingTabletException
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.NotServingTabletException implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-318 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TIteratorSetting
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TIteratorSetting implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-571 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$applyUpdates_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$applyUpdates_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1142 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$chop_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$chop_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1512 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$closeScan_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$closeScan_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 944 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$compact_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$compact_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1558 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$fastHalt_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$fastHalt_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1741 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$flushTablet_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$flushTablet_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1472 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$flush_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$flush_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1432 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$loadTablet_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$loadTablet_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1343 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$removeLogs_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$removeLogs_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1848 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$unloadTablet_call
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Dead store to prot in org.apache.accumulo.core.tabletserver.thrift.TabletClientService$AsyncClient$unloadTablet_call.getResult() | STYLE | DLS_DEAD_LOCAL_STORE | 1386 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$applyUpdates
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$applyUpdates doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2066-2081 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$bulkImport
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$bulkImport doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2137-2157 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$chop
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$chop doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2263-2278 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$closeMultiScan
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$closeMultiScan doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2017-2037 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$closeScan
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$closeScan doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1950-1965 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$closeUpdate
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$closeUpdate doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2085-2105 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$compact
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$compact doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2282-2297 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$continueMultiScan
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$continueMultiScan doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1993-2013 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$continueScan
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$continueScan doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1922-1946 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$fastHalt
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$fastHalt doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2397-2412 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$flush
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$flush doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2225-2240 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$flushTablet
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$flushTablet doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2244-2259 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getActiveCompactions
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getActiveCompactions doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2440-2460 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getActiveScans
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getActiveScans doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2416-2436 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getHistoricalStats
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getHistoricalStats doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2349-2369 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getTabletServerStatus
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getTabletServerStatus doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2301-2321 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getTabletStats
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$getTabletStats doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2325-2345 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$halt
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$halt doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2373-2393 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2187-2202 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$removeLogs
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$removeLogs doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2464-2479 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$splitTablet
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$splitTablet doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2161-2183 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$startMultiScan
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$startMultiScan doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1969-1989 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$startScan
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$startScan doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 1894-1918 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$startUpdate
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$startUpdate doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2041-2062 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$unloadTablet
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$unloadTablet doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2206-2221 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$update
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$update doesn't start with an upper case letter | BAD_PRACTICE | NM_CLASS_NAMING_CONVENTION | 2109-2133 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$applyUpdates_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$applyUpdates_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 10900-11423 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$bulkImport_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$bulkImport_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 13768-14355 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$bulkImport_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$bulkImport_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 14615-14978 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$chop_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$chop_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 19254-19760 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$closeMultiScan_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$closeMultiScan_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 9167-9513 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$closeMultiScan_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$closeMultiScan_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 9624-9890 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$closeScan_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$closeScan_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 5908-6254 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$closeUpdate_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$closeUpdate_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 11616-11962 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$closeUpdate_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$closeUpdate_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 12073-12419 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$compact_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$compact_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 19923-20602 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$continueMultiScan_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$continueMultiScan_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 8249-8595 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$continueMultiScan_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$continueMultiScan_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 8706-9052 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$continueScan_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$continueScan_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 4786-5132 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$continueScan_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$continueScan_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 5243-5743 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$fastHalt_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$fastHalt_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 24653-25079 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$flushTablet_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$flushTablet_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 18585-19091 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$flush_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$flush_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 17699-18378 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getActiveCompactions_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getActiveCompactions_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 26191-26540 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getActiveCompactions_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getActiveCompactions_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 26655-27018 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getActiveScans_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getActiveScans_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 25217-25566 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getActiveScans_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getActiveScans_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 25681-26044 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getHistoricalStats_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getHistoricalStats_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 22808-23157 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getHistoricalStats_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getHistoricalStats_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 23272-23618 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getTabletServerStatus_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getTabletServerStatus_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 20809-21158 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getTabletServerStatus_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getTabletServerStatus_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 21273-21619 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getTabletStats_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getTabletStats_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 21734-22160 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getTabletStats_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$getTabletStats_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 22298-22661 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$halt_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$halt_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 23733-24159 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$halt_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$halt_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 24297-24563 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$loadTablet_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$loadTablet_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 16263-16769 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$removeLogs_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$removeLogs_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 27165-27611 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$splitTablet_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$splitTablet_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 15125-15642 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$splitTablet_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$splitTablet_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 15805-16148 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 6365-7287 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startMultiScan_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 7788-8134 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startScan_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startScan_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 2485-3625 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startScan_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startScan_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 4121-4621 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startUpdate_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startUpdate_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 9980-10329 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startUpdate_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$startUpdate_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 10444-10787 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$unloadTablet_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$unloadTablet_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 16932-17515 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$update_args
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$update_args implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 12534-13043 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletClientService$update_result
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletClientService$update_result implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 13208-13628 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TabletStats
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TabletStats implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-854 | Medium |
org.apache.accumulo.core.tabletserver.thrift.TooManyFilesException
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Class org.apache.accumulo.core.tabletserver.thrift.TooManyFilesException implements Cloneable but does not define or use clone method | BAD_PRACTICE | CN_IDIOM | 49-318 | Medium |
org.apache.accumulo.core.trace.InstanceUserPassword
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.apache.accumulo.core.trace.InstanceUserPassword(Instance, String, String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 29 | High |
Unread public/protected field: org.apache.accumulo.core.trace.InstanceUserPassword.instance | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 27 | Medium |
Unread public/protected field: org.apache.accumulo.core.trace.InstanceUserPassword.password | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 29 | Medium |
Unread public/protected field: org.apache.accumulo.core.trace.InstanceUserPassword.username | STYLE | URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD | 28 | Medium |
org.apache.accumulo.core.trace.SpanTree
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.trace.SpanTree.visit(SpanTreeVisitor) invokes inefficient new Long(long) constructor; use Long.valueOf(long) instead | PERFORMANCE | DM_NUMBER_CTOR | 45 | Medium |
org.apache.accumulo.core.trace.ZooTraceClient
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.trace.ZooTraceClient.updateHosts(String, List): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 76 | High |
org.apache.accumulo.core.util.ArgumentChecker
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Load of known null value in org.apache.accumulo.core.util.ArgumentChecker.notNull(Object) | STYLE | NP_LOAD_OF_KNOWN_NULL_VALUE | 31 | Medium |
org.apache.accumulo.core.util.ByteArrayBackedCharSequence
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.ByteArrayBackedCharSequence.toString(): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 63 | High |
new org.apache.accumulo.core.util.ByteArrayBackedCharSequence(byte[], int, int) may expose internal representation by storing an externally mutable object into ByteArrayBackedCharSequence.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 28 | Medium |
org.apache.accumulo.core.util.ByteArrayBackedCharSequence.set(byte[], int, int) may expose internal representation by storing an externally mutable object into ByteArrayBackedCharSequence.data | MALICIOUS_CODE | EI_EXPOSE_REP2 | 42 | Medium |
org.apache.accumulo.core.util.ByteArraySet
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.ByteArraySet.fromStrings(Collection): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 41 | High |
org.apache.accumulo.core.util.ByteBufferUtil
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.ByteBufferUtil.toString(ByteBuffer): new String(byte[], int, int) | I18N | DM_DEFAULT_ENCODING | 63 | High |
org.apache.accumulo.core.util.Encoding
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.Encoding.decodeBase64FileName(String): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.Encoding.encodeAsBase64FileName(Text): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 25 | High |
org.apache.accumulo.core.util.Encoding.decodeBase64FileName(String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 38 | Medium |
org.apache.accumulo.core.util.FastFormat
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.FastFormat.toZeroPaddedString(long, int, int, byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 24 | High |
org.apache.accumulo.core.util.Merge$1
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.Merge$1.fetch(): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 236 | High |
org.apache.accumulo.core.util.MetadataTable$DataFileValue
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.apache.accumulo.core.util.MetadataTable$DataFileValue(byte[]): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 65 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.MetadataTable$DataFileValue.encode(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 94 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.MetadataTable$DataFileValue.encode(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 95 | High |
org.apache.accumulo.core.util.TextUtil
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.TextUtil.truncate(Text, int): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 46 | High |
org.apache.accumulo.core.util.shell.Shell
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.Shell.config(String[]): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 278 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.shell.Shell.execCommand(String, boolean, boolean): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 522 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.shell.Shell.printHelp(String, String, Options, int): new java.io.PrintWriter(OutputStream) | I18N | DM_DEFAULT_ENCODING | 900 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.shell.Shell.start(): new java.util.Scanner(File) | I18N | DM_DEFAULT_ENCODING | 406 | High |
Result of integer multiplication cast to long in org.apache.accumulo.core.util.shell.Shell.config(String[]) | STYLE | ICAST_INTEGER_MULTIPLY_CAST_TO_LONG | 230 | Medium |
Redundant nullcheck of sc, which is known to be non-null in org.apache.accumulo.core.util.shell.Shell.execCommand(String, boolean, boolean) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 574 | Medium |
Format string should use %n rather than \n in org.apache.accumulo.core.util.shell.Shell.execCommand(String, boolean, boolean) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 506 | Medium |
org.apache.accumulo.core.util.shell.Shell$PrintFile
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in new org.apache.accumulo.core.util.shell.Shell$PrintFile(String): new java.io.PrintWriter(String) | I18N | DM_DEFAULT_ENCODING | 767 | High |
org.apache.accumulo.core.util.shell.commands.AddSplitsCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.AddSplitsCommand.execute(String, CommandLine, Shell): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 49 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.AddSplitsCommand.execute(String, CommandLine, Shell): new java.util.Scanner(File) | I18N | DM_DEFAULT_ENCODING | 45 | High |
org.apache.accumulo.core.util.shell.commands.AuthenticateCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.AuthenticateCommand.execute(String, CommandLine, Shell): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 39 | High |
org.apache.accumulo.core.util.shell.commands.CompactCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Unread field: org.apache.accumulo.core.util.shell.commands.CompactCommand.override | PERFORMANCE | URF_UNREAD_FIELD | 40 | Medium |
org.apache.accumulo.core.util.shell.commands.ConfigCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Redundant nullcheck of sysVal, which is known to be non-null in org.apache.accumulo.core.util.shell.commands.ConfigCommand.execute(String, CommandLine, Shell) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE | 187 | High |
org.apache.accumulo.core.util.shell.commands.CreateTableCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.CreateTableCommand.execute(String, CommandLine, Shell): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 81 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.CreateTableCommand.execute(String, CommandLine, Shell): new java.util.Scanner(File) | I18N | DM_DEFAULT_ENCODING | 77 | High |
Unused public or protected field: org.apache.accumulo.core.util.shell.commands.CreateTableCommand.testTable | STYLE | UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD | Not available | Medium |
org.apache.accumulo.core.util.shell.commands.CreateUserCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.CreateUserCommand.execute(String, CommandLine, Shell): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 51 | High |
org.apache.accumulo.core.util.shell.commands.EscapeTokenizer
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.util.shell.commands.EscapeTokenizer.preprocess(String, String) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 53 | Medium |
org.apache.accumulo.core.util.shell.commands.ExecfileCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.ExecfileCommand.execute(String, CommandLine, Shell): new java.util.Scanner(File) | I18N | DM_DEFAULT_ENCODING | 38 | High |
org.apache.accumulo.core.util.shell.commands.GetSplitsCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.GetSplitsCommand.encode(boolean, Text): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 102 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.GetSplitsCommand.obscuredTabletName(KeyExtent): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 115 | High |
org.apache.accumulo.core.util.shell.commands.HelpCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Format string should use %n rather than \n in org.apache.accumulo.core.util.shell.commands.HelpCommand.execute(String, CommandLine, Shell) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 94 | Medium |
org.apache.accumulo.core.util.shell.commands.HiddenCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.HiddenCommand.execute(String, CommandLine, Shell): new String(byte[]) | I18N | DM_DEFAULT_ENCODING | 42 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.HiddenCommand.execute(String, CommandLine, Shell): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 42 | High |
org.apache.accumulo.core.util.shell.commands.HistoryCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.HistoryCommand.execute(String, CommandLine, Shell): new java.io.FileReader(String) | I18N | DM_DEFAULT_ENCODING | 58 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.HistoryCommand.execute(String, CommandLine, Shell): new java.io.FileWriter(String) | I18N | DM_DEFAULT_ENCODING | 46 | High |
org.apache.accumulo.core.util.shell.commands.HistoryCommand.execute(String, CommandLine, Shell) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 58 | Medium |
org.apache.accumulo.core.util.shell.commands.ListIterCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.util.shell.commands.ListIterCommand.execute(String, CommandLine, Shell) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 63 | Medium |
org.apache.accumulo.core.util.shell.commands.PasswdCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.PasswdCommand.execute(String, CommandLine, Shell): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 50 | High |
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.PasswdCommand.execute(String, CommandLine, Shell): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 67 | High |
org.apache.accumulo.core.util.shell.commands.QuotedStringTokenizer
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.QuotedStringTokenizer.createTokens(): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 60 | High |
org.apache.accumulo.core.util.shell.commands.SetIterCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.apache.accumulo.core.util.shell.commands.SetIterCommand.setUpOptions(ConsoleReader, String, Map) invokes inefficient new String(String) constructor | PERFORMANCE | DM_STRING_CTOR | 171 | Medium |
org.apache.accumulo.core.util.shell.commands.UserCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.apache.accumulo.core.util.shell.commands.UserCommand.execute(String, CommandLine, Shell): String.getBytes() | I18N | DM_DEFAULT_ENCODING | 48 | High |
org.apache.accumulo.core.util.shell.commands.UserPermissionsCommand
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Write to static field org.apache.accumulo.core.util.shell.commands.UserPermissionsCommand.runOnce from instance method org.apache.accumulo.core.util.shell.commands.UserPermissionsCommand.execute(String, CommandLine, Shell) | STYLE | ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD | 55 | Medium |
org.apache.accumulo.core.zookeeper.ZooCache
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.zookeeper.ZooCache shadows the simple name of the superclass org.apache.accumulo.fate.zookeeper.ZooCache | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 30-39 | High |
org.apache.accumulo.core.zookeeper.ZooUtil
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
The class name org.apache.accumulo.core.zookeeper.ZooUtil shadows the simple name of the superclass org.apache.accumulo.fate.zookeeper.ZooUtil | BAD_PRACTICE | NM_SAME_SIMPLE_NAME_AS_SUPERCLASS | 22-28 | High |