Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W Wiki Home
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar
  • SDK4ED WikiSDK4ED Wiki
  • Wiki Home
  • Wiki
  • technical debt toolbox usage

technical debt toolbox usage · Changes

Page history
Technical-Debt Usage authored 4 years ago by Angeliki Tsintzira's avatar Angeliki Tsintzira
Hide whitespace changes
Inline Side-by-side
Showing
with 99 additions and 0 deletions
+99 -0
technical-debt-toolbox-usage.md
View page @ 7acb5b33
...@@ -81,5 +81,104 @@ The entry point of the TD Toolbox of Breaking Point Tool is a RESTful web server ...@@ -81,5 +81,104 @@ The entry point of the TD Toolbox of Breaking Point Tool is a RESTful web server
|:------------:|:---------------------------------------------------------------:|:--------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| |:------------:|:---------------------------------------------------------------:|:--------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| projectID | The name of the project. The name should be the same as the name that given through the analysis phase. | Yes | String | | projectID | The name of the project. The name should be the same as the name that given through the analysis phase. | Yes | String |
**Principal Indicators**
Principal indicators include metrics at artefact level. Artefact level is file or class and package level.
**Sample Request**
In this example, we want to retrieve pre analysed data in artefact level for the project with ID ‘HolisunArassistance’.
{GET} http://195.251.210.147:7070/principalIndicators/search?projectID=HolisunArassistance
Headers: -
Authorization: -
**Response**
The response format is like a table (columns, rows). Includes TD in minutes, TD in currency, number of bugs, number of vulnerabilities, number of duplications, and number of code smells for the each artefact. Same output for java and c projects.
```
{ 
   "principalIndicators":{ 
      "columns":[ 
         { 
            "label":"Artifact",
            "field":"name"
         },
         { 
            "label":"TD-minutes",
            "field":"tdInMinutes"
         },
         { 
            "label":"TD-currency",
            "field":"tdInCurrency"
         },
         { 
            "label":"Bugs",
            "field":"bugs"
         },
         { 
            "label":"Vulnerabilities",
            "field":"vulnerabilities"
         },
         { 
            "label":"Duplications",
            "field":"duplCode"
         },
         { 
            "label":"Code Smells",
            "field":"codeSmells"
         }
      ],
      "rows":[ 
         { 
            "name":"com/holisun/arassistance",
            "MtdInMinutesPC":34,
            "tdInCurrency":26,
            "bugs":0,
            "vulnerabilities":0,
            "duplCode":0,
            "codeSmells":8
         },
         { 
            "name":"com/holisun/arassistance/SplashActivity",
            "MtdInMinutesPC":34,
            "tdInCurrency":26,
            "bugs":0,
            "vulnerabilities":0,
            "duplCode":0,
            "codeSmells":8
         }
      ]
   }
}
```
**Principal Summary**
Principal summary includes the same metrics as before but at project level.
**Sample Request**
In this example, we want to retrieve pre analysed data in project level for the project with ID ‘HolisunArassistance’.
{GET} http://195.251.210.147:7070/principalSummary/search?projectID=HolisunArassistance
Headers: -
Authorization: -
**Response**
The response includes TD in minutes, TD in currency, number of bugs, number of vulnerabilities, number of duplications, and number of code smells at project level. Same output for java and c projects.
```
{ 
   "principalSummary":{ 
      "name":"Holisun Arassistance",
      "tdInMinutes":1364,
      "tdInCurrency":1043,
      "bugs":0,
      "vulnerabilities":13,
      "duplCode":30,
      "codeSmells":191
   }
}
```
### TD Interest
Clone repository
  • Advanced
  • Architectural Toolbox Description
  • Architectural Toolbox Front End
  • Architectural Toolbox Home
  • Architectural Toolbox Installation
  • Architectural Toolbox Usage
  • Decision Support Toolbox Description
  • Decision Support Toolbox Front end
  • Decision Support Toolbox Installation
  • Decision Support Toolbox Usage
  • Decision Support Toolbox
  • Energy Toolbox Description
  • Energy Toolbox Front end
  • Energy Toolbox Installation
  • Energy Toolbox Usage
View All Pages

Menu

Explore Projects Groups Snippets