If you are using GitKraken Client with SSH Key to connect to this gitlab, please read this: https://about.gitlab.com/blog/2021/10/11/notice-for-gitkraken-users-with-gitlab/

Commit cc9f0b9e authored by Marc Daniel Keilmann's avatar Marc Daniel Keilmann
Browse files

Finally

parent 6c0841bc
......@@ -58,8 +58,8 @@ function EsoToDataModel(data, element) {
dto.filepath = element.result["reports"][i]["path"];
try{
dto.metricsObject.complexity_metric = EsoComplexMetrics["cyclomatic"];
dto.metricsObject.linesOfCode_metric = EsoComplexMetrics["sloc"]["logical"];
dto.metricsObject.numerOfMethods_metric = EsoComplexMetrics["params"];;
dto.metricsObject.linesOfCode_metric = EsoComplexMetrics["sloc"]["physical"];
dto.metricsObject.numerOfMethods_metric = element.result.reports[i]["loc"];;
dto.metricsObject.functionCount_metric += 0;
dto.metricsObject.numberOfVariables_metric = 0;
logger.info("Finished adding Metric parameters to DataModel");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment