Removing code smells as of tool inspections