CMU-313 / spring23-nodebb-team-a1

spring23-nodebb-team-a1 created by GitHub Classroom
GNU General Public License v3.0
5 stars 2 forks source link

Enabled complexity-report static analysis tool #25

Closed teresa0605 closed 1 year ago

teresa0605 commented 1 year ago

Description

Enabled complexity-report static analysis tool. The tool generates a complexity report for JavaScript projects.

Solves #23

Testing

The tool has been tested on local repository. A report was successfully generated.

Screen Shot 2023-03-17 at 1 35 31 PM

Usage

cr [options] <path-to-code> Configurations are set in .complexcr. Command-line options overwrite the set configurations.

Available options can be seen https://github.com/escomplex/complexity-report.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4505307727


Files with Coverage Reduction New Missed Lines %
src/admin/versions.js 1 83.33%
src/messaging/notifications.js 1 96.55%
src/controllers/admin/dashboard.js 2 85.26%
src/middleware/admin.js 2 71.54%
<!-- Total: 6 -->
Totals Coverage Status
Change from base Build 4505247231: -0.02%
Covered Lines: 22588
Relevant Lines: 25344

💛 - Coveralls