Closed joshRpowell closed 4 years ago
@joshRpowell Thanks for submitting this issue!
I'm open to that, but what if we changed that line to say width: 1000
? Also, I'm curious, what makes the table exceed the width? Is it because you have paths that are too long?
I also had this same issue.
I used EDITOR=code gem open skunk
and change the width to 1000. I ran it again and it worked!
The table portion of the output was not readable in the terminal, but not bad once you pipe it to a file:
| 5 | 0.0 | 0 |
| gems/sentry_request_id/spec/spec_helper.rb | 0.0 | 0.0 | 9 | 0.0 | 0 |
| app/workers/migrations/add_deleted_at_index_to_live_course_web_conferences.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/file_service/spec/dummy/config/initializers/mime_types.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| gems/sentry_request_id/lib/sentry_request_id.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| config/initializers/session_store.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/policies/permission_policy.rb | 0.0 | 0.0 | 8 | 0.0 | 0 |
| app/policies/user_account_policy.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| config/initializers/filter_parameter_logging.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/controllers/concerns/bridge_suite_shareable.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/sentry_sidekiq/spec/spec_helper.rb | 0.0 | 0.0 | 9 | 0.0 | 0 |
| config/initializers/bridge_perform.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| config/initializers/heartbeat.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/policies/token_policy.rb | 0.0 | 0.0 | 6 | 0.0 | 0 |
| app/policies/reports/deep_dive_report_policy.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/policies/reports/course_status_report_policy.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/policies/reports/live_course_enrollments_report_policy.rb | 0.0 | 0.0 | 9 | 0.0 | 0 |
| app/policies/reports/course_enrollments_report_policy.rb | 0.0 | 0.0 | 9 | 0.0 | 0 |
| gems/sentry_sidekiq/lib/sentry_sidekiq.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| config/initializers/multi_tenancy.rb | 0.0 | 0.0 | 13 | 0.0 | 0 |
| gems/bridge_cli/spec/spec_helper.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/models/group_enrollment/version.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| gems/bridge_cli/spec/api/list_spec.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| config/initializers/bullet.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/bridge_cli/spec/api/dump_spec.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| config/initializers/aws_dynamodb.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/helpers/author_task_helper.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/file_service/spec/dummy/config/initializers/filter_parameter_logging.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| config/initializers/backtrace_silencers.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| config/initializers/mailer.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| config/boot.rb | 0.0 | 0.0 | 5 | 0.0 | 0 |
| app/models/mailed_notification.rb | 0.0 | 0.0 | 5 | 0.0 | 0 |
| app/workers/migrations/add_deleted_at_related_indexes_to_tokens.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/bridge_cli/lib/bridge_cli/init.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/models/sub_account_admin.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| config/application.rb | 0.0 | 0.0 | 53 | 0.0 | 0 |
| config/environment.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/helpers/author_program_helper.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/models/enrollment/version.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/helpers/learner_survey_helper.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/helpers/learner_program_helper.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/file_service/spec/dummy/config/initializers/session_store.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/policies/reports/course_report_policy.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/policies/reports/quiz_report_policy.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/policies/reports/users_report_policy.rb | 0.0 | 0.0 | 7 | 0.0 | 0 |
| gems/bridge_cli/lib/bridge_cli/boot.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/policies/reports/program_enrollments_report_policy.rb | 0.0 | 0.0 | 9 | 0.0 | 0 |
| app/policies/reports/quiz_short_answer_report_policy.rb | 0.0 | 0.0 | 10 | 0.0 | 0 |
| gems/bridge_cli/lib/bridge_cli/version.rb | 0.0 | 0.0 | 5 | 0.0 | 0 |
| gems/file_service/spec/dummy/config/initializers/wrap_parameters.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/policies/reports/quiz_questions_report_policy.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| config/environments/test.rb | 0.0 | 0.0 | 14 | 0.0 | 0 |
| app/policies/reports/sign_in_report_policy.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/policies/reports/survey_results_report_policy.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| gems/sidekiq_debouncer/spec/spec_helper.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| gems/sidekiq_debouncer/lib/sidekiq/debouncer/version.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| gems/sidekiq_debouncer/lib/sidekiq_debouncer.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/current_request/spec/spec_helper.rb | 0.0 | 0.0 | 10 | 0.0 | 0 |
| gems/current_request/lib/current_request.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/policies/reports/course_attempts_report_policy.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/helpers/approver_task_helper.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| gems/request_throttling/lib/request_throttling.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/helpers/author_course_helper.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/policies/reports/completed_learners_report_policy.rb | 0.0 | 0.0 | 7 | 0.0 | 0 |
| gems/ar_postgresql_references/lib/ar_postgresql_references/version.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/services/salesforce/errors.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/acct/spec/spec_helper.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/services/sns_service.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/acct/lib/acct.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/acct/lib/acct/version.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/redirect_unauthorized/spec/spec_helper.rb | 0.0 | 0.0 | 8 | 0.0 | 0 |
| gems/redirect_unauthorized/lib/redirect_unauthorized.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/canvas_breach_mitigation/spec/spec_helper.rb | 0.0 | 0.0 | 7 | 0.0 | 0 |
| gems/canvas_breach_mitigation/lib/canvas_breach_mitigation.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/zuul/spec/support/request/foo.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/policies/reports/overdue_learners_report_policy.rb | 0.0 | 0.0 | 6 | 0.0 | 0 |
| gems/zuul/spec/support/request/registry_key_not_defined.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/zuul/spec/support/request/test_request.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/policies/reports/incomplete_learners_report_policy.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/zuul/spec/lib/zuul/request/delete_role_spec.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/policies/reports/task_enrollments_report_policy.rb | 0.0 | 0.0 | 11 | 0.0 | 0 |
| gems/zuul/spec/lib/zuul/request/delete_grants_spec.rb | 0.0 | 0.0 | 5 | 0.0 | 0 |
| gems/zuul/spec/lib/zuul/request/delete_grant_spec.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/zuul/spec/lib/zuul/request/create_request_shared_examples.rb | 0.0 | 0.0 | 5 | 0.0 | 0 |
| gems/zuul/spec/lib/zuul/request/update_role_spec.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/policies/reports/enrollments_report_policy.rb | 0.0 | 0.0 | 6 | 0.0 | 0 |
| app/models/auth/salesforce.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/services/calendar/action.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/policies/reports/course_attempt_summary_report_policy.rb | 0.0 | 0.0 | 10 | 0.0 | 0 |
| app/models/live_course_session/version.rb | 0.0 | 0.0 | 6 | 0.0 | 0 |
| app/policies/grant_policy.rb | 0.0 | 0.0 | 6 | 0.0 | 0 |
| gems/zuul/lib/zuul/errors.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| gems/zuul/lib/zuul/app.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| gems/zuul/lib/zuul/grant.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| gems/zuul/lib/zuul/resource.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/policies/sub_account_admin_policy.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/zuul/lib/zuul/role.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/serializers/api/learner/users/index_serializer.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| db/migrate/20161121195732_populate_library_item_description_and_data.rb | 0.0 | 0.0 | 9 | 0.0 | 0 |
| app/services/integrations/lynda/categories/service_error.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/workers/migrations/add_color_enabled_property_to_branding_config.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/services/bridge_cache.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/services/authmonger_service/error.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/services/authmonger_service/service_down.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/file_service/spec/dummy/config/initializers/cookies_serializer.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/services/authmonger_service/provider_configurator/google_oidc.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/services/authmonger_service/provider_configurator/basic.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/zuul/lib/zuul/request/create_token.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/services/authmonger_service/provider_configurator/cas.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/zuul/lib/zuul/version.rb | 0.0 | 0.0 | 10 | 0.0 | 0 |
| gems/zuul/lib/zuul/token.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/models/slack_app.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/zuul/lib/zuul/permission.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/models/task_enrollment_source.rb | 0.0 | 0.0 | 12 | 0.0 | 0 |
| gems/zuul/lib/zuul/action_list.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/zuul/lib/zuul.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| gems/bridge_notification_center_client/spec/spec_helper.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/models/slide/version.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/workers/migrations/reset_course_archive_permissions.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/bridge_notification_center_client/lib/bridge_notification_center_client.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/bridge_notification_center_client/lib/bridge_notification_center_client/mock/create_notifications.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/services/authmonger_service/unexpected_status_code.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/workers/migrations/reset_sub_account_clone_permission.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/services/redis_debugger/scim.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/services/redis_debugger/saml.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/bridge_notification_center_client/lib/bridge_notification_center_client/version.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/notorious/spec/spec_helper.rb | 0.0 | 0.0 | 8 | 0.0 | 0 |
| gems/file_service/spec/dummy/config/initializers/inflections.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/services/calendar.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/notorious/lib/notorious/configuration.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/models/slack_user_config.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/workers/migrations/reset_lti_author_placement_permissions.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/workers/migrations/add_enrollment_id_id_index.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| db/migrate/20170703161742_add_enrollments_count_to_lti_content_items.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/omniauth-authmonger/spec/spec_helper.rb | 0.0 | 0.0 | 5 | 0.0 | 0 |
| gems/file_service/lib/file_service.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/omniauth-authmonger/lib/omniauth/authmonger/version.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/omniauth-authmonger/lib/omniauth/authmonger.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/workers/migrations/add_index_to_memberships_on_group_id.rb | 0.0 | 0.0 | 6 | 0.0 | 0 |
| gems/health_check/spec/spec_helper.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| gems/health_check/lib/health_check/version.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/file_service/app/controllers/file_service/application_controller.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/workers/migrations/add_index_to_affiliated_sub_accounts_on_domain_id_and_item_id.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| gems/file_service/config/initializers/file_store.rb | 0.0 | 0.0 | 10 | 0.0 | 0 |
| gems/file_service/spec/spec_helper.rb | 0.0 | 0.0 | 12 | 0.0 | 0 |
| gems/file_service/spec/dummy/app/controllers/application_controller.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/models/saml_service_provider.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/models/user_visit_summary.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/file_service/spec/dummy/app/helpers/application_helper.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/file_service/spec/dummy/config/routes.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/models/slack_app/actions.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/services/scorm_batch/errors/fatal_package_import_error.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/services/scorm_batch/errors/package_import_error.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/file_service/spec/dummy/config/environments/test.rb | 0.0 | 0.0 | 6 | 0.0 | 0 |
| gems/file_service/spec/dummy/config/environment.rb | 0.0 | 0.0 | 5 | 0.0 | 0 |
| db/migrate/20170630220131_create_lti_content_item_enrollment_sources.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| app/models/notifications/learner_course.rb | 0.0 | 0.0 | 2 | 0.0 | 0 |
| app/workers/migrations/add_index_to_library_item_sources_on_enrollable_id_learnable_and_id.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| db/migrate/20190815203232_sync_slack_team_ids_to_account.rb | 0.0 | 0.0 | 8 | 0.0 | 0 |
| app/workers/migrations/add_index_to_clone_objects_on_parameters_subdomain.rb | 0.0 | 0.0 | 6 | 0.0 | 0 |
| app/models/notifications/lock.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| db/migrate/20180316173531_add_archived_at_to_combined_enrollment.rb | 0.0 | 0.0 | 3 | 0.0 | 0 |
| gems/status_codes/spec/spec_helper.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| app/models/notifications/enrollment.rb | 0.0 | 0.0 | 6 | 0.0 | 0 |
| gems/status_codes/lib/status_codes/version.rb | 0.0 | 0.0 | 5 | 0.0 | 0 |
| gems/token_authorization/spec/spec_helper.rb | 0.0 | 0.0 | 6 | 0.0 | 0 |
| app/models/slack_app/messages/app_home_opened_response_blocks.rb | 0.0 | 0.0 | 1 | 0.0 | 0 |
| gems/token_authorization/lib/token_authorization/response.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| app/models/enrollment_source.rb | 0.0 | 0.0 | 14 | 0.0 | 0 |
| gems/token_authorization/lib/token_authorization.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
| db/seeds.rb | 0.0 | 0.0 | 4 | 0.0 | 0 |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
But I got my stink score:
StinkScore Total: 1144073.5199999963
Modules Analysed: 3119
StinkScore Average: 366.80779737095224
Worst StinkScore: 11431.36 (app/models/user.rb)
I ran it again with width: 400
and that also works.
Read your blog and thought to give it a try. Love the concept!
Ran into this when output was generated:
Thoughts on toggling the settings within the
skunk
command?skunk --width=400
?https://github.com/fastruby/skunk/blob/98ba2b0a59f67a67004ec413673304ece1c17217/lib/skunk/cli/commands/status_reporter.rb#L64