1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 14:48:49 +00:00
thefuck/README.md
2024-06-21 19:14:05 +02:00

2.0 KiB

Report for Assignment 1 - Group 82

Project Information

Code Metrics

  • Number of lines of code: 547801 (54.7 KLOC)
  • Tool used to measure the number of lines of code: lizard

Lizard-KLOC-Screenshot-output-command

Coverage Measurement

  • Existing tool used to measure the coverage: coverage.py
  • Coverage result: 94%

Coverage.py-Coverage-Measurement Coverage.py-Coverage-Measurement

Tasks

Dmitri Bespalii

Function 1: get_new_command in /rules/cd_correction.py

1. Function Instrumentation

  • Before instrumentation:

Function1-BeforeInstrumentation

  • After instrumentation:

Function1-AfterInstrumentation-1 Function1-AfterInstrumentation-2

  • Write all information about conditional branches to console:

Function1-WriteInformation

2. Coverage Improvement

  • Coverage before adding new tests to the corresponding test file: /tests/rules/test_cd_correction.py

Function1-CoverageBeforeImprov

  • Creating new tests to cover the function

Function1-NewTestsAdded

  • Coverage aftering adding new tests to the corresponding test file: /tests/rules/test_cd_correction.py

Function-CoverageAfterImprov