------- --- --- --- --- --- --- Project rev com run mnt sec oth ------- --- --- --- --- --- --- BPL 19 90 5 4 0 0 MBU 1 0 0 0 0 0 MPR 2 0 0 0 0 0 MTU 2 1 0 0 0 0 SEA 4 0 1 1 0 3 SL 17 15 0 0 0 0 VMT 3 0 0 0 0 0 VSDEV 61 210 17 60 0 5 VT 10 11 0 0 0 0 VXP 6 4 0 0 0 0 ZAF 16 13 10 2 0 0 eO 8 0 0 0 0 0 eOSure 1 0 0 0 0 0 ------- --- --- --- --- --- --- TOTAL 150 344 33 67 0 8 ----------------------- ------ ------ maintenance defects count % ----------------------- ------ ------ Code Quality - Code not portable 1 0.9 Code Quality - Code unnecessarily complex 1 0.9 Code Quality - Incorrect use of public / protected / private 1 0.9 Code Quality - Magic number / String literal 5 4.6 Code Quality - Redundant code 6 5.5 Design - Appropriate re-use opportunity not exploited 3 2.7 Design - Design query 4 3.7 Design - Variable / constant defined but not used 1 0.9 Documentation - Comments do not match code logic 6 5.5 Documentation - Inadequate comments 18 16.6 Documentation - Non-compliance to relevant Coding Standard 4 3.7 Documentation - Unnecessary comments 2 1.8 Other Maintenance Defect - Refer to comment 12 11.1 Unit Testing - Insufficient unit testing 2 1.8 Unit Testing - Unit test pass / fail conditions incorrect 1 0.9 ----------------------- ------ ------ Total maintenance 67 61.5 ----------------------- ------ ------ ----------------------- ------ ------ runtime defects count % ----------------------- ------ ------ Error Handling - Incorrect error / exception returned / raised 4 3.7 Error Handling - Not handling errors / exceptions in destructor 1 0.9 Error Handling - Possible error / exception not handled 5 4.6 Initialisation - Variable not initialised or initialised incorrectly 6 5.5 Logic Bug - Faulty equality test (need tolerance - eg floats / doubles) 1 0.9 Logic Bug - General (not present above) 9 8.3 Logic Bug - Incorrect variable used 2 1.8 Other Runtime Defect - Refer to comment 1 0.9 Resource - Not testing for null 4 3.7 ----------------------- ------ ------ Total runtime 33 30.3 ----------------------- ------ ------ ----------------------- ------ ------ security defects count % ----------------------- ------ ------ ----------------------- ------ ------ Total security 0 0.0 ----------------------- ------ ------