In the portal, when the Line of Code count is low it is displayed only as a percentage and the exact LOC is not available.
Details
The exact count can be known by using the API:
GET WS2/domains/{domainId}/applications/{applicationId}
Will return lines of code by technology in the following format.
"technologies": [
{
"technology": "JavaScript",
"totalLinesOfCode": 265946,
"totalFiles": 3110,
"softwareAgility": 0.654962420463562,
"softwareElegance": 0.6427066326141357,
"softwareResiliency": 0.7204930782318115,
"softwareHealth": 0.6727207104365031,
"softwareAgilityDetail": {
"highLinesOfCode": 22494,
"mediumLinesOfCode": 226381,
"lowLinesOfCode": 17071
},
"softwareEleganceDetail": {
"highLinesOfCode": 26630,
"mediumLinesOfCode": 188927,
"lowLinesOfCode": 50389
},
"softwareResiliencyDetail": {
"highLinesOfCode": 178597,
"mediumLinesOfCode": 66527,
"lowLinesOfCode": 20822
},
"softwareHealthDetail": {
"highLinesOfCode": 75907,
"mediumLinesOfCode": 160611,
"lowLinesOfCode": 29427
}
},
Ticket
29893
Comments