-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
RF2 : complexity-assessment : 5for developer without specialization; 3 is the simplest, 89 is the most complex, step +66%for developer without specialization; 3 is the simplest, 89 is the most complex, step +66%RF2 : for-student : 6recomended for that many studentsrecomended for that many studentsRF2 : year : 2025recomended year to implement as projectworkrecomended year to implement as projectworkheap : 2025 : premissakind : bugkind : refactoringstate : triagethe issue is incomplete or stub should be extended to serve as a fully-fledged issuethe issue is incomplete or stub should be extended to serve as a fully-fledged issue
Description
CodeMetropolis was chosen as a project in the Software Testing course. The students tested the application and found some issues that should be checked and corrected.
SonarLint provided the following results:
The current task is the following:
- This task is a refactoring. Before starting working on this task, review the refactoring parts of our curriculum. See: https://okt.inf.szte.hu/rf2/tananyag/08.html
- Focus on only major and critical issues!
- Review all issues mentioned before modifying them.
- Define constant instead of duplicating this literal.
- Add a default case to switches.
- Refactor methods to reduce its Cognitive Complexity.
- Disable access to external entities in XML parsing.
Acceptance criteria:
The issues enumerated in the previous paragraph have been reviewed, and the necessary corrections have been made.
Metadata
Metadata
Assignees
Labels
RF2 : complexity-assessment : 5for developer without specialization; 3 is the simplest, 89 is the most complex, step +66%for developer without specialization; 3 is the simplest, 89 is the most complex, step +66%RF2 : for-student : 6recomended for that many studentsrecomended for that many studentsRF2 : year : 2025recomended year to implement as projectworkrecomended year to implement as projectworkheap : 2025 : premissakind : bugkind : refactoringstate : triagethe issue is incomplete or stub should be extended to serve as a fully-fledged issuethe issue is incomplete or stub should be extended to serve as a fully-fledged issue
