Data processing: remove inefficient statements - JetBrains-Research/task-tracker-post-processing GitHub Wiki

Description

This module allows to remove inefficient statements in the files. We use pylint library to detect such kinds of statements. For example, in the code fragment:

a = input()
print

the statement print is an inefficient statement.

Note: available only for Python language.

Usage

Use remove_inefficient_statements method from inefficient_statements_removing.py.

Argument Description
path path to a directory with files in a single language
output_directory_prefix the output directory name prefix. The default value is remove_inefficient_statements

An example of the root input directory structure before usage:

-root
  --python
   ---task1
    ----user_N1_files
  --cpp
   ---task1
    ----user_N2_files