OpenLMIS v2.0 Development Metrics - WIP

OpenLMIS v2.0 Development Metrics - WIP

Commit:  81b2e79d0831cd1a139cd8aa436d694f23318e5b

Tag:  v2.0

Date:  Mar 8 2016

Size and Structure

Note that the below analysis excludes all unit and integration tests.  Some metrics include smoke tests as found in test-modules/

 

LOC:  132,921*

***doesn't add up

LOC

132,921

%

Java

71,315*

53.7

Web

34,921

25.8

JavaScript

27,315

20.5

*includes 16,324 Java LOC in test-modules directory.  These are mostly selenium tests that have not been utilized in past ~2 years.

 

Overall Coverage:  38%

Tests:  2,814

Skipped test:  1  (org.openlmis.order.service.OrderServiceTest#shouldCovertRequistionsToOrderWithStatusTransferFailed())

 

Module

LOC

Coverage %

1

openlmis-web

68094

53.9

2

core

13282

50.8

3

report

12431

3.2

4

vaccine

5859

13.2

5

requisition

4217

52.1

6

equipment

2340

49.6

7

shipment

2030

42.8

8

distribution

2019

39.1

9

rest-api

1773

64.6

10

stock-management

1240

38.7

11

demographics

968

43.6

12

help

572

0

13

reporting

526

62.9

14

upload

435

62.4

15

email

311

31.8

16

authentication

190

21.7

17

export

169

0

18

sms

96

0

 

Duplications:  5.7%

Lines:  10,668

 

Documentation:  7.3%

 

Technical Debt:  171 days (SonarWay, Sonar 5.3, default, 8hr days)

Issues

6,308

Blocker

22

Critical

488

Major

3916

Minor

1734

Info

148

 

 

ERD

 

 

 

 

Comments

OpenLMIS: the global initiative for powerful LMIS software