------- --- --- --- --- --- --- Project rev com run mnt sec oth ------- --- --- --- --- --- --- BPL 49 356 23 90 0 1 CBE 9 0 0 0 0 0 CR 71 146 12 29 0 2 EMV 16 2 0 0 0 0 GSMT 36 42 26 76 0 1 HOPS 2 0 0 0 0 0 ITSOTRACSPER 4 4 0 0 0 0 ITSRTPI 23 99 11 48 0 69 MASS 9 24 0 5 0 0 MBU 44 77 1 10 0 0 MPR 1 1 0 0 0 0 MTU 13 29 0 5 0 0 SEA 133 163 22 32 2 8 SL 251 274 15 20 0 0 Test 8 0 0 0 0 0 VMT 49 1 0 0 0 0 VSDEV 617 1206 97 355 1 24 VT 114 154 22 71 1 3 VT-COBRA-SSU 3 1 0 0 0 0 VXP 4 6 0 0 0 0 ZAF 342 451 160 289 2 12 eO 41 3 0 0 0 0 eOSure 63 2 0 0 0 0 ------- --- --- --- --- --- --- TOTAL 1902 3041 389 1030 6 120 ----------------------- ------ ------ maintenance defects count % ----------------------- ------ ------ Code Quailty - Incorrect parameter passing mode (by ref vs by val, etc) 8 0.4 Code Quality - Code not portable 7 0.4 Code Quality - Code unnecessarily complex 21 1.3 Code Quality - Incorrect use of public / protected / private 4 0.2 Code Quality - Magic Number / Literal 9 0.5 Code Quality - Magic number / String literal 162 10.0 Code Quality - Performance issue 5 0.3 Code Quality - Redundant Code 5 0.3 Code Quality - Redundant code 117 7.2 Code Quality - Unit too large 8 0.4 Design - Appropriate re-use opportunity not exploited 51 3.1 Design - Design query 78 4.8 Design - Inappropriate re-use 4 0.2 Design - Not using appropriate package / class / component / library 17 1.0 Design - Variable / constant defined but not used 12 0.7 Design - Variable/constant defined but not used 1 0.0 Documentation - Comments do not match code logic 113 7.0 Documentation - Inadequate comments 206 12.8 Documentation - Non-compliance to relevant Coding Standard 72 4.4 Documentation - Unnecessary comments 25 1.5 Interface - Code does not meet interface spec 7 0.4 Interface - Code does something interface does not specify 2 0.1 Other Maintenance Defect - Refer to comment 90 5.6 Unit Testing - Insufficient unit testing 6 0.3 ----------------------- ------ ------ Total maintenance 1030 62.9 ----------------------- ------ ------ ----------------------- ------ ------ runtime defects count % ----------------------- ------ ------ Error Handling - Incorrect error / exception returned / raised 19 1.1 Error Handling - Not handling errors / exceptions in destructor 3 0.1 Error Handling - Possible error / exception not handled 45 2.8 Error Handling - possible error/exception not handled 3 0.1 Initialisation - Missing / redundant copy constructor or assignment operator 1 0.0 Initialisation - Variable incorrectly or not initialised 1 0.0 Initialisation - Variable not initialised or initialised incorrectly 42 2.6 Logic Bug - Date calculation (leap year etc) error 2 0.1 Logic Bug - Faulty equality test (need tolerance - eg floats / doubles) 5 0.3 Logic Bug - Faulty equality test (need tolerance - esp floats/doubles) 1 0.0 Logic Bug - General 1 0.0 Logic Bug - General (not present above) 95 5.9 Logic Bug - Inappropriate use of assertions 1 0.0 Logic Bug - Incorrect type used or conversion 7 0.4 Logic Bug - Incorrect variable used 33 2.0 Logic Bug - Overflow / underflow possible 16 0.9 Logic Bug - Precedence Error 2 0.1 Loop and Array - Incorrect exit from loop 1 0.0 Loop and Array - Infinite loop possible 5 0.3 Other Runtime Defect - Refer to comment 20 1.2 Resource - Code is not thread safe 3 0.1 Resource - Not released or resource leak 7 0.4 Resource - Not testing for null 75 4.6 Resource - not testing for NULL 1 0.0 ----------------------- ------ ------ Total runtime 389 23.0 ----------------------- ------ ------ ----------------------- ------ ------ security defects count % ----------------------- ------ ------ OWASP - Broken Authentication and Session Management 1 0.0 OWASP - Security Misconfiguration 1 0.0 OWASP - Sensitive Data Exposure 1 0.0 Other Security Defect - Refer to comment 3 0.1 ----------------------- ------ ------ Total security 6 0.1 ----------------------- ------ ------