The following document contains the results of Checkstyle.
Files | Infos | Warnings | Errors |
---|---|---|---|
49 | 0 | 0 | 828 |
Rules | Violations | Severity |
---|---|---|
NewlineAtEndOfFile | 1 | Error |
Translation | 0 | Error |
JavadocMethod
| 130 | Error |
JavadocType | 0 | Error |
JavadocVariable | 0 | Error |
JavadocStyle | 2 | Error |
ConstantName | 1 | Error |
LocalFinalVariableName | 0 | Error |
LocalVariableName | 119 | Error |
MemberName | 121 | Error |
MethodName | 55 | Error |
PackageName | 0 | Error |
ParameterName | 47 | Error |
StaticVariableName | 1 | Error |
TypeName | 27 | Error |
AvoidStarImport | 0 | Error |
IllegalImport | 0 | Error |
RedundantImport | 0 | Error |
UnusedImports | 1 | Error |
FileLength | 1 | Error |
LineLength
| 0 | Error |
MethodLength
| 0 | Error |
ParameterNumber | 3 | Error |
EmptyForIteratorPad | 0 | Error |
MethodParamPad | 0 | Error |
NoWhitespaceAfter | 8 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 0 | Error |
ParenPad | 0 | Error |
TypecastParenPad | 0 | Error |
TabCharacter | 1 | Error |
ModifierOrder | 0 | Error |
RedundantModifier | 0 | Error |
AvoidNestedBlocks | 2 | Error |
EmptyBlock | 3 | Error |
LeftCurly | 0 | Error |
NeedBraces | 7 | Error |
AvoidInlineConditionals | 47 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyStatement | 0 | Error |
EqualsHashCode | 0 | Error |
HiddenField
| 0 | Error |
IllegalInstantiation | 0 | Error |
InnerAssignment | 19 | Error |
MagicNumber | 92 | Error |
MissingSwitchDefault | 2 | Error |
RedundantThrows | 0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
FinalClass | 0 | Error |
HideUtilityClassConstructor | 1 | Error |
InterfaceIsType | 0 | Error |
VisibilityModifier | 135 | Error |
ArrayTypeStyle | 2 | Error |
TodoComment | 0 | Error |
UpperEll | 0 | Error |
IllegalCatch | 0 | Error |
IllegalThrows | 0 | Error |
Violation | Message | Line |
---|---|---|
Name 'cached_dir_index' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 10 | |
Variable 'index' must be private and have accessor methods. | 14 | |
Variable 'name' must be private and have accessor methods. | 19 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_constants' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 15 | |
'4' is a magic number. | 93 | |
'8' is a magic number. | 94 | |
'15' is a magic number. | 169 | |
Name 'SQUASHFS_FRAGMENT_INDEXES' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 265 | |
Expected @param tag for 'A'. | 265 | |
Name 'A' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 265 | |
Name 'SQUASHFS_FRAGMENT_BYTES' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 273 | |
Expected @param tag for 'A'. | 273 | |
Name 'A' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 273 | |
Name 'SQUASHFS_FRAGMENT_INDEX_BYTES' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 281 | |
Expected @param tag for 'A'. | 281 | |
Name 'A' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 281 | |
'8' is a magic number. | 282 | |
Name 'SQUASHFS_COMPRESSED_SIZE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 289 | |
Expected @param tag for 'B'. | 289 | |
Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 289 | |
Avoid inline conditionals. | 290 | |
Name 'SQUASHFS_COMPRESSED' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 298 | |
Expected @param tag for 'B'. | 298 | |
Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 298 | |
Name 'SQUASHFS_CHECK_DATA' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 306 | |
Expected @param tag for 'flags'. | 306 | |
Name 'SQUASHFS_BIT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 315 | |
Expected @param tag for 'flag'. | 315 | |
Expected @param tag for 'bit'. | 315 | |
Name 'SQUASHFS_INODE_BLK' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 323 | |
Expected @param tag for 'a'. | 323 | |
'16' is a magic number. | 324 | |
Name 'SQUASHFS_INODE_OFFSET' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 331 | |
Expected @param tag for 'a'. | 331 | |
'0xffff' is a magic number. | 332 | |
'24' is a magic number. | 338 | |
Name 'SQUASHFS_COMPRESSED_SIZE_BLOCK' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 379 | |
Expected @param tag for 'B'. | 379 | |
Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 379 | |
Avoid inline conditionals. | 380 | |
Name 'SQUASHFS_COMPRESSED_BLOCK' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 389 | |
Expected @param tag for 'B'. | 389 | |
Name 'B' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 389 | |
Expected @param tag for 'block'. | 404 | |
'12' is a magic number. | 407 | |
'16' is a magic number. | 407 | |
Name 'SQUASHFS_MKFLAGS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 425 | |
Expected @param tag for 'noI'. | 425 | |
Expected @param tag for 'noD'. | 425 | |
Expected @param tag for 'check_data'. | 426 | |
Name 'check_data' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 426 | |
Expected @param tag for 'noF'. | 426 | |
Expected @param tag for 'no_fragments'. | 426 | |
Name 'no_fragments' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 426 | |
Expected @param tag for 'always_use_fragments'. | 427 | |
Name 'always_use_fragments' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 427 | |
Expected @param tag for 'duplicate_checking'. | 427 | |
Name 'duplicate_checking' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 427 | |
Avoid inline conditionals. | 428 | |
Avoid inline conditionals. | 428 | |
Avoid inline conditionals. | 429 | |
Avoid inline conditionals. | 429 | |
'3' is a magic number. | 429 | |
Avoid inline conditionals. | 430 | |
'4' is a magic number. | 430 | |
Avoid inline conditionals. | 431 | |
'5' is a magic number. | 431 | |
Avoid inline conditionals. | 431 | |
'6' is a magic number. | 432 | |
Name 'SQUASHFS_MODE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 439 | |
Expected @param tag for 'a'. | 439 | |
'0xfff' is a magic number. | 440 |
Violation | Message | Line |
---|---|---|
Utility classes should not have a public or default constructor. | 24 |
Violation | Message | Line |
---|---|---|
Name 'stat' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 10 | |
'0x04' is a magic number. | 15 | |
'6' is a magic number. | 15 | |
'6' is a magic number. | 20 | |
'6' is a magic number. | 25 | |
'3' is a magic number. | 35 | |
'3' is a magic number. | 40 | |
'3' is a magic number. | 45 | |
'3' is a magic number. | 50 | |
'3' is a magic number. | 55 | |
'3' is a magic number. | 60 | |
'3' is a magic number. | 65 | |
'3' is a magic number. | 70 | |
Name 'st_mode' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 115 | |
Variable 'st_mode' must be private and have accessor methods. | 115 | |
Name 'st_uid' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 120 | |
Variable 'st_uid' must be private and have accessor methods. | 120 | |
Name 'st_gid' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 125 | |
Variable 'st_gid' must be private and have accessor methods. | 125 | |
Name 'st_mtime' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 130 | |
Variable 'st_mtime' must be private and have accessor methods. | 130 | |
Name 'st_dev' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 135 | |
Variable 'st_dev' must be private and have accessor methods. | 135 | |
Name 'st_ino' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 140 | |
Variable 'st_ino' must be private and have accessor methods. | 140 | |
Name 'st_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 145 | |
Variable 'st_size' must be private and have accessor methods. | 145 |
Violation | Message | Line |
---|---|---|
Array brackets at illegal position. | 33 | |
Avoid nested blocks. | 49 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_dir_index' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 15 | |
Variable 'index' must be private and have accessor methods. | 20 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 26 | |
Variable 'start_block' must be private and have accessor methods. | 26 | |
Variable 'size' must be private and have accessor methods. | 32 | |
Variable 'name' must be private and have accessor methods. | 37 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_lreg_inode_header' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 13 |
Violation | Message | Line |
---|---|---|
Expected @param tag for 'name'. | 27 | |
Expected @param tag for 'mode'. | 27 | |
Expected @param tag for 'time'. | 27 | |
Expected @param tag for 'guid'. | 27 | |
Expected @param tag for 'uid'. | 27 | |
Expected @param tag for 'sourceFile'. | 28 |
Violation | Message | Line |
---|---|---|
Expected @param tag for 'name'. | 19 | |
Expected @param tag for 'mode'. | 19 | |
Expected @param tag for 'time'. | 19 | |
Expected @param tag for 'guid'. | 19 | |
Expected @param tag for 'uid'. | 19 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_dir_inode_header' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 14 | |
Variable 'nlink' must be private and have accessor methods. | 19 | |
'19' is a magic number. | 24 | |
Name 'file_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 25 | |
Variable 'file_size' must be private and have accessor methods. | 25 | |
'13' is a magic number. | 30 | |
Variable 'offset' must be private and have accessor methods. | 31 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 37 | |
Variable 'start_block' must be private and have accessor methods. | 37 | |
Name 'parent_inode' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 43 | |
Variable 'parent_inode' must be private and have accessor methods. | 43 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_dir_entry' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 15 | |
'13' is a magic number. | 20 | |
Variable 'offset' must be private and have accessor methods. | 21 | |
'3' is a magic number. | 26 | |
Variable 'type' must be private and have accessor methods. | 27 | |
Variable 'size' must be private and have accessor methods. | 33 | |
Name 'inode_number' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 39 | |
Variable 'inode_number' must be private and have accessor methods. | 39 | |
Variable 'name' must be private and have accessor methods. | 44 |
Violation | Message | Line |
---|---|---|
Expected @param tag for 'sourceDir'. | 35 |
Violation | Message | Line |
---|---|---|
File does not end with a newline. | 0 | |
Name 'ISO8601_FORMAT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 33 | |
Variable 'ISO8601_FORMAT' must be private and have accessor methods. | 33 | |
'6' is a magic number. | 57 | |
'0x07' is a magic number. | 57 | |
'3' is a magic number. | 58 | |
'0x07' is a magic number. | 58 | |
'0x07' is a magic number. | 59 | |
Expected @param tag for 'permissions'. | 68 | |
'0x04' is a magic number. | 70 | |
'0x04' is a magic number. | 70 | |
Avoid inline conditionals. | 70 | |
Avoid inline conditionals. | 71 | |
Avoid inline conditionals. | 72 | |
'4' is a magic number. | 83 | |
'4' is a magic number. | 84 | |
'7' is a magic number. | 84 | |
'7' is a magic number. | 85 | |
'10' is a magic number. | 85 | |
'6' is a magic number. | 87 | |
'3' is a magic number. | 88 | |
'0x04' is a magic number. | 117 | |
'1000' is a magic number. | 134 | |
'1000' is a magic number. | 143 |
Violation | Message | Line |
---|---|---|
Name 'directory' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 10 | |
Variable 'buff' must be private and have accessor methods. | 15 | |
Variable 'buffp' must be private and have accessor methods. | 20 | |
Variable 'size' must be private and have accessor methods. | 25 | |
Name 'entry_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 30 | |
Variable 'entry_count' must be private and have accessor methods. | 30 | |
Name 'index_count_p' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 35 | |
Variable 'index_count_p' must be private and have accessor methods. | 35 | |
Name 'entry_count_p' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 40 | |
Variable 'entry_count_p' must be private and have accessor methods. | 40 | |
Variable 'index' must be private and have accessor methods. | 45 | |
Name 'i_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 50 | |
Variable 'i_count' must be private and have accessor methods. | 50 | |
Name 'i_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 55 | |
Variable 'i_size' must be private and have accessor methods. | 55 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 60 | |
Variable 'start_block' must be private and have accessor methods. | 60 | |
Name 'inode_number' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 65 | |
Variable 'inode_number' must be private and have accessor methods. | 65 |
Violation | Message | Line |
---|---|---|
Name 'uid_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 68 | |
Name 'guid_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 73 | |
Name 'fragment_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 78 | |
Name 'inode_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 83 | |
Unclosed HTML tag found: <start, offset> | 87 | |
Name 'inode_table_hash' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 89 | |
Name 'directory_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 94 | |
Unclosed HTML tag found: <start, offset> | 98 | |
Name 'directory_table_hash' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 100 | |
Name 'dir_scan' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 135 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 135 | |
switch without "default" clause. | 151 | |
Name 'read_symlink' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 203 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 203 | |
Name 'block_ptr' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 206 | |
Name 'inode_table_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 208 | |
Expected @param tag for 'uid'. | 247 | |
Expected @param tag for 'guid'. | 256 | |
Expected @param tag for 'uid'. | 256 | |
Avoid inline conditionals. | 257 | |
Name 'read_file' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 270 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 270 | |
Name 'block_ptr' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 273 | |
Name 'inode_table_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 275 | |
Name 'frag_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 301 | |
Avoid inline conditionals. | 301 | |
Avoid inline conditionals. | 304 | |
Name 'squashfs_openddir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 331 | |
Name 'block_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 331 | |
Name 'dir_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 336 | |
Name 'directory_table_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 337 | |
Name 'inode_table_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 338 | |
'3' is a magic number. | 403 | |
Must have at least one statement. | 475 | |
Name 'uncompress_directory_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 508 | |
Name 'uncompress_inode_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 527 | |
Unused @param tag for 'squashfs'. | 541 | |
Name 'read_super' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 545 | |
Unused @param tag for 'squashfs'. | 588 | |
Name 'read_uids_guids' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 591 | |
Name 'read_fragment_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 610 | |
Name 'fragment_table_index' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 614 | |
'8' is a magic number. | 634 | |
Name 'read_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 667 | |
Name 'c_byte' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 668 | |
Avoid inline conditionals. | 690 | |
'if' construct must use '{}'s. | 693 | |
'3' is a magic number. | 694 | |
Name 'read_data_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 731 | |
Name 'c_byte' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 736 | |
Avoid inline conditionals. | 747 | |
Inner assignments should be avoided. | 754 | |
Name 'read_fragment' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 771 | |
Expected @param tag for 'fragment_entry'. | 771 | |
Name 'fragment_entry' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 771 | |
Unused @param tag for 'sourceFile'. | 797 | |
Name 'block_list' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 804 | |
Name 'inode_table_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 815 | |
'4' is a magic number. | 818 | |
Name 'file_data' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 826 | |
Name 'fragment_data' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 835 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_dir_header' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 15 | |
Variable 'count' must be private and have accessor methods. | 21 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 27 | |
Variable 'start_block' must be private and have accessor methods. | 27 | |
Name 'inode_number' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 33 | |
Variable 'inode_number' must be private and have accessor methods. | 33 |
Violation | Message | Line |
---|---|---|
Name 'dir' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 12 | |
Name 'dir_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 17 | |
Variable 'dir_count' must be private and have accessor methods. | 17 | |
Name 'cur_entry' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 22 | |
Variable 'cur_entry' must be private and have accessor methods. | 22 | |
Variable 'mode' must be private and have accessor methods. | 27 | |
Variable 'uid' must be private and have accessor methods. | 32 | |
Variable 'guid' must be private and have accessor methods. | 37 | |
Variable 'mtime' must be private and have accessor methods. | 42 | |
Variable 'dirs' must be private and have accessor methods. | 47 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_super_block' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 20 | |
Name 's_magic' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 26 | |
Variable 's_magic' must be private and have accessor methods. | 26 | |
Variable 'inodes' must be private and have accessor methods. | 32 | |
Name 'bytes_used_2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 38 | |
Variable 'bytes_used_2' must be private and have accessor methods. | 38 | |
Name 'uid_start_2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 44 | |
Variable 'uid_start_2' must be private and have accessor methods. | 44 | |
Name 'guid_start_2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 50 | |
Variable 'guid_start_2' must be private and have accessor methods. | 50 | |
Name 'inode_table_start_2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 56 | |
Variable 'inode_table_start_2' must be private and have accessor methods. | 56 | |
Name 'directory_table_start_2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 62 | |
Variable 'directory_table_start_2' must be private and have accessor methods. | 62 | |
Name 's_major' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 68 | |
Variable 's_major' must be private and have accessor methods. | 68 | |
Name 's_minor' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 74 | |
Variable 's_minor' must be private and have accessor methods. | 74 | |
Name 'block_size_1' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 80 | |
Variable 'block_size_1' must be private and have accessor methods. | 80 | |
Name 'block_log' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 86 | |
Variable 'block_log' must be private and have accessor methods. | 86 | |
Variable 'flags' must be private and have accessor methods. | 92 | |
Name 'no_uids' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 98 | |
Variable 'no_uids' must be private and have accessor methods. | 98 | |
Name 'no_guids' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 104 | |
Variable 'no_guids' must be private and have accessor methods. | 104 | |
Name 'mkfs_time' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 110 | |
Variable 'mkfs_time' must be private and have accessor methods. | 110 | |
Name 'root_inode' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 116 | |
Variable 'root_inode' must be private and have accessor methods. | 116 | |
Name 'block_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 122 | |
Variable 'block_size' must be private and have accessor methods. | 122 | |
Variable 'fragments' must be private and have accessor methods. | 128 | |
Name 'fragment_table_start_2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 134 | |
Variable 'fragment_table_start_2' must be private and have accessor methods. | 134 | |
Name 'bytes_used' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 140 | |
Variable 'bytes_used' must be private and have accessor methods. | 140 | |
Name 'uid_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 146 | |
Variable 'uid_start' must be private and have accessor methods. | 146 | |
Name 'guid_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 152 | |
Variable 'guid_start' must be private and have accessor methods. | 152 | |
Name 'inode_table_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 158 | |
Variable 'inode_table_start' must be private and have accessor methods. | 158 | |
Name 'directory_table_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 164 | |
Variable 'directory_table_start' must be private and have accessor methods. | 164 | |
Name 'fragment_table_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 170 | |
Variable 'fragment_table_start' must be private and have accessor methods. | 170 | |
Variable 'unused' must be private and have accessor methods. | 176 |
Violation | Message | Line |
---|---|---|
'{' is followed by whitespace. | 22 | |
Avoid inline conditionals. | 30 | |
Avoid inline conditionals. | 31 |
Violation | Message | Line |
---|---|---|
More than 7 parameters. | 58 | |
Expected @param tag for 'start'. | 59 | |
Expected @param tag for 'blocks'. | 59 | |
Expected @param tag for 'offset'. | 59 | |
Expected @param tag for 'blockPtr'. | 59 | |
Expected @param tag for 'fragmentEntry'. | 60 | |
Expected @param tag for 'fragmentBytes'. | 60 |
Violation | Message | Line |
---|---|---|
Name 'old_root_entry_info' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 10 | |
Variable 'name' must be private and have accessor methods. | 14 | |
Variable 'inode' must be private and have accessor methods. | 19 | |
Variable 'type' must be private and have accessor methods. | 24 | |
Name 'inode_number' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 29 | |
Variable 'inode_number' must be private and have accessor methods. | 29 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_ipc_inode_header' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 13 |
Violation | Message | Line |
---|---|---|
Name 'dir_info' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 13 | |
Name 'dir_ent' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 18 | |
Variable 'dir_ent' must be private and have accessor methods. | 18 | |
Name 'directory_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 23 | |
Variable 'directory_count' must be private and have accessor methods. | 23 | |
Name 'dir_is_ldir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 28 | |
Variable 'dir_is_ldir' must be private and have accessor methods. | 28 | |
Variable 'list' must be private and have accessor methods. | 33 | |
Name 'current_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 38 | |
Variable 'current_count' must be private and have accessor methods. | 38 | |
Name 'byte_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 43 | |
Variable 'byte_count' must be private and have accessor methods. | 43 | |
Variable 'count' must be private and have accessor methods. | 48 | |
Variable 'pathname' must be private and have accessor methods. | 53 |
Violation | Message | Line |
---|---|---|
Expected @param tag for 'includeMTimeInManfest'. | 262 |
Violation | Message | Line |
---|---|---|
Name 'dir_ent' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 10 | |
Variable 'name' must be private and have accessor methods. | 19 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 24 | |
Variable 'start_block' must be private and have accessor methods. | 24 | |
Variable 'offset' must be private and have accessor methods. | 29 | |
Variable 'type' must be private and have accessor methods. | 34 | |
Variable 'pathname' must be private and have accessor methods. | 39 | |
Variable 'dir' must be private and have accessor methods. | 44 | |
Variable 'inode' must be private and have accessor methods. | 49 | |
Name 'our_dir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 54 | |
Variable 'our_dir' must be private and have accessor methods. | 54 | |
Variable 'data' must be private and have accessor methods. | 59 |
Violation | Message | Line |
---|---|---|
Name 'fragment' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 10 | |
Variable 'index' must be private and have accessor methods. | 15 | |
Variable 'offset' must be private and have accessor methods. | 20 | |
Variable 'size' must be private and have accessor methods. | 25 |
Violation | Message | Line |
---|---|---|
Name 'inode_info' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 10 | |
Variable 'nlink' must be private and have accessor methods. | 15 | |
Name 'inode_number' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 20 | |
Variable 'inode_number' must be private and have accessor methods. | 20 | |
Variable 'buf' must be private and have accessor methods. | 25 | |
Variable 'next' must be private and have accessor methods. | 30 | |
Variable 'inode' must be private and have accessor methods. | 35 | |
Variable 'type' must be private and have accessor methods. | 40 |
Violation | Message | Line |
---|---|---|
Name 'duplicate_buffer_handle' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 10 | |
Variable 'ptrdata' must be private and have accessor methods. | 15 | |
Variable 'ptr' must be private and have accessor methods. | 20 | |
Variable 'start' must be private and have accessor methods. | 25 |
Violation | Message | Line |
---|---|---|
Name 'file_info' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 10 | |
Variable 'fragment' must be private and have accessor methods. | 15 | |
Variable 'next' must be private and have accessor methods. | 20 | |
Variable 'bytes' must be private and have accessor methods. | 25 | |
Variable 'start' must be private and have accessor methods. | 30 | |
Variable 'checksum' must be private and have accessor methods. | 35 | |
Name 'fragment_checksum' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 40 | |
Variable 'fragment_checksum' must be private and have accessor methods. | 40 | |
Name 'block_list' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 45 | |
Variable 'block_list' must be private and have accessor methods. | 45 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_fragment_entry' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 15 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 21 | |
Variable 'start_block' must be private and have accessor methods. | 21 | |
Variable 'size' must be private and have accessor methods. | 27 | |
Variable 'unused' must be private and have accessor methods. | 33 |
Violation | Message | Line |
---|---|---|
Array brackets at illegal position. | 38 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_ldir_inode_header' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 14 | |
Variable 'nlink' must be private and have accessor methods. | 19 | |
'27' is a magic number. | 24 | |
Name 'file_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 25 | |
Variable 'file_size' must be private and have accessor methods. | 25 | |
'13' is a magic number. | 30 | |
Variable 'offset' must be private and have accessor methods. | 31 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 37 | |
Variable 'start_block' must be private and have accessor methods. | 37 | |
'16' is a magic number. | 42 | |
Name 'i_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 43 | |
Variable 'i_count' must be private and have accessor methods. | 43 | |
Name 'parent_inode' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 49 | |
Variable 'parent_inode' must be private and have accessor methods. | 49 | |
Line contains a tab character. | 51 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_symlink_inode_header' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 15 | |
Variable 'nlink' must be private and have accessor methods. | 21 | |
Name 'symlink_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 27 | |
Variable 'symlink_size' must be private and have accessor methods. | 27 | |
Variable 'symlink' must be private and have accessor methods. | 32 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_base_inode_header' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 14 | |
'4' is a magic number. | 19 | |
Name 'inode_type' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 20 | |
Variable 'inode_type' must be private and have accessor methods. | 20 | |
'12' is a magic number. | 25 | |
Variable 'mode' must be private and have accessor methods. | 26 | |
'8' is a magic number. | 31 | |
Variable 'uid' must be private and have accessor methods. | 32 | |
'8' is a magic number. | 37 | |
Variable 'guid' must be private and have accessor methods. | 38 | |
Variable 'mtime' must be private and have accessor methods. | 44 | |
Name 'inode_number' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 50 | |
Variable 'inode_number' must be private and have accessor methods. | 50 |
Violation | Message | Line |
---|---|---|
File length is 2,528 lines (max allowed is 2,000). | 1 | |
Unused import - com.fernsroth.squashfs.model.squashfs.inode_info. | 41 | |
Name 'empty_fragment' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 84 | |
Name 'inode_info' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 94 | |
Name 'global_uid' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 104 | |
Name 'global_gid' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 109 | |
Name 'directory_data_cache' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 114 | |
Name 'directory_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 119 | |
Name 'directory_cache_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 124 | |
Name 'total_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 129 | |
Name 'uid_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 134 | |
Name 'total_inode_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 139 | |
Name 'total_directory_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 144 | |
Name 'guid_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 149 | |
Name 'inode_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 154 | |
Name 'directory_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 159 | |
Name 'file_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 164 | |
Name 'dup_files' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 169 | |
Name 'inode_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 174 | |
Name 'dev_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 179 | |
Name 'fifo_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 184 | |
Name 'sock_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 189 | |
Name 'dir_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 194 | |
Name 'sym_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 199 | |
Name 'root_inode_number' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 214 | |
Name 'fragment_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 239 | |
Name 'check_data' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 259 | |
Name 'no_fragments' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 269 | |
Name 'always_use_fragments' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 274 | |
Name 'duplicate_checking' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 279 | |
Name 'block_offset' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 289 | |
Name 'dir_inode_no' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 294 | |
Name 'inode_no' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 307 | |
Name 'directory_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 312 | |
Name 'cache_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 317 | |
Name 'inode_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 322 | |
Name 'inode_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 327 | |
Name 'block_device' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 332 | |
Name 'data_cache' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 337 | |
Name 'fragment_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 342 | |
Name 'fragment_data' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 347 | |
Name 'total_uncompressed' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 352 | |
Name 'total_compressed' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 357 | |
Name 'cache_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 367 | |
Name 'directory_cache_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 372 | |
Name 'st_dev' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 382 | |
Name 'cached_fragment' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 387 | |
Name 'cached_frag1' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 392 | |
'65536' is a magic number. | 397 | |
Name 'frag_dups' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 402 | |
'65536' is a magic number. | 402 | |
Unused @param tag for 'dir'. | 425 | |
Avoid inline conditionals. | 438 | |
'3' is a magic number. | 438 | |
Avoid inline conditionals. | 460 | |
Inner assignments should be avoided. | 482 | |
Inner assignments should be avoided. | 502 | |
'16' is a magic number. | 525 | |
Inner assignments should be avoided. | 542 | |
'4096' is a magic number. | 542 | |
'4096' is a magic number. | 543 | |
'4096' is a magic number. | 545 | |
'4' is a magic number. | 549 | |
'4' is a magic number. | 549 | |
Avoid inline conditionals. | 552 | |
Avoid inline conditionals. | 556 | |
Avoid inline conditionals. | 558 | |
Avoid inline conditionals. | 560 | |
Avoid inline conditionals. | 560 | |
'1024.0' is a magic number. | 563 | |
'1024.0' is a magic number. | 564 | |
'1024.0' is a magic number. | 564 | |
'100.0' is a magic number. | 569 | |
'1024.0' is a magic number. | 571 | |
'1024.0' is a magic number. | 575 | |
'100.0' is a magic number. | 580 | |
'1024.0' is a magic number. | 584 | |
'100.0' is a magic number. | 589 | |
Expected @param tag for 'l'. | 627 | |
Expected @param tag for 'l'. | 639 | |
Name 'write_fragment_table' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 653 | |
Name 'frag_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 654 | |
Name 'meta_blocks' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 656 | |
Name 'start_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 658 | |
Name 'compressed_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 660 | |
Name 'c_byte' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 661 | |
Name 'cbuffer_rand' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 663 | |
Name 'cbuffer_out' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 664 | |
Name 'buffer_rand' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 667 | |
Name 'buffer_out' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 668 | |
Name 'avail_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 690 | |
Avoid inline conditionals. | 690 | |
Expected @param tag for 'd'. | 743 | |
Expected @param tag for 's'. | 743 | |
Expected @param tag for 'size'. | 744 | |
Expected @param tag for 'block_size'. | 744 | |
Name 'block_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 744 | |
Expected @param tag for 'uncompressed'. | 744 | |
Expected @param tag for 'data_block'. | 744 | |
Name 'data_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 744 | |
Name 'c_byte' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 746 | |
Avoid inline conditionals. | 761 | |
Name 'write_directories' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 773 | |
Name 'start_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 774 | |
Name 'c_byte' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 776 | |
Name 'avail_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 777 | |
Avoid inline conditionals. | 788 | |
Name 'directory_table_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 790 | |
Name 'directory_table_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 792 | |
Name 'directory_data_cache_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 795 | |
Expected @param tag for 'prev'. | 834 | |
Expected @param tag for 'new_size'. | 834 | |
Name 'new_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 834 | |
Expected @param tag for 'prev'. | 847 | |
Expected @param tag for 'new_size'. | 848 | |
Name 'new_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 848 | |
Expected @param tag for 'prev'. | 861 | |
Expected @param tag for 'new_size'. | 861 | |
Name 'new_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 861 | |
Name 'write_inodes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 872 | |
Name 'c_byte' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 873 | |
Name 'avail_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 874 | |
Name 'start_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 876 | |
Avoid inline conditionals. | 886 | |
Name 'inode_table_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 888 | |
Name 'inode_table_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 890 | |
Name 'data_cache_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 893 | |
Name 'write_fragment' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 929 | |
Name 'compressed_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 930 | |
Name 'fragment_data_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 932 | |
Name 'buffer_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 934 | |
Name 'buffer_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 935 | |
Name 'dir_scan' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 976 | |
Expected @param tag for 'dir'. | 976 | |
Name 'dir_info' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 978 | |
Name 'dir_ent' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 979 | |
Name 'inode_info_var' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 980 | |
Inner assignments should be avoided. | 989 | |
Avoid inline conditionals. | 995 | |
Name 'dir_scan2' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1030 | |
Expected @param tag for 'dir_info'. | 1030 | |
Name 'dir_info' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1030 | |
Name 'squashfs_type' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1032 | |
Name 'duplicate_file' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1033 | |
Name 'dir_ent' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1036 | |
Name 'inode_info_var' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1042 | |
Name 'dir_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1045 | |
Name 'inode_number' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1046 | |
Avoid inline conditionals. | 1046 | |
'{' is followed by whitespace. | 1053 | |
Avoid inline conditionals. | 1057 | |
switch without "default" clause. | 1118 | |
Name 'scan2_freedir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1162 | |
Expected @param tag for 'dir'. | 1162 | |
Name 'write_dir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1174 | |
Expected @param tag for 'dir_info'. | 1174 | |
Name 'dir_info' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1174 | |
Expected @param tag for 'dir'. | 1174 | |
Name 'dir_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1176 | |
Name 'data_space' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1177 | |
Name 'directory_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1178 | |
Name 'directory_offset' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1178 | |
Name 'i_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1178 | |
Name 'c_byte' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1179 | |
Name 'realloc_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1182 | |
Avoid inline conditionals. | 1182 | |
Name 'dir_header' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1191 | |
Name 'buff_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1197 | |
Name 'buff_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1199 | |
Name 'directory_data_cache_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1206 | |
Name 'directory_table_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1238 | |
Name 'directory_table_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1240 | |
Name 'directory_data_cache_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1243 | |
'3' is a magic number. | 1284 | |
'3' is a magic number. | 1288 | |
Name 'dirbuff_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1293 | |
Name 'dirbuff_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1295 | |
Name 'add_dir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1347 | |
Expected @param tag for 'inode'. | 1347 | |
Expected @param tag for 'inode_number'. | 1347 | |
Name 'inode_number' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1347 | |
Expected @param tag for 'name'. | 1347 | |
Expected @param tag for 'type'. | 1347 | |
Expected @param tag for 'dir'. | 1348 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1350 | |
'16' is a magic number. | 1350 | |
'0xffff' is a magic number. | 1352 | |
Inner assignments should be avoided. | 1354 | |
Inner assignments should be avoided. | 1364 | |
'256' is a magic number. | 1367 | |
'32767' is a magic number. | 1371 | |
'-32768' is a magic number. | 1372 | |
Name 'dir_header' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1374 | |
Name 'zbuffer_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1397 | |
Name 'buff_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1402 | |
Name 'buff_out' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1405 | |
Name 'zbuffer_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1426 | |
Name 'buff_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1430 | |
Name 'scan2_readdir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1448 | |
Expected @param tag for 'dir'. | 1448 | |
Expected @param tag for 'dir_info'. | 1448 | |
Name 'dir_info' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1448 | |
Name 'current_count' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1450 | |
Name 'scan2_init_dir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1468 | |
Expected @param tag for 'dir'. | 1468 | |
Inner assignments should be avoided. | 1472 | |
'256' is a magic number. | 1473 | |
Inner assignments should be avoided. | 1476 | |
More than 7 parameters. | 1494 | |
Name 'create_inode' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1494 | |
Expected @param tag for 'dir_ent'. | 1494 | |
Name 'dir_ent' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1494 | |
Expected @param tag for 'type'. | 1494 | |
Expected @param tag for 'byte_size'. | 1494 | |
Name 'byte_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1494 | |
Expected @param tag for 'start_block'. | 1495 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1495 | |
Expected @param tag for 'offset'. | 1495 | |
Expected @param tag for 'block_list'. | 1495 | |
Name 'block_list' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1495 | |
Expected @param tag for 'block_listp'. | 1495 | |
Name 'block_listp' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1495 | |
Expected @param tag for 'fragment'. | 1496 | |
Expected @param tag for 'dir_in'. | 1496 | |
Name 'dir_in' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1496 | |
Name 'inode_header' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1499 | |
Name 'inode_number' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1500 | |
Avoid inline conditionals. | 1500 | |
Name 'inode_offset' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1502 | |
Avoid inline conditionals. | 1523 | |
Avoid inline conditionals. | 1526 | |
Avoid inline conditionals. | 1527 | |
'4' is a magic number. | 1536 | |
Name 'inode_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1546 | |
Name 'inode_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1547 | |
Name 'zbuffer_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1549 | |
'for' construct must use '{}'s. | 1564 | |
Avoid inline conditionals. | 1644 | |
Name 'inode_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1651 | |
Name 'zbuffer_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1652 | |
'65536' is a magic number. | 1685 | |
Inner assignments should be avoided. | 1687 | |
'65536' is a magic number. | 1687 | |
'65536' is a magic number. | 1691 | |
Name 'inode_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1705 | |
Name 'zbuffer_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1706 | |
Name 'i_no' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1738 | |
Name 'MKINODE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1775 | |
Expected @param tag for 'inode_offset'. | 1775 | |
Name 'inode_offset' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1775 | |
'16' is a magic number. | 1776 | |
Name 'get_inode' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1785 | |
Expected @param tag for 'req_size'. | 1785 | |
Name 'req_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1785 | |
Name 'data_space' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1786 | |
Name 'c_byte' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1787 | |
Name 'inode_table_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1789 | |
Name 'inode_table_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1791 | |
Name 'data_cache_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1793 | |
Name 'realloc_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1832 | |
Avoid inline conditionals. | 1832 | |
Name 'get_inode_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1849 | |
Expected @param tag for 'offset'. | 1849 | |
Name 'get_guid' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1860 | |
Expected @param tag for 'uid'. | 1860 | |
Expected @param tag for 'guid'. | 1860 | |
Must have at least one statement. | 1867 | |
Name 'get_uid' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1887 | |
Expected @param tag for 'uid'. | 1887 | |
Must have at least one statement. | 1890 | |
Name 'write_file' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1915 | |
Expected @param tag for 'dir_ent'. | 1915 | |
Name 'dir_ent' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1915 | |
Expected @param tag for 'size'. | 1915 | |
Expected @param tag for 'duplicate_file'. | 1915 | |
Name 'duplicate_file' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1915 | |
Name 'read_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1917 | |
Avoid inline conditionals. | 1917 | |
Name 'allocated_blocks' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1920 | |
Name 'block_list' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1921 | |
Name 'block_listp' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1922 | |
Name 'frag_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1923 | |
Name 'whole_file' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1925 | |
Name 'c_buffer' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1926 | |
Name 'file_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1930 | |
Name 'c_byte' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1933 | |
Name 'dupl_ptr' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1935 | |
Name 'buff_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1938 | |
Inner assignments should be avoided. | 1945 | |
Avoid nested blocks. | 1961 | |
Name 'bytes_var' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1962 | |
Name 'c_buffer_array' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1966 | |
Name 'c_buffer_stream' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1968 | |
Name 'available_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1973 | |
Avoid inline conditionals. | 1974 | |
Name 'zzblock_listp' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 1999 | |
'{' is followed by whitespace. | 1999 | |
'{' is followed by whitespace. | 2000 | |
'{' is followed by whitespace. | 2001 | |
Inner assignments should be avoided. | 2003 | |
Name 'zzblock_listp' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2014 | |
'{' is followed by whitespace. | 2014 | |
'{' is followed by whitespace. | 2015 | |
'{' is followed by whitespace. | 2016 | |
Inner assignments should be avoided. | 2018 | |
'30' is a magic number. | 2040 | |
More than 7 parameters. | 2064 | |
Expected @param tag for 'get_next_file_block'. | 2064 | |
Name 'get_next_file_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2064 | |
Expected @param tag for 'file_start'. | 2065 | |
Name 'file_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2065 | |
Expected @param tag for 'bytesarg'. | 2065 | |
Expected @param tag for 'block_list'. | 2066 | |
Name 'block_list' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2066 | |
Expected @param tag for 'start'. | 2066 | |
Expected @param tag for 'blocks'. | 2066 | |
Expected @param tag for 'fragment'. | 2066 | |
Expected @param tag for 'frag_data'. | 2067 | |
Name 'frag_data' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2067 | |
Expected @param tag for 'frag_bytes'. | 2067 | |
Name 'frag_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2067 | |
Name 'fragment_checksum' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2071 | |
Name 'dupl_ptr' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2073 | |
Avoid inline conditionals. | 2075 | |
'for' construct must use '{}'s. | 2078 | |
Name 'dup_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2083 | |
Name 'dup_start' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2084 | |
Name 'avail_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2088 | |
Avoid inline conditionals. | 2088 | |
Name 'fragment_buffer1' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2102 | |
Name 'get_fragment' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2166 | |
Expected @param tag for 'buffer'. | 2166 | |
Expected @param tag for 'fragment'. | 2166 | |
Name 'disk_fragment' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2168 | |
Expected @param tag for 'buffer'. | 2195 | |
Expected @param tag for 'offset'. | 2195 | |
Expected @param tag for 'buffer'. | 2207 | |
Expected @param tag for 'buffer1'. | 2207 | |
Expected @param tag for 'avail_bytes'. | 2207 | |
Name 'avail_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2207 | |
Name 'get_checksum' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2226 | |
Expected @param tag for 'get_next_file_block'. | 2226 | |
Name 'get_next_file_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2226 | |
Expected @param tag for 'handle'. | 2227 | |
Expected @param tag for 'l'. | 2227 | |
Name 'bytes_var' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2229 | |
Avoid inline conditionals. | 2235 | |
Avoid inline conditionals. | 2241 | |
'0x8000' is a magic number. | 2241 | |
Name 'get_and_fill_fragment' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2256 | |
Expected @param tag for 'buff'. | 2256 | |
Expected @param tag for 'size'. | 2256 | |
'if' construct must use '{}'s. | 2260 | |
Name 'dir_scan1' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2287 | |
Expected @param tag for 'path'. | 2287 | |
Expected @param tag for 'destDir'. | 2287 | |
Name 'sub_dir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2289 | |
Name 'dir_name' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2292 | |
Inner assignments should be avoided. | 2294 | |
'if' construct must use '{}'s. | 2310 | |
Inner assignments should be avoided. | 2310 | |
'else' construct must use '{}'s. | 2313 | |
Name 'add_dir_entry' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2334 | |
Expected @param tag for 'name'. | 2334 | |
Expected @param tag for 'pathname'. | 2334 | |
Expected @param tag for 'sub_dir'. | 2334 | |
Name 'sub_dir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2334 | |
Expected @param tag for 'inode_info_param'. | 2335 | |
Name 'inode_info_param' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2335 | |
Expected @param tag for 'data'. | 2335 | |
Expected @param tag for 'dir'. | 2335 | |
'if' construct must use '{}'s. | 2343 | |
Avoid inline conditionals. | 2346 | |
Name 'lookup_inode' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2360 | |
Expected @param tag for 'buf'. | 2360 | |
Inner assignments should be avoided. | 2363 | |
Name 'sort_directory' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2402 | |
Expected @param tag for 'dir'. | 2402 | |
'257' is a magic number. | 2416 | |
Name 'scan1_freedir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2424 | |
Expected @param tag for 'dir'. | 2424 | |
Name 'scan1_opendir' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2432 | |
Expected @param tag for 'path'. | 2432 | |
Inner assignments should be avoided. | 2442 | |
Inner assignments should be avoided. | 2442 | |
Inner assignments should be avoided. | 2442 | |
Name 'read_from' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2459 | |
Expected @param tag for 'handle'. | 2459 | |
Expected @param tag for 'avail_bytes'. | 2459 | |
Name 'avail_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2459 | |
Name 'read_from_buffer' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 2466 | |
Name 'read_from' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2471 | |
Name 'avail_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2471 | |
Name 'read_from_file' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 2483 | |
Name 'read_from_file_buffer' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2488 | |
Variable 'read_from_file_buffer' must be private and have accessor methods. | 2488 | |
Name 'read_from' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2494 | |
Name 'avail_bytes' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 2494 | |
Expected @param tag for 'bf'. | 2509 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_reg_inode_header' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 17 | |
Name 'start_block' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 23 | |
Variable 'start_block' must be private and have accessor methods. | 23 | |
Variable 'fragment' must be private and have accessor methods. | 29 | |
Variable 'offset' must be private and have accessor methods. | 35 | |
Name 'file_size' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 41 | |
Variable 'file_size' must be private and have accessor methods. | 41 | |
Name 'block_list' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 46 | |
Variable 'block_list' must be private and have accessor methods. | 46 |
Violation | Message | Line |
---|---|---|
Name 'squashfs_dev_inode_header' must match pattern '^[A-Z][a-zA-Z0-9]*$'. | 13 |