CMU-313 / NodeBB

GNU General Public License v3.0
0 stars 225 forks source link

Refactor createCategory function to reduce cognitive complexity #587

Open heyanuja opened 1 week ago

heyanuja commented 1 week ago

refactors the createCategory function to reduce cognitive complexity from 17 to 15 by moving object construction into a separate function (createCategory)

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

coveralls commented 1 week ago

Pull Request Test Coverage Report for Build 10731678209

Details


Totals Coverage Status
Change from base Build 10607818019: 0.002%
Covered Lines: 22326
Relevant Lines: 25585

💛 - Coveralls