------- --- --- --- --- --- --- Project rev com run mnt sec oth ------- --- --- --- --- --- --- BPL 4 46 1 46 0 0 CR 8 11 1 2 0 2 GSMT 3 0 0 0 0 0 MPR 1 1 0 0 0 0 MTU 2 1 0 0 0 0 SEA 14 11 2 7 1 2 SL 9 4 1 3 0 0 VMT 15 0 0 0 0 0 VSDEV 93 113 5 6 0 6 VT 17 18 7 32 0 2 ZAF 13 22 20 4 0 0 ------- --- --- --- --- --- --- TOTAL 179 227 37 100 1 12 ----------------------- ------ ------ maintenance defects count % ----------------------- ------ ------ Code Quailty - Incorrect parameter passing mode (by ref vs by val, etc) 6 4.0 Code Quality - Code not portable 2 1.3 Code Quality - Code unnecessarily complex 1 0.6 Code Quality - Magic number / String literal 6 4.0 Code Quality - Redundant code 7 4.6 Code Quality - Unit too large 1 0.6 Design - Appropriate re-use opportunity not exploited 7 4.6 Design - Design query 5 3.3 Design - Variable / constant defined but not used 2 1.3 Documentation - Comments do not match code logic 8 5.3 Documentation - Inadequate comments 38 25.3 Documentation - Non-compliance to relevant Coding Standard 5 3.3 Documentation - Unnecessary comments 1 0.6 Other Maintenance Defect - Refer to comment 11 7.3 ----------------------- ------ ------ Total maintenance 100 66.1 ----------------------- ------ ------ ----------------------- ------ ------ runtime defects count % ----------------------- ------ ------ Initialisation - Missing / redundant copy constructor or assignment operator 1 0.6 Initialisation - Variable not initialised or initialised incorrectly 5 3.3 Logic Bug - Faulty equality test (need tolerance - eg floats / doubles) 1 0.6 Logic Bug - General (not present above) 20 13.3 Logic Bug - Incorrect variable used 2 1.3 Logic Bug - Overflow / underflow possible 1 0.6 Other Runtime Defect - Refer to comment 3 2.0 Resource - Code is not thread safe 1 0.6 Resource - Not released or resource leak 1 0.6 Resource - Not testing for null 2 1.3 ----------------------- ------ ------ Total runtime 37 24.2 ----------------------- ------ ------ ----------------------- ------ ------ security defects count % ----------------------- ------ ------ OWASP - Broken Authentication and Session Management 1 0.6 ----------------------- ------ ------ Total security 1 0.6 ----------------------- ------ ------ Reviews with unclassified defects: [u'CR-6', u'CR-7', u'SEA-98', u'SEA-99', u'VSDEV-307', u'VSDEV-332', u'VSDEV-332', u'VSDEV-332', u'VSDEV-358', u'VSDEV-363', u'VT-67', u'VT-71']