Closed hugorplobo closed 11 months ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Attention: 1975 lines
in your changes are missing coverage. Please review.
Comparison is base (
f151d32
) 46.28% compared to head (1e66f6c
) 38.72%. Report is 28 commits behind head on develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hello, I'm taking a software quality course, and as a final assignment, we were instructed to perform code smell refactorings in open source projects. For this issue I identified the Enum Implicit Value smell in 7 components.
The Enum Implicit Value occurs when an enumeration has no explicit numerical values for each of its variants. This can lead to bugs when the enum values are used in a numerical situation and new variants are introduced, since the typescript compiler will assign an automatic value for each variant.
Code quality metrics were collected with Understand, before and after refactoring, but for this code smell, there was no change.
This pull request contains my refactoring for this smell.