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

LOC132,921%
Java71,315*53.7
Web34,92125.8
JavaScript27,31520.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())

 

 ModuleLOCCoverage %
1openlmis-web6809453.9
2core1328250.8
3report124313.2
4vaccine585913.2
5requisition421752.1
6equipment234049.6
7shipment203042.8
8distribution201939.1
9rest-api177364.6
10stock-management124038.7
11demographics96843.6
12help5720
13reporting52662.9
14upload43562.4
15email31131.8
16authentication19021.7
17export1690
18sms960

 

Duplications:  5.7%

Lines:  10,668

 

Documentation:  7.3%

 

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

Issues6,308
Blocker22
Critical488
Major3916
Minor1734
Info148

 

 

ERD

 

OpenLMIS-v2_0-ERD.zip

 

 

 

OpenLMIS: the global initiative for powerful LMIS software