mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 14:48:49 +00:00
2.0 KiB
2.0 KiB
Report for Assignment 1 - Group 82
Project Information
- Name: TheFuck - Magnificent app which corrects your previous console command
- URL: https://github.com/dimalarcon/SEP2024-Group82-thefuck
- Programming Language: Python
Code Metrics
- Number of lines of code: 547801 (54.7 KLOC)
- Tool used to measure the number of lines of code: lizard
Coverage Measurement
- Existing tool used to measure the coverage: coverage.py
- Coverage result: 94%
Tasks
Dmitri Bespalii
Function 1: get_new_command in /rules/cd_correction.py
1. Function Instrumentation
- Before instrumentation:
- After instrumentation:
- Write all information about conditional branches to console:
2. Coverage Improvement
- Coverage before adding new tests to the corresponding test file: /tests/rules/test_cd_correction.py
- Creating new tests to cover the function
- Coverage aftering adding new tests to the corresponding test file: /tests/rules/test_cd_correction.py