Repository Analysis

aws/aws-cli

Universal Command Line Interface for Amazon Web Services

20.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of aws/aws-cli, a Python project with 17,122 GitHub stars. SynthScan v2.0 examined 184,807 lines of code across 3117 source files, recording 3600 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 20.7 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

20.7
Adjusted Score
20.7
Raw Score
100%
Time Factor
2026-07-13
Last Push
17.1K
Stars
Python
Language
184.8K
Lines of Code
3.1K
Files
3.6K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 1HIGH 15MEDIUM 58LOW 3526

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 3600 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers2630 hits · 2648 pts
SeverityFileLineSnippetContext
LOWtests/__init__.py110 def assert_no_remaining_responses(self):CODE
LOWtests/__init__.py136 def _return_queued_http_response(self, request, **kwargs):CODE
LOWtests/__init__.py175 def _validate_parsed_response(self):CODE
LOWtests/__init__.py187 def _reverse_serialize_parsed_response(self):CODE
LOWtests/unit/test_errorhandler.py26 def test_error_handler_client_side(self):CODE
LOWtests/unit/test_errorhandler.py58 def test_error_handler_server_side(self):CODE
LOWtests/unit/test_paramfile.py55 def test_cannot_load_text_file(self):CODE
LOWtests/unit/test_paramfile.py62 def test_file_does_not_exist_raises_error(self):CODE
LOWtests/unit/test_paramfile.py66 def test_no_match_uris_returns_none(self):CODE
LOWtests/unit/test_paramfile.py69 def test_non_string_type_returns_none(self):CODE
LOWtests/unit/test_paramfile.py101 def test_connection_error_raises_error(self):CODE
LOWtests/unit/test_paramfile.py122 def test_missing_config_value(self, mock_handler_cls):CODE
LOWtests/unit/test_utils.py53 def test_mixing_double_single_quotes(self):CODE
LOWtests/unit/test_utils.py57 def test_mixing_double_single_quotes_before_first_comma(self):CODE
LOWtests/unit/test_utils.py61 def test_inner_quote_split_with_equals(self):CODE
LOWtests/unit/test_utils.py65 def test_single_quoted_inner_value_with_no_commas(self):CODE
LOWtests/unit/test_utils.py268 def test_is_not_document_type_if_missing_document_trait(self):CODE
LOWtests/unit/test_utils.py277 def test_is_not_document_type_if_not_structure(self):CODE
LOWtests/unit/test_utils.py283 def test_is_document_type_container_for_doc_type(self):CODE
LOWtests/unit/test_utils.py289 def test_is_not_document_type_container_if_missing_document_trait(self):CODE
LOWtests/unit/test_utils.py298 def test_is_not_document_type_container_if_not_scalar(self):CODE
LOWtests/unit/test_utils.py303 def test_is_document_type_container_if_list_member(self):CODE
LOWtests/unit/test_utils.py313 def test_is_document_type_container_if_map_value(self):CODE
LOWtests/unit/test_utils.py368 def test_operation_uses_document_types_if_doc_type_in_input(self):CODE
LOWtests/unit/test_utils.py374 def test_operation_uses_document_types_if_doc_type_in_output(self):CODE
LOWtests/unit/test_utils.py380 def test_operation_uses_document_types_is_false_when_no_doc_types(self):CODE
LOWtests/unit/test_utils.py451 def test_blob_is_not_streaming(self, argument_model):CODE
LOWtests/unit/test_utils.py456 def test_non_blob_is_not_streaming(self, argument_model):CODE
LOWtests/unit/test_utils.py464 def test_shape_is_tagged_union(self, argument_model):CODE
LOWtests/unit/test_utils.py468 def test_shape_is_not_tagged_union(self, argument_model):CODE
LOWtests/unit/test_utils.py87 def test_quoted_square_brackets(self):CODE
LOWtests/unit/test_utils.py103 def test_end_bracket_in_value(self):CODE
LOWtests/unit/test_utils.py120 def test_finds_service_and_operation_name(self):CODE
LOWtests/unit/test_utils.py126 def test_returns_none_if_event_is_too_short(self):CODE
LOWtests/unit/test_utils.py153 def test_env_var_non_true_value(self):CODE
LOWtests/unit/test_utils.py191 def test_env_configured_pager(self, mock_get_popen_pager):CODE
LOWtests/unit/test_utils.py219 def test_exit_of_context_manager_for_pager(self):CODE
LOWtests/unit/test_utils.py230 def test_can_silence_io_error_from_pager(self):CODE
LOWtests/unit/test_utils.py255 def get_doc_type_shape_definition(self):CODE
LOWtests/unit/test_utils.py325 def test_is_document_type_container_if_nested_list_member(self):CODE
LOWtests/unit/test_utils.py433 def test_can_escape_recursive_shapes(self):CODE
LOWtests/unit/test_changelog.py26def test_next_release_json_is_well_formed(json_path):CODE
LOWtests/unit/test_decorators.py22 def test_bare_requires_crt_fails_immediately(self):CODE
LOWtests/unit/test_decorators.py29 def test_requires_crt_skips_when_no_crt(self):CODE
LOWtests/unit/test_decorators.py38 def test_requires_crt_runs_when_crt_available(self):CODE
LOWtests/unit/test_plugin.py50 def test_event_hooks_can_be_passed_in(self):CODE
LOWtests/unit/test_table.py31 def test_add_row_tracks_max_widths(self):CODE
LOWtests/unit/test_table.py43 def test_add_row_also_tracks_header(self):CODE
LOWtests/unit/test_table.py55 def test_max_width_with_scaling_perfect_scaling(self):CODE
LOWtests/unit/test_table.py62 def test_max_width_scaling_one_unit_short(self):CODE
LOWtests/unit/test_table.py68 def test_width_with_full_width_characters(self):CODE
LOWtests/unit/test_table.py72 def test_max_width_scaling_is_negative(self):CODE
LOWtests/unit/test_table.py77 def test_allow_sections_to_be_padded(self):CODE
LOWtests/unit/test_table.py84 def test_title_accounts_for_outer_padding(self):CODE
LOWtests/unit/test_table.py103 def test_max_width_calculation(self):CODE
LOWtests/unit/test_table.py116 def test_convert_section_to_vertical(self):CODE
LOWtests/unit/test_topictags.py71 def test_get_all_topic_source_files(self):CODE
LOWtests/unit/test_topictags.py84 def test_get_all_topic_source_files_ignore_index(self):CODE
LOWtests/unit/test_topictags.py98 def test_get_all_topic_source_files_ignore_hidden(self):CODE
LOWtests/unit/test_topictags.py111 def test_get_tag_value_all_tags(self):CODE
2570 more matches not shown…
Over-Commented Block603 hits · 587 pts
SeverityFileLineSnippetContext
LOWbin/aws_zsh_completer.sh1# Source this file to activate auto completion for zsh using the bashCOMMENT
LOWtests/__init__.py181 serialized = self._reverse_serialize_parsed_response()COMMENT
LOWtests/unit/test_errorhandler.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_paramfile.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_utils.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_decorators.py1# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_plugin.py1# Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_table.py1# Copyright (c) 2013 Amazon.com, Inc. or its affiliates. All Rights ReservedCOMMENT
LOWtests/unit/test_argparser.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_topictags.py1# Copyright (c) 2015 Amazon.com, Inc. or its affiliates. All Rights ReservedCOMMENT
LOWtests/unit/test_schema.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_argprocess.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_clidriver.py1# -*- coding: utf-8 -*-COMMENT
LOWtests/unit/test_text.py1# Copyright (c) 2013 Amazon.com, Inc. or its affiliates. All Rights ReservedCOMMENT
LOWtests/unit/test_shorthand.py1# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_alias.py1# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_compat.py1# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_completer.py1# Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_clidocs.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_help.py1# Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_testutils.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/test_arguments.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_flatten.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_utils.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_cliinputjson.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_paginate.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_s3errormsg.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_generatecliskeleton.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_dynamodb.py1# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/__init__.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_overridesslcommonname.py1# Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_cloudwatch.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_cloudsearchdomain.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_commands.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_assumerole.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_s3uploader.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_globalargs.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_argrename.py1# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_scalarparse.py1# Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_codecommit.py1# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_waiters.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_sessionmanager.py1# Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/test_arguments.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/emrcontainers/test_base36.py1# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/emrcontainers/__init__.py1# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOW…ations/emrcontainers/test_update_assume_role_policy.py1# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOW…ns/servicecatalog/test_generateprovisioningartifact.py1# Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/servicecatalog/test_utils.py1# Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/servicecatalog/__init__.py1# Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOW…ts/unit/customizations/servicecatalog/test_generate.py1# Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOW…/customizations/servicecatalog/test_generateproduct.py1# Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/s3/test_utils.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/s3/test_results.py1# Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/s3/test_transferconfig.py1# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/s3/test_subcommands.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/s3/test_filegenerator.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/s3/test_s3handler.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/s3/test_fileinfobuilder.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/s3/__init__.py1# Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
LOWtests/unit/customizations/s3/test_fileinfo.py1# Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.COMMENT
543 more matches not shown…
Self-Referential Comments50 hits · 169 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit/test_topictags.py243 # Create a JSON index to be loaded.COMMENT
MEDIUMtests/unit/test_clidocs.py177 # Create an arbitrary help command class. This was chosenCOMMENT
MEDIUMtests/unit/test_help.py232 # Create a temporary index file for ``aws help [command]`` to use.COMMENT
MEDIUMtests/unit/customizations/test_flatten.py190 # Create the flattened argument tableCOMMENT
MEDIUMtests/unit/customizations/test_cliinputjson.py27 # Create the various forms the data could come in. The two main formsCOMMENT
MEDIUMtests/unit/customizations/test_cliinputjson.py70 # Create a bad JSON inputCOMMENT
MEDIUMtests/unit/customizations/test_generatecliskeleton.py24 # Create a mock service operation objectCOMMENT
MEDIUMtests/unit/customizations/s3/test_filegenerator.py299 # Create a symlink to a file that does not exist.COMMENT
MEDIUMtests/unit/customizations/s3/test_filegenerator.py303 # Create a symlink to directory realfilesCOMMENT
MEDIUM…ts/unit/customizations/configservice/test_getstatus.py305 # Create the configuration recorder statuses.COMMENT
MEDIUM…ts/unit/customizations/configservice/test_getstatus.py318 # Create the delivery channel statuses.COMMENT
MEDIUMtests/unit/customizations/configure/test_configure.py224 # Create a mock stdout to record flush calls and replace stdout_patchCOMMENT
MEDIUMtests/unit/customizations/cloudtrail/test_validation.py638 # Create a key that looks similar but for a different trail.COMMENT
MEDIUMtests/unit/customizations/cloudtrail/test_validation.py640 # Create a key that looks similar but is from a different trail sourceCOMMENT
MEDIUM…sts/unit/customizations/cloudformation/test_package.py69 # Create a temporary file and make this my templateCOMMENT
MEDIUM…sts/unit/customizations/cloudformation/test_package.py93 # Create a temporary file and make this my templateCOMMENT
MEDIUMtests/integration/test_assume_role.py163 # Create the final role, the one that will actually have access to s3COMMENT
MEDIUMtests/integration/test_assume_role.py166 # Create the role that can assume the final roleCOMMENT
MEDIUMtests/integration/test_assume_role.py170 # Create a user that can only assume the middle-man role, and then getCOMMENT
MEDIUMtests/integration/test_assume_role.py216 # Create a role with read access to S3COMMENT
MEDIUMtests/integration/test_assume_role.py219 # Create a user that can assume the role and get static credentialsCOMMENT
MEDIUMtests/integration/customizations/test_waiters.py28 # Create a table.COMMENT
MEDIUMtests/integration/customizations/s3/test_plugin.py1100 # Create a symlink to foo.txt.COMMENT
MEDIUMtests/integration/customizations/s3/test_plugin.py1103 # Create a bad symlink.COMMENT
MEDIUMtests/integration/customizations/s3/test_plugin.py1106 # Create a symlink to directory where foo.txt is.COMMENT
MEDIUMtests/integration/customizations/s3/test_plugin.py1438 # Create a prefix that will cause the second created file to have a keyCOMMENT
MEDIUMtests/integration/customizations/s3/test_plugin.py733 # Create a file with a space char and a '+' char in the filename.COMMENT
MEDIUMtests/integration/customizations/s3/test_plugin.py1560 # Create a 200 MB file that will be streamedCOMMENT
MEDIUMtests/functional/docs/test_examples.py302 # Create the service parserCOMMENT
MEDIUMawscli/help.py295 # Create an event handler for a Provider DocumentCOMMENT
MEDIUMawscli/customizations/s3events.py107 # This method is hooked into after-call which firesCOMMENT
MEDIUMawscli/customizations/waiters.py109 # Create the cli name for the waiter operationCOMMENT
MEDIUMawscli/customizations/waiters.py116 # Create an operation object to make a command for the waiter. TheCOMMENT
MEDIUMawscli/customizations/commands.py354 # Create an event handler for a Provider DocumentCOMMENT
MEDIUMawscli/customizations/s3/results.py489 # Create the display statement.COMMENT
MEDIUMawscli/customizations/s3/filegenerator.py71# This class is provided primarily to provide a detailed error message.COMMENT
MEDIUMawscli/customizations/emr/createdefaultroles.py304 # Creating an Instance ProfileCOMMENT
MEDIUMawscli/customizations/configservice/subscribe.py78 # Create a configuration recorder.COMMENT
MEDIUMawscli/customizations/configservice/subscribe.py86 # Create a delivery channel.COMMENT
MEDIUMawscli/customizations/configservice/subscribe.py167 # Create the topic if a name is given.COMMENT
MEDIUMawscli/customizations/configure/writer.py124 # Create the file as well as the parent dir if needed.COMMENT
MEDIUMawscli/customizations/gamelift/uploadbuild.py75 # Create a build based on the operating system given.COMMENT
MEDIUMawscli/customizations/gamelift/uploadbuild.py96 # Create the S3 Client for uploading the build based on theCOMMENT
MEDIUMawscli/customizations/cloudtrail/validation.py332 # Create a target start end end dateCOMMENT
MEDIUMawscli/customizations/cloudtrail/validation.py1126 # Create a client that can work with this bucket.COMMENT
MEDIUMawscli/customizations/history/list.py63 """This class is just to read one ahead to make sure there are recordsSTRING
MEDIUM…scli/customizations/datapipeline/createdefaultroles.py96 # Create a create using the IAM Client with a particular tripletCOMMENT
MEDIUM…scli/customizations/datapipeline/createdefaultroles.py170 # Create a role using IAM client CreateRole APICOMMENT
MEDIUM…scli/customizations/datapipeline/createdefaultroles.py175 # Create a role using IAM client AttachRolePolicy APICOMMENT
MEDIUMdoc/source/conf.py6# This file is execfile()d with the current directory set to its containing dir.COMMENT
Unused Imports152 hits · 146 pts
SeverityFileLineSnippetContext
LOWsetup.py77CODE
LOWtests/unit/test_utils.py14CODE
LOWtests/unit/test_topictags.py24CODE
LOWtests/unit/test_argprocess.py23CODE
LOWtests/unit/test_argprocess.py29CODE
LOWtests/unit/test_clidriver.py19CODE
LOWtests/unit/test_text.py22CODE
LOWtests/unit/test_help.py15CODE
LOWtests/unit/test_arguments.py16CODE
LOWtests/unit/test_arguments.py16CODE
LOWtests/unit/customizations/test_flatten.py16CODE
LOWtests/unit/customizations/test_cloudwatch.py15CODE
LOWtests/unit/customizations/test_codecommit.py14CODE
LOWtests/unit/customizations/test_codecommit.py17CODE
LOWtests/unit/customizations/test_codecommit.py24CODE
LOWtests/unit/customizations/test_codecommit.py25CODE
LOWtests/unit/customizations/s3/test_filegenerator.py14CODE
LOWtests/unit/customizations/s3/test_filegenerator.py24CODE
LOWtests/unit/customizations/s3/test_fileinfobuilder.py13CODE
LOWtests/unit/customizations/s3/test_fileinfobuilder.py16CODE
LOWtests/unit/customizations/s3/test_copy_params.py16CODE
LOWtests/unit/customizations/s3/test_copy_params.py17CODE
LOWtests/unit/customizations/s3/test_copy_params.py22CODE
LOW…ts/unit/customizations/emr/test_add_instance_groups.py16CODE
LOWtests/unit/customizations/emr/test_list_clusters.py16CODE
LOWtests/unit/customizations/emr/test_list_clusters.py17CODE
LOWtests/unit/customizations/emr/__init__.py15CODE
LOWtests/unit/customizations/emr/__init__.py16CODE
LOWtests/unit/customizations/ecs/test_ecsclient.py15CODE
LOWtests/unit/customizations/ecs/test_ecsclient.py16CODE
LOWtests/unit/customizations/eks/test_update_kubeconfig.py16CODE
LOWtests/unit/customizations/eks/test_update_kubeconfig.py17CODE
LOWtests/unit/customizations/eks/test_update_kubeconfig.py18CODE
LOWtests/unit/customizations/eks/test_update_kubeconfig.py25CODE
LOWtests/unit/customizations/eks/test_update_kubeconfig.py26CODE
LOWtests/unit/customizations/eks/test_update_kubeconfig.py30CODE
LOWtests/unit/customizations/eks/test_get_token.py14CODE
LOWtests/unit/customizations/eks/test_get_token.py16CODE
LOWtests/unit/customizations/eks/test_get_token.py19CODE
LOWtests/unit/customizations/eks/test_kubeconfig.py20CODE
LOWtests/unit/customizations/eks/test_kubeconfig.py21CODE
LOWtests/unit/customizations/eks/test_kubeconfig.py22CODE
LOWtests/unit/customizations/eks/test_kubeconfig.py22CODE
LOWtests/unit/customizations/eks/test_kubeconfig.py32CODE
LOWtests/unit/customizations/codedeploy/test_utils.py14CODE
LOWtests/unit/customizations/codedeploy/test_uninstall.py14CODE
LOWtests/unit/customizations/codedeploy/test_install.py14CODE
LOWtests/unit/customizations/codedeploy/test_install.py18CODE
LOW…sts/unit/customizations/cloudformation/test_package.py13CODE
LOW…sts/unit/customizations/cloudformation/test_package.py14CODE
LOW…sts/unit/customizations/cloudformation/test_package.py17CODE
LOW…sts/unit/customizations/cloudformation/test_package.py18CODE
LOW…sts/unit/customizations/cloudformation/test_package.py20CODE
LOW…sts/unit/customizations/cloudformation/test_package.py21CODE
LOW…ustomizations/cloudformation/test_artifact_exporter.py1CODE
LOW…ustomizations/cloudformation/test_artifact_exporter.py11CODE
LOW…ustomizations/cloudformation/test_artifact_exporter.py14CODE
LOWtests/unit/customizations/cloudformation/test_deploy.py19CODE
LOW…/unit/customizations/cloudformation/test_yamlhelper.py13CODE
LOW…/unit/customizations/cloudformation/test_yamlhelper.py15CODE
92 more matches not shown…
Deep Nesting51 hits · 51 pts
SeverityFileLineSnippetContext
LOWtests/unit/customizations/emr/test_describe_cluster.py448CODE
LOWtests/unit/customizations/emr/test_describe_cluster.py458CODE
LOW…integration/customizations/test_generatecliskeleton.py73CODE
LOWtests/functional/test_no_event_streams.py26CODE
LOWawscli/shorthand.py478CODE
LOWawscli/formatter.py134CODE
LOWawscli/formatter.py230CODE
LOWawscli/compat.py214CODE
LOWawscli/compat.py277CODE
LOWawscli/compat.py378CODE
LOWawscli/compat.py498CODE
LOWawscli/testutils.py430CODE
LOWawscli/argprocess.py100CODE
LOWawscli/argprocess.py188CODE
LOWawscli/argprocess.py220CODE
LOWawscli/utils.py42CODE
LOWawscli/table.py398CODE
LOWawscli/clidocs.py486CODE
LOWawscli/clidocs.py525CODE
LOWawscli/topictags.py239CODE
LOWawscli/argparser.py99CODE
LOWawscli/customizations/flatten.py46CODE
LOWawscli/customizations/flatten.py206CODE
LOWawscli/customizations/commands.py384CODE
LOWawscli/customizations/s3/comparator.py32CODE
LOWawscli/customizations/s3/subcommands.py1096CODE
LOWawscli/customizations/s3/filegenerator.py166CODE
LOWawscli/customizations/s3/filegenerator.py310CODE
LOWawscli/customizations/s3/s3handler.py108CODE
LOWawscli/customizations/s3/s3handler.py160CODE
LOWawscli/customizations/s3/transferconfig.py80CODE
LOWawscli/customizations/s3/fileinfo.py67CODE
LOWawscli/customizations/emr/applicationutils.py19CODE
LOWawscli/customizations/emr/createcluster.py250CODE
LOWawscli/customizations/emr/createcluster.py846CODE
LOWawscli/customizations/emr/emrfsutils.py76CODE
LOWawscli/customizations/emr/steputils.py17CODE
LOWawscli/customizations/configure/writer.py167CODE
LOWawscli/customizations/configure/set.py53CODE
LOWawscli/customizations/gamelift/uploadbuild.py133CODE
LOWawscli/customizations/cloudtrail/validation.py604CODE
LOWawscli/customizations/eks/kubeconfig.py116CODE
LOWawscli/customizations/codedeploy/push.py183CODE
LOWawscli/customizations/history/show.py272CODE
LOW…cli/customizations/cloudformation/artifact_exporter.py182CODE
LOW…cli/customizations/cloudformation/artifact_exporter.py607CODE
LOWawscli/customizations/datapipeline/__init__.py292CODE
LOWawscli/customizations/ec2/secgroupsimplify.py160CODE
LOWawscli/customizations/ec2/protocolarg.py20CODE
LOWawscli/bcdoc/textwriter.py409CODE
LOWscripts/performance/benchmark_utils.py148CODE
Excessive Try-Catch Wrapping45 hits · 50 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_errorhandler.py52 except Exception as e:CODE
LOWtests/unit/test_errorhandler.py84 except Exception as e:CODE
LOWtests/unit/customizations/s3/test_utils.py1002 except Exception as e:CODE
LOWtests/integration/customizations/s3/test_plugin.py80 except Exception as e:CODE
LOWtests/integration/customizations/s3/test_plugin.py110 except Exception as e:CODE
LOWtests/integration/customizations/s3/test_plugin.py130 except Exception as e:CODE
LOWtests/functional/docs/test_examples.py276 except Exception as e:CODE
LOWtests/functional/docs/test_examples.py345 except Exception as e:CODE
LOWawscli/clidriver.py259 except Exception as e:CODE
LOWawscli/utils.py232 except Exception:CODE
MEDIUMawscli/utils.py42def _split_with_quotes(value):CODE
LOWawscli/paramfile.py265 except Exception as e:CODE
MEDIUMawscli/paramfile.py255def get_uri(prefix, uri):CODE
LOWawscli/table.py55 except Exception:CODE
LOWawscli/customizations/globalargs.py60 except Exception as e:CODE
MEDIUMawscli/customizations/globalargs.py57def _resolve_query(value):CODE
LOWawscli/customizations/s3/results.py614 except Exception as e:CODE
LOWawscli/customizations/s3/subcommands.py930 except Exception as e:CODE
LOWawscli/customizations/s3/subcommands.py974 except Exception as e:CODE
LOWawscli/customizations/s3/utils.py706 except Exception as e:CODE
LOWawscli/customizations/s3/utils.py741 except Exception as e:CODE
LOWawscli/customizations/s3/utils.py820 except Exception as e:CODE
MEDIUMawscli/customizations/s3/utils.py738def _on_success(self, future):CODE
LOWawscli/customizations/s3/s3handler.py560 except Exception as e:CODE
LOWawscli/customizations/cloudtrail/subscribe.py137 except Exception:CODE
LOWawscli/customizations/cloudtrail/subscribe.py151 except Exception:CODE
LOWawscli/customizations/cloudtrail/subscribe.py177 except Exception as e:CODE
LOWawscli/customizations/cloudtrail/subscribe.py249 except Exception:CODE
LOWawscli/customizations/cloudtrail/subscribe.py286 except Exception:CODE
MEDIUMawscli/customizations/cloudtrail/subscribe.py171def _get_policy(self, key_name):CODE
LOWawscli/customizations/cloudtrail/validation.py676 except Exception as e:CODE
LOWawscli/customizations/cloudtrail/validation.py1154 except Exception:CODE
LOWawscli/customizations/logs/startlivetail.py214 except Exception as e:CODE
MEDIUMawscli/customizations/logs/startlivetail.py158def run(self):CODE
LOWawscli/customizations/codedeploy/register.py110 except Exception as e:CODE
LOWawscli/customizations/codedeploy/uninstall.py40 except Exception as e:CODE
LOWawscli/customizations/codedeploy/deregister.py79 except Exception as e:CODE
LOWawscli/customizations/codedeploy/install.py73 except Exception as e:CODE
LOWawscli/customizations/codedeploy/push.py148 except Exception as e:CODE
LOWawscli/customizations/history/__init__.py62 except Exception as e:CODE
LOWawscli/customizations/codeartifact/login.py610 except Exception as e: # invalid .pypirc fileCODE
LOWawscli/customizations/cloudformation/deployer.py142 except Exception as ex:CODE
LOW…cli/customizations/cloudformation/artifact_exporter.py258 except Exception as ex:CODE
LOWawscli/customizations/ec2/decryptpassword.py117 except Exception:CODE
LOWawscli/bcdoc/restdoc.py112 except Exception:CODE
Cross-Language Confusion7 hits · 48 pts
SeverityFileLineSnippetContext
HIGH…ustomizations/cloudformation/test_artifact_exporter.py1330 'exports handler = (event, context, callback) => {callback(null, event);}')CODE
HIGHtests/functional/test_document_types.py159 '["foo", {"bar": "baz"}, 1, null]'CODE
HIGHtests/functional/test_document_types.py204 ' "ListOfDocTypes": ["foo", {"bar": "baz"}, 1, null],'CODE
HIGHtests/functional/test_document_types.py207 ' "NestedListsOfDocTypes":[["foo", {"bar": "baz"}, 1, null]]'CODE
HIGHtests/functional/test_document_types.py268 '--nested-lists-of-doc-types-param', '[bar,1,null],[foo,2]',CODE
HIGHtests/functional/test_document_types.py186 '[["foo", {"bar": "baz"}, 1, null]]'CODE
HIGHawscli/clidocs.py450 'strings, numbers, booleans, null, arrays, and objects. For 'CODE
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHawscli/customizations/emrcontainers/__init__.py0called when the eks command table is being built. used to inject new high level commands into the command list.STRING
HIGHawscli/customizations/ecs/__init__.py0called when the eks command table is being built. used to inject new high level commands into the command list.STRING
HIGHawscli/customizations/eks/__init__.py0called when the eks command table is being built. used to inject new high level commands into the command list.STRING
HIGHawscli/customizations/emr/emr.py0called when the cloudformation command table is being built. used to inject new high level commands into the command lisSTRING
HIGHawscli/customizations/cloudtrail/__init__.py0called when the cloudformation command table is being built. used to inject new high level commands into the command lisSTRING
HIGHawscli/customizations/dlm/dlm.py0called when the cloudformation command table is being built. used to inject new high level commands into the command lisSTRING
HIGHawscli/customizations/cloudformation/__init__.py0called when the cloudformation command table is being built. used to inject new high level commands into the command lisSTRING
Redundant / Tautological Comments18 hits · 28 pts
SeverityFileLineSnippetContext
LOW…ations/emrcontainers/test_update_assume_role_policy.py94 # Check if UpdateAssumeRolePolicy was invokedCOMMENT
LOWtests/unit/customizations/s3/test_subcommands.py387 # Check if no plugins return their sync strategy. ShouldCOMMENT
LOWtests/unit/customizations/gamelift/test_uploadbuild.py73 # Output valuesCOMMENT
LOW…ustomizations/cloudformation/test_artifact_exporter.py1318 # Set parent_dir to be a non-existent folderCOMMENT
LOW…ustomizations/cloudformation/test_artifact_exporter.py1322 # Set parent_dir to be a real folder, but just a relative pathCOMMENT
LOWawscli/topictags.py212 # Check if the topic is in the topic tag dictionaryCOMMENT
LOWawscli/customizations/sessionmanager.py129 # Check if this plugin supports passing the start session responseCOMMENT
LOWawscli/customizations/s3uploader.py101 # Check if a file with same data existsCOMMENT
LOWawscli/customizations/s3uploader.py186 # Read file in chunks of 4096 bytesCOMMENT
LOWawscli/customizations/waiters.py27 # Check if the command object passed in has a ``service_object``. WeCOMMENT
LOWawscli/customizations/cliinputjson.py61 # Check if ``--cli-input-json`` was specified in the command line.COMMENT
LOWawscli/customizations/s3/syncstrategy/base.py163 # Check if a ``dest`` was specified in ``ARGUMENT`` as if it isCOMMENT
LOWawscli/customizations/configure/addmodel.py33 # Check if the endpoint prefix is a pre-existing service.COMMENT
LOWawscli/customizations/configure/get.py93 # Check if varname starts with 'default' profile (e.g.COMMENT
LOWawscli/customizations/dlm/createdefaultrole.py39# Display the result as formatted jsonCOMMENT
LOWawscli/customizations/codeartifact/login.py364 # Check if the CodeArtifact URL is already present in theCOMMENT
LOW…scli/customizations/datapipeline/createdefaultroles.py90 # Check if the role with the name existsCOMMENT
LOW…scli/customizations/datapipeline/createdefaultroles.py136 # Check if the default EC2 Instance Profile for DataPipeline exists.COMMENT
AI Slop Vocabulary10 hits · 16 pts
SeverityFileLineSnippetContext
LOWtests/unit/test_clidriver.py260 # We just return success. If this code is reached, it means thatCOMMENT
LOWtests/unit/test_clidriver.py387 # commands, we just call the create_help_command methods.COMMENT
LOWtests/unit/customizations/s3/test_transferconfig.py27 # we should just use the default values defined inCOMMENT
LOWtests/integration/customizations/s3/test_plugin.py868 # therefore do nothing. We can just use --dryrun to show the issue.COMMENT
LOWtests/functional/docs/test_examples.py118 # CLIDriver can take up a lot of resources so we'll just create oneCOMMENT
MEDIUMtests/functional/cloudtrail/test_validation.py846 """This test class is necessary in order to override the default patchingSTRING
LOWawscli/utils.py31 # No quotes or escaping, just use a simple split.COMMENT
LOWawscli/paramfile.py155 # on a ProfileNotFound the CLI should just use 'none'.COMMENT
LOWawscli/customizations/scalarparse.py73 # on a ProfileNotFound the CLI should just use 'wire'.COMMENT
MEDIUMawscli/customizations/scalarparse.py85 # response, we utilize a reference to a nonlocal variable to trackCOMMENT
Modern Structural Boilerplate10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/functional/test_paramfile.py18logger = logging.getLogger(__name__)CODE
LOWawscli/paramfile.py27logger = logging.getLogger(__name__)CODE
LOWawscli/customizations/preview.py37logger = logging.getLogger(__name__)CODE
LOWawscli/customizations/paginate.py38logger = logging.getLogger(__name__)CODE
LOWawscli/customizations/dynamodb.py17logger = logging.getLogger(__name__)CODE
LOWawscli/customizations/sessionmanager.py23logger = logging.getLogger(__name__)CODE
LOWawscli/customizations/configure/configure.py29logger = logging.getLogger(__name__)CODE
LOWawscli/customizations/ecs/executecommand.py21logger = logging.getLogger(__name__)CODE
LOWawscli/customizations/ec2/addcount.py20logger = logging.getLogger(__name__)CODE
LOWawscli/customizations/ec2/decryptpassword.py23logger = logging.getLogger(__name__)CODE
Fake / Example Data8 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/functional/ses/test_send_email.py26 'Source': 'foo@bar.com',CODE
LOWtests/functional/ses/test_send_email.py36 result = {'Source': 'foo@bar.com',CODE
LOWtests/functional/ses/test_send_email.py50 result = {'Source': 'foo@bar.com',CODE
LOWtests/functional/ses/test_send_email.py68 'Source': 'foo@bar.com',CODE
LOWtests/functional/ses/test_send_email.py83 'Source': 'foo@bar.com',CODE
LOWtests/functional/ses/test_send_email.py97 'Source': 'foo@bar.com',CODE
LOWtests/functional/ses/test_send_email.py118 'Source': 'foo@bar.com'}CODE
LOWawscli/customizations/cloudfront.py105 "TargetOriginId": "placeholder",CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALtests/unit/customizations/s3/test_utils.py550 self.client.get_paginator.return_value.paginate.assert_called_with(CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md120 Items reviewed in this way must include a statement like "generated by AICODE
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOWawscli/arguments.py205CODE
LOWawscli/testutils.py979CODE
LOWawscli/help.py135CODE
LOWawscli/customizations/s3/filegenerator.py95CODE
LOWawscli/customizations/s3/fileinfo.py41CODE
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWawscli/utils.py332# NOTE: The following interfaces are considered private and are subjectCOMMENT
Verbosity Indicators1 hit · 0 pts
SeverityFileLineSnippetContext
LOWawscli/customizations/s3/filegenerator.py241 The purpose of this function is to ensure that the same path separatorSTRING