Skip to content

Commit

Permalink
Update metrics.js
Browse files Browse the repository at this point in the history
  • Loading branch information
GRVial authored Jul 12, 2024
1 parent 9ed6b29 commit ec99511
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions scripts/metrics.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
const REPO = '2023.2-PrintGo-FrontEnd'
const REPO = '2024.1-PrintGo-FrontEnd'
const OWNER = 'fga-eps-mds'
const SONAR_ID = 'fga-eps-mds_2023.2-PrintGo-FrontEnd'
const SONAR_ID = 'fga-eps-mds_2024.1-PrintGo-FrontEnd'

const METRIC_LIST = [
'files',
'functions',
'complexity',
'comment_lines_density',
'duplicated_lines_density',
'coverage',
'ncloc',
'tests',
'test_errors',
'test_failures',
'test_execution_time',
'security_rating'
];
const METRIC_LIST = ['files',
'functions',
'complexity',
'comment_lines_density',
'duplicated_lines_density',
'coverage',
'ncloc',
'tests',
'test_errors',
'test_failures',
'test_execution_time',
'security_rating'];

const SONAR_URL = `https://sonarcloud.io/api/measures/component_tree?component=${SONAR_ID}&metricKeys=${METRIC_LIST.join(',')}&ps=500`;

module.exports = {
SONAR_URL,
REPO,
OWNER
};
};

0 comments on commit ec99511

Please sign in to comment.