id: 1 unit: def _init_settings() file: src/wagtail_localize_smartling/settings.py start line: 0 end line: 0 size: 116 LOC McCabe index: 32 number of parameters: 0 id: 2 unit: def smartling_edit_translation_message() file: src/wagtail_localize_smartling/templatetags/wagtail_localize_smartling_admin_tags.py start line: 0 end line: 0 size: 47 LOC McCabe index: 4 number of parameters: 1 id: 3 unit: def download_translations() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 47 LOC McCabe index: 8 number of parameters: 3 id: 4 unit: def add_html_context_to_job() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 42 LOC McCabe index: 8 number of parameters: 3 id: 5 unit: def get_context_data() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 38 LOC McCabe index: 7 number of parameters: 2 id: 6 unit: def get_current() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 37 LOC McCabe index: 3 number of parameters: 1 id: 7 unit: def _download_and_apply_translations() file: src/wagtail_localize_smartling/sync.py start line: 0 end line: 0 size: 36 LOC McCabe index: 5 number of parameters: 1 id: 8 unit: def _sync() file: src/wagtail_localize_smartling/sync.py start line: 0 end line: 0 size: 34 LOC McCabe index: 9 number of parameters: 1 id: 9 unit: def __new__() file: src/wagtail_localize_smartling/api/serializers.py start line: 0 end line: 0 size: 34 LOC McCabe index: 12 number of parameters: 5 id: 10 unit: def _initial_sync() file: src/wagtail_localize_smartling/sync.py start line: 0 end line: 0 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 11 unit: def columns() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 30 LOC McCabe index: 1 number of parameters: 1 id: 12 unit: def upload_files_to_job_batch() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 22 LOC McCabe index: 3 number of parameters: 4 id: 13 unit: def _authenticate() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 14 unit: def handle() file: src/wagtail_localize_smartling/management/commands/populate_smartling_job_hashes.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 15 unit: def _refresh_access_token() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: def get_breadcrumbs_items() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: def get_job_details() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 18 unit: def create_batch_for_job() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 19 unit: def get_fields() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: def get_translations_display_value() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 21 unit: def landed_translations_list() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: def sync_job() file: src/wagtail_localize_smartling/sync.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 23 unit: def list_jobs() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 24 unit: def dispatch() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 4 id: 25 unit: def smartling_settings_check() file: src/wagtail_localize_smartling/checks.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 26 unit: def get_context_data() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 27 unit: def post() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 4 id: 28 unit: def get_wagtail_source_locale() file: src/wagtail_localize_smartling/utils.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: def get_filename_for_visual_context() file: src/wagtail_localize_smartling/utils.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 30 unit: def _request() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 31 unit: def create_job() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 32 unit: def handle() file: src/wagtail_localize_smartling/management/commands/sync_smartling.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 33 unit: def register_admin_urls() file: src/wagtail_localize_smartling/wagtail_hooks.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: def get_reference_number_display_value() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: def format_smartling_job_url() file: src/wagtail_localize_smartling/utils.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: def suggest_source_locale() file: src/wagtail_localize_smartling/utils.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 37 unit: def add_landed_translations_panel() file: src/wagtail_localize_smartling/wagtail_hooks.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 38 unit: def _close_translation_landed_task() file: src/wagtail_localize_smartling/signal_handlers.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: def format_smartling_locale_id() file: src/wagtail_localize_smartling/utils.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: def validate_empty_values() file: src/wagtail_localize_smartling/api/serializers.py start line: 0 end line: 0 size: 8 LOC McCabe index: 6 number of parameters: 2 id: 41 unit: def _headers() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 8 LOC McCabe index: 5 number of parameters: 1 id: 42 unit: def _update_tokens() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: def _base_url() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: def get_translatableobject_content_type() file: testapp/factories.py start line: 0 end line: 0 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 45 unit: def get_or_create_from_source_and_translation_data() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: def complete() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: def save() file: src/wagtail_localize_smartling/forms.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 48 unit: def __init__() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: def edit_url_for_translated_item() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: def register_smartling_settings_menu_item() file: src/wagtail_localize_smartling/wagtail_hooks.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 51 unit: def get_context_data() file: src/wagtail_localize_smartling/components.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 52 unit: def __init__() file: src/wagtail_localize_smartling/forms.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 53 unit: def get_translation_source_display_value() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: def format_smartling_project_url() file: src/wagtail_localize_smartling/utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: def site() file: testapp/factories.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: def get_breadcrumbs_items() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: def incomplete() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: def cancel() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: def get_users_for_filter() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: def get_queryset() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: def get_field_display_value() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 62 unit: def create_landed_translation_task() file: src/wagtail_localize_smartling/signal_handlers.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: def send_email_notification_upon_overall_translation_import() file: src/wagtail_localize_smartling/signal_handlers.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: def format_wagtail_locale_id() file: src/wagtail_localize_smartling/utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: def compute_content_hash() file: src/wagtail_localize_smartling/utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: def get_snippet_admin_url() file: src/wagtail_localize_smartling/utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: def backwards() file: src/wagtail_localize_smartling/migrations/0003_data_add_translation_approver_auth_group.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: def response_errors() file: src/wagtail_localize_smartling/api/serializers.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: def __str__() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: def map_project_locale_to_smartling() file: testapp/settings.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: def delete_default_homepage() file: testapp/migrations/0002_delete_default_homepage.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 72 unit: def create_from_source_and_translation() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: def clean() file: src/wagtail_localize_smartling/forms.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: def user_has_permission() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 3 id: 75 unit: def get_breadcrumbs_items() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: def close_translation_landed_task_on_page_published() file: src/wagtail_localize_smartling/signal_handlers.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: def close_translation_landed_task_on_snippet_published() file: src/wagtail_localize_smartling/signal_handlers.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: def _get_smartling_dashboard_base_url() file: src/wagtail_localize_smartling/utils.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 79 unit: def validate() file: src/wagtail_localize_smartling/api/serializers.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 3 id: 80 unit: def get_file_uri_for_job() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 4 LOC McCabe index: 8 number of parameters: 3 id: 81 unit: def main() file: testmanage.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 82 unit: def _build() file: testapp/factories.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 83 unit: def get() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 84 unit: def get_default_name() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: def get_default_reference_number() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: def get_description() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: def __init__() file: src/wagtail_localize_smartling/components.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 88 unit: def forwards() file: src/wagtail_localize_smartling/migrations/0003_data_add_translation_approver_auth_group.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: def __init__() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 90 unit: def job_description_callback() file: testapp/settings.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 91 unit: def visual_context_callback() file: testapp/settings.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: def _create() file: testapp/factories.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 4 id: 93 unit: def get_breadcrumbs_items() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: def get_object() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: def get_success_url() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 96 unit: def confirmation_message() file: src/wagtail_localize_smartling/views.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: def __str__() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: def __str__() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: def __str__() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: def __str__() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: def __repr__() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: def is_completed() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: def is_cancelled() file: src/wagtail_localize_smartling/models.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: def ready() file: src/wagtail_localize_smartling/apps.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: def register_viewset() file: src/wagtail_localize_smartling/wagtail_hooks.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 106 unit: def get_all_landed_translation_tasks() file: src/wagtail_localize_smartling/components.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: def get_value() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 108 unit: def get_link_attrs() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 109 unit: def get_value() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 110 unit: def permission_policy() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: def url_namespace() file: src/wagtail_localize_smartling/viewsets.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: def _model_is_registered_as_snippet() file: src/wagtail_localize_smartling/signal_handlers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: def smartling_job_url() file: src/wagtail_localize_smartling/templatetags/wagtail_localize_smartling_admin_tags.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: def response_data() file: src/wagtail_localize_smartling/api/serializers.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: def get_project_details() file: src/wagtail_localize_smartling/api/client.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0