id: 1 unit: def create_app() file: containers/aws-gcp-migration/aws/src/frontend/frontend.py start line: 0 end line: 0 size: 530 LOC McCabe index: 67 number of parameters: 0 id: 2 unit: def create_app() file: containers/aws-gcp-migration/gcp/src/frontend/frontend.py start line: 0 end line: 0 size: 530 LOC McCabe index: 67 number of parameters: 0 id: 3 unit: export default function Play() file: infrastructure/load-balancing-for-inference/components/Play.tsx start line: 152 end line: 582 size: 355 LOC McCabe index: 30 number of parameters: 0 id: 4 unit: export default function Play() file: infrastructure/load-balancing-blitz/frontend/components/Play.tsx start line: 115 end line: 373 size: 228 LOC McCabe index: 25 number of parameters: 0 id: 5 unit: export default function Play() file: infrastructure/beat-the-load-balancer/frontend/components/Play.tsx start line: 115 end line: 371 size: 227 LOC McCabe index: 25 number of parameters: 0 id: 6 unit: export default function QuestionPanel() file: app-dev/party-game/app/components/question-panel.tsx start line: 30 end line: 217 size: 168 LOC McCabe index: 49 number of parameters: 5 id: 7 unit: def create_app() file: containers/aws-gcp-migration/aws/src/accounts/userservice/userservice.py start line: 0 end line: 0 size: 132 LOC McCabe index: 27 number of parameters: 0 id: 8 unit: def create_app() file: containers/aws-gcp-migration/gcp/src/accounts/userservice/userservice.py start line: 0 end line: 0 size: 132 LOC McCabe index: 27 number of parameters: 0 id: 9 unit: def create_app() file: containers/aws-gcp-migration/aws/src/accounts/contacts/contacts.py start line: 0 end line: 0 size: 121 LOC McCabe index: 29 number of parameters: 0 id: 10 unit: def create_app() file: containers/aws-gcp-migration/gcp/src/accounts/contacts/contacts.py start line: 0 end line: 0 size: 121 LOC McCabe index: 29 number of parameters: 0 id: 11 unit: export default function GpuGroupRight() file: infrastructure/load-balancing-for-inference/components/GpuGroupRight.tsx start line: 34 end line: 187 size: 113 LOC McCabe index: 12 number of parameters: 2 id: 12 unit: export default function BorderCountdownTimer() file: app-dev/party-game/app/components/border-countdown-timer.tsx start line: 28 end line: 141 size: 98 LOC McCabe index: 22 number of parameters: 5 id: 13 unit: export default function Player2() file: infrastructure/load-balancing-for-inference/components/Player2.tsx start line: 17 end line: 124 size: 88 LOC McCabe index: 9 number of parameters: 2 id: 14 unit: export default function Home() file: infrastructure/load-balancing-blitz/frontend/app/page.tsx start line: 10 end line: 99 size: 83 LOC McCabe index: 7 number of parameters: 0 id: 15 unit: export default function Home() file: infrastructure/beat-the-load-balancer/frontend/app/page.tsx start line: 10 end line: 99 size: 83 LOC McCabe index: 7 number of parameters: 0 id: 16 unit: export default function Navbar() file: app-dev/party-game/app/components/navbar.tsx start line: 29 end line: 112 size: 82 LOC McCabe index: 7 number of parameters: 0 id: 17 unit: export default function Play3D() file: infrastructure/load-balancing-for-inference/components/play3d.tsx start line: 85 end line: 175 size: 78 LOC McCabe index: 5 number of parameters: 0 id: 18 unit: def page() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 77 LOC McCabe index: 11 number of parameters: 0 id: 19 unit: export default function Player1() file: infrastructure/load-balancing-for-inference/components/Player1.tsx start line: 11 end line: 98 size: 76 LOC McCabe index: 6 number of parameters: 1 id: 20 unit: def page() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 74 LOC McCabe index: 11 number of parameters: 0 id: 21 unit: def run() file: data-analytics/next25-turbocharge-ecomm/main.py start line: 0 end line: 0 size: 66 LOC McCabe index: 2 number of parameters: 2 id: 22 unit: function MovingBox() file: infrastructure/load-balancing-for-inference/components/play3d.tsx start line: 7 end line: 83 size: 62 LOC McCabe index: 5 number of parameters: 5 id: 23 unit: export default function CountdownOverlay() file: infrastructure/load-balancing-for-inference/components/CountdownOverlay.tsx start line: 16 end line: 78 size: 59 LOC McCabe index: 9 number of parameters: 5 id: 24 unit: export async function nudgeGameAction() file: app-dev/party-game/app/actions/nudge-game.ts start line: 24 end line: 93 size: 58 LOC McCabe index: 14 number of parameters: 5 id: 25 unit: async function setMissionPattern() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 24 end line: 101 size: 57 LOC McCabe index: 10 number of parameters: 2 id: 26 unit: def connect_tcp_socket() file: infrastructure/movie-search-app/connect_tcp.py start line: 0 end line: 0 size: 54 LOC McCabe index: 12 number of parameters: 0 id: 27 unit: export default memo() file: infrastructure/load-balancing-blitz/frontend/components/AudioButton.tsx start line: 25 end line: 80 size: 52 LOC McCabe index: 6 number of parameters: 1 id: 28 unit: func scaleUpInstance() file: infrastructure/alloydb-scale-function/go-sample/alloydbscale.go start line: 95 end line: 164 size: 52 LOC McCabe index: 10 number of parameters: 5 id: 29 unit: func scaleDownInstance() file: infrastructure/alloydb-scale-function/go-sample/alloydbscale.go start line: 167 end line: 230 size: 52 LOC McCabe index: 10 number of parameters: 5 id: 30 unit: export default memo() file: infrastructure/load-balancing-for-inference/components/AudioButton.tsx start line: 25 end line: 80 size: 52 LOC McCabe index: 6 number of parameters: 1 id: 31 unit: export default memo() file: infrastructure/beat-the-load-balancer/frontend/components/AudioButton.tsx start line: 25 end line: 80 size: 52 LOC McCabe index: 6 number of parameters: 1 id: 32 unit: def model_picker_dialog() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 51 LOC McCabe index: 5 number of parameters: 0 id: 33 unit: def index() file: ai-ml/spark-gemini-rag/main.py start line: 0 end line: 0 size: 50 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: export default function DataBlockFunnelToGPURight() file: infrastructure/load-balancing-for-inference/components/DataBlockFunnelToGPURight.tsx start line: 26 end line: 96 size: 50 LOC McCabe index: 5 number of parameters: 8 id: 35 unit: export default function DataBlockFunnelToGPU() file: infrastructure/load-balancing-for-inference/components/DataBlockFunnelToGPU.tsx start line: 26 end line: 96 size: 50 LOC McCabe index: 5 number of parameters: 8 id: 36 unit: def process_video() file: data-analytics/minigolf-demo/helper.py start line: 0 end line: 0 size: 48 LOC McCabe index: 1 number of parameters: 1 id: 37 unit: def run() file: data-analytics/beam_ml_toxicity_in_gaming/part2.py start line: 0 end line: 0 size: 48 LOC McCabe index: 9 number of parameters: 4 id: 38 unit: def run() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/toxicity_pipeline.py start line: 0 end line: 0 size: 48 LOC McCabe index: 8 number of parameters: 4 id: 39 unit: def run() file: data-analytics/beam_ml_toxicity_in_gaming/toxicity_pipeline.py start line: 0 end line: 0 size: 48 LOC McCabe index: 8 number of parameters: 4 id: 40 unit: def generate_and_publish_image() file: data-analytics/next25-turbocharge-ecomm/generate_and_publish_image.py start line: 0 end line: 0 size: 47 LOC McCabe index: 10 number of parameters: 3 id: 41 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 47 LOC McCabe index: 9 number of parameters: 1 id: 42 unit: def cargo_trigger() file: other/train-to-cloud-city/app/functions/cargo_trigger/main.py start line: 0 end line: 0 size: 45 LOC McCabe index: 9 number of parameters: 1 id: 43 unit: $() file: data-analytics/data-dash/webapp/static/js/script.js start line: 1 end line: 115 size: 43 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: def process_video() file: data-analytics/minigolf-demo/cloud_function/video_processing.py start line: 0 end line: 0 size: 41 LOC McCabe index: 10 number of parameters: 2 id: 45 unit: def get_breeds() file: ai-ml/vision-api-serverless-app-tutorial/6_doggo_demo/app.py start line: 0 end line: 0 size: 40 LOC McCabe index: 10 number of parameters: 0 id: 46 unit: func initTracer() file: devops/otel-col-cloud-run-multicontainer/recursive/main.go start line: 47 end line: 88 size: 40 LOC McCabe index: 5 number of parameters: 0 id: 47 unit: func initTracer() file: devops/otel-col-gke-add-labels/src/service/main.go start line: 45 end line: 86 size: 40 LOC McCabe index: 5 number of parameters: 0 id: 48 unit: def _create_response() file: infrastructure/cymbal-toy-store/backend/src/backend/chat_handler.py start line: 0 end line: 0 size: 40 LOC McCabe index: 2 number of parameters: 6 id: 49 unit: func() file: devops/otel-pubsub-trace/src/publisher/main.go start line: 118 end line: 163 size: 39 LOC McCabe index: 4 number of parameters: 1 id: 50 unit: def model_picker_dialog() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 39 LOC McCabe index: 5 number of parameters: 0 id: 51 unit: func main() file: devops/otel-trace-exemplar/recursive/main.go start line: 136 end line: 175 size: 38 LOC McCabe index: 7 number of parameters: 0 id: 52 unit: def get_all_vm_stats() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 37 LOC McCabe index: 3 number of parameters: 1 id: 53 unit: def get_user_data() file: data-analytics/minigolf-demo/backend/main.py start line: 0 end line: 0 size: 36 LOC McCabe index: 6 number of parameters: 1 id: 54 unit: def get_breeds() file: ai-ml/vision-api-serverless-app-tutorial/7_doggo_service/app.py start line: 0 end line: 0 size: 36 LOC McCabe index: 12 number of parameters: 1 id: 55 unit: func initTracer() file: devops/otel-pubsub-trace/src/publisher/main.go start line: 44 end line: 79 size: 36 LOC McCabe index: 5 number of parameters: 0 id: 56 unit: func initTracer() file: devops/otel-pubsub-trace/src/subscriber/main.go start line: 41 end line: 76 size: 36 LOC McCabe index: 5 number of parameters: 0 id: 57 unit: def generate_random_toy_name() file: data-analytics/next25-turbocharge-ecomm/generate_and_publish_image.py start line: 0 end line: 0 size: 35 LOC McCabe index: 7 number of parameters: 0 id: 58 unit: def get_stat() file: data-analytics/minigolf-demo/backend/main.py start line: 0 end line: 0 size: 35 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: def dialog() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 34 LOC McCabe index: 2 number of parameters: 1 id: 60 unit: def send_prompt() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 34 LOC McCabe index: 8 number of parameters: 1 id: 61 unit: def main() file: infrastructure/load-balancing-blitz/app/sys_health_server.py start line: 0 end line: 0 size: 34 LOC McCabe index: 5 number of parameters: 0 id: 62 unit: def dialog() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 34 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: def send_prompt() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 34 LOC McCabe index: 8 number of parameters: 1 id: 64 unit: def connect_tcp_socket() file: infrastructure/cymbal-store-embeddings/connect_tcp.py start line: 0 end line: 0 size: 34 LOC McCabe index: 7 number of parameters: 0 id: 65 unit: def main() file: infrastructure/beat-the-load-balancer/backend/sys_health_server.py start line: 0 end line: 0 size: 34 LOC McCabe index: 5 number of parameters: 0 id: 66 unit: def helper_shot_information() file: data-analytics/minigolf-demo/cloud_function/gemini.py start line: 0 end line: 0 size: 33 LOC McCabe index: 9 number of parameters: 1 id: 67 unit: func handler() file: devops/otel-pubsub-trace/src/subscriber/main.go start line: 115 end line: 149 size: 33 LOC McCabe index: 4 number of parameters: 2 id: 68 unit: func initTracer() file: devops/otel-trace-exemplar/recursive/main.go start line: 69 end line: 101 size: 31 LOC McCabe index: 5 number of parameters: 0 id: 69 unit: func initMeter() file: devops/otel-trace-exemplar/recursive/main.go start line: 103 end line: 134 size: 31 LOC McCabe index: 5 number of parameters: 0 id: 70 unit: export default function ResultsPage() file: infrastructure/load-balancing-blitz/frontend/app/results/page.tsx start line: 8 end line: 43 size: 31 LOC McCabe index: 2 number of parameters: 0 id: 71 unit: export default function ResultsPage() file: infrastructure/load-balancing-for-inference/app/results/page.tsx start line: 8 end line: 43 size: 31 LOC McCabe index: 2 number of parameters: 0 id: 72 unit: export default function ResultsPage() file: infrastructure/beat-the-load-balancer/frontend/app/results/page.tsx start line: 8 end line: 43 size: 31 LOC McCabe index: 2 number of parameters: 0 id: 73 unit: def run() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/part2.py start line: 0 end line: 0 size: 30 LOC McCabe index: 9 number of parameters: 4 id: 74 unit: export async function createGameAction() file: app-dev/party-game/app/actions/create-game.ts start line: 26 end line: 71 size: 30 LOC McCabe index: 3 number of parameters: 3 id: 75 unit: def image_recognition() file: data-analytics/minigolf-demo/cloud_function/main.py start line: 0 end line: 0 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: def cp_image() file: devops/inter-org-artifacts-release/App.py start line: 0 end line: 0 size: 29 LOC McCabe index: 10 number of parameters: 0 id: 77 unit: def run() file: data-analytics/beam_ml_toxicity_in_gaming/part1.py start line: 0 end line: 0 size: 28 LOC McCabe index: 11 number of parameters: 4 id: 78 unit: async function readCargo() file: other/train-to-cloud-city/devices/rfid/trainGame.js start line: 90 end line: 127 size: 28 LOC McCabe index: 9 number of parameters: 2 id: 79 unit: func main() file: devops/otel-pubsub-trace/src/publisher/main.go start line: 81 end line: 112 size: 28 LOC McCabe index: 5 number of parameters: 0 id: 80 unit: def generate_visual() file: data-analytics/minigolf-demo/cloud_function/generate_visual.py start line: 0 end line: 0 size: 27 LOC McCabe index: 4 number of parameters: 2 id: 81 unit: def background_thread() file: data-analytics/data-dash/webapp/main.py start line: 0 end line: 0 size: 27 LOC McCabe index: 8 number of parameters: 0 id: 82 unit: def process() file: data-analytics/xlang_transforms/python/write-to-bq.py start line: 0 end line: 0 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 83 unit: def input_trigger() file: other/train-to-cloud-city/app/functions/input_trigger/main.py start line: 0 end line: 0 size: 26 LOC McCabe index: 2 number of parameters: 1 id: 84 unit: func ScaleAlloyDBInstance() file: infrastructure/alloydb-scale-function/go-sample/alloydbscale.go start line: 233 end line: 264 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 85 unit: def lifespan() file: infrastructure/cymbal-toy-store/backend/src/backend/app.py start line: 0 end line: 0 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 86 unit: def process() file: data-analytics/xlang_transforms/python/part2.py start line: 0 end line: 0 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 87 unit: def process() file: data-analytics/xlang_transforms/python/main.py start line: 0 end line: 0 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 88 unit: def process() file: data-analytics/xlang_transforms/python/part1.py start line: 0 end line: 0 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 89 unit: def process() file: data-analytics/xlang_transforms/python/part3.py start line: 0 end line: 0 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 90 unit: export default function GamePage() file: app-dev/party-game/app/(authenticated-pages)/game/[gameId]/page.tsx start line: 28 end line: 54 size: 25 LOC McCabe index: 6 number of parameters: 0 id: 91 unit: export default memo() file: infrastructure/load-balancing-blitz/frontend/components/EmptyVmBox.tsx start line: 18 end line: 42 size: 25 LOC McCabe index: 1 number of parameters: 4 id: 92 unit: export default memo() file: infrastructure/load-balancing-for-inference/components/EmptyVmBox.tsx start line: 18 end line: 42 size: 25 LOC McCabe index: 1 number of parameters: 4 id: 93 unit: export default memo() file: infrastructure/beat-the-load-balancer/frontend/components/EmptyVmBox.tsx start line: 18 end line: 42 size: 25 LOC McCabe index: 1 number of parameters: 4 id: 94 unit: def connect_with_connector() file: infrastructure/cymbal-toy-store/backend/src/backend/connector.py start line: 0 end line: 0 size: 25 LOC McCabe index: 4 number of parameters: 4 id: 95 unit: async function listenToReaders() file: other/train-to-cloud-city/devices/rfid/start.js start line: 49 end line: 77 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 96 unit: def reset() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 97 unit: function handleImageChange() file: infrastructure/cymbal-toy-store/frontend/src/app/chat.tsx start line: 96 end line: 121 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 98 unit: def monitor_and_upload() file: data-analytics/minigolf-demo/upload.py start line: 0 end line: 0 size: 23 LOC McCabe index: 9 number of parameters: 1 id: 99 unit: async function updateGameLoop() file: other/train-to-cloud-city/devices/rfid/trainGame.js start line: 158 end line: 186 size: 23 LOC McCabe index: 4 number of parameters: 0 id: 100 unit: def multiturn_quality() file: ai-ml/spark-gemini-rag/main.py start line: 0 end line: 0 size: 23 LOC McCabe index: 1 number of parameters: 3 id: 101 unit: def get_all_vm_health_stats() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: def create_index_page() file: infrastructure/beat-the-load-balancer/backend/lib/base_app.py start line: 0 end line: 0 size: 23 LOC McCabe index: 4 number of parameters: 3 id: 103 unit: def __init__() file: infrastructure/cymbal-toy-store/backend/src/backend/chat_handler.py start line: 0 end line: 0 size: 23 LOC McCabe index: 1 number of parameters: 2 id: 104 unit: def __init__() file: containers/aws-gcp-migration/aws/src/accounts/userservice/db.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 3 id: 105 unit: def __init__() file: containers/aws-gcp-migration/gcp/src/accounts/userservice/db.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 3 id: 106 unit: def test_nearest_neighbors_query() file: ai-ml/rag-architectures/ingestion/main.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: def send_message() file: infrastructure/load-balancing-blitz/app/warehouse.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 108 unit: def send_message() file: infrastructure/beat-the-load-balancer/backend/warehouse.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 109 unit: def signup_helper() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 110 unit: def signup_helper() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 111 unit: export default function ShareLinkPanel() file: app-dev/party-game/app/components/share-link-panel.tsx start line: 22 end line: 44 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 112 unit: def send_request_to_loader() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 113 unit: def call_gemma() file: infrastructure/cymbal-store-embeddings/gemma_model.py start line: 0 end line: 0 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 114 unit: def send_request_to_loader() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 115 unit: public PDone expand() file: data-analytics/xlang_transforms/src/main/java/com/google/beam/workshop/WriteToBigQuery.java start line: 68 end line: 88 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: def get_data() file: data-analytics/data-dash/webapp/main.py start line: 0 end line: 0 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 117 unit: def get_embeddings() file: ai-ml/rag-architectures/ingestion/main.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 118 unit: func main() file: devops/otel-pubsub-trace/src/subscriber/main.go start line: 78 end line: 101 size: 20 LOC McCabe index: 4 number of parameters: 0 id: 119 unit: func main() file: devops/otel-col-cloud-run-multicontainer/recursive/main.go start line: 90 end line: 110 size: 20 LOC McCabe index: 3 number of parameters: 0 id: 120 unit: def crash_scene_simulator() file: infrastructure/load-balancing-blitz/app/warehouse.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 121 unit: def crash_scene_simulator() file: infrastructure/beat-the-load-balancer/backend/warehouse.py start line: 0 end line: 0 size: 20 LOC McCabe index: 2 number of parameters: 0 id: 122 unit: def connect_with_tcp() file: infrastructure/cymbal-toy-store/backend/src/backend/connector.py start line: 0 end line: 0 size: 20 LOC McCabe index: 5 number of parameters: 5 id: 123 unit: def run() file: data-analytics/beam_troubleshooting_lab/not_everything_is_written.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 124 unit: def store_embeddings_vavs() file: ai-ml/rag-architectures/ingestion/main.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 125 unit: def initialize_clients() file: ai-ml/rag-architectures/serving/backend/app.py start line: 0 end line: 0 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 126 unit: func root() file: devops/otel-trace-exemplar/recursive/main.go start line: 177 end line: 196 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 127 unit: def _make_chat_bubble_style() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 128 unit: def update_vm_select() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 129 unit: def _make_chat_bubble_style() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 130 unit: def update_vm_select() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 131 unit: def get_contacts() file: containers/aws-gcp-migration/aws/src/accounts/contacts/db.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 132 unit: def get_contacts() file: containers/aws-gcp-migration/gcp/src/accounts/contacts/db.py start line: 0 end line: 0 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 133 unit: function setCheckpoints() file: data-analytics/data-dash/webapp/static/js/script.js start line: 32 end line: 52 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 134 unit: async function getMatchingTag() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 108 end line: 125 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 135 unit: export default function Home() file: app-dev/party-game/app/not-found.tsx start line: 22 end line: 40 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: async function appendRow() file: app-dev/cloud-functions-2ndgen-resilient-system/write-firestore/index.js start line: 52 end line: 69 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 137 unit: async function appendRow() file: app-dev/cloud-functions-2ndgen-resilient-system/post-temperature/index.js start line: 33 end line: 50 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 138 unit: async function appendRow() file: app-dev/cloud-functions-2ndgen-resilient-system/write-bigquery/index.js start line: 56 end line: 73 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 139 unit: export default function StatsPage() file: infrastructure/load-balancing-blitz/frontend/app/stats/page.tsx start line: 9 end line: 28 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 140 unit: export default function StatsPage() file: infrastructure/load-balancing-for-inference/app/stats/page.tsx start line: 9 end line: 28 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 141 unit: export default function StatsPage() file: infrastructure/beat-the-load-balancer/frontend/app/stats/page.tsx start line: 9 end line: 28 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 142 unit: def _find_similar_products() file: infrastructure/cymbal-toy-store/backend/src/backend/chat_handler.py start line: 0 end line: 0 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 143 unit: def run() file: data-analytics/xlang_transforms/python/main.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 144 unit: def run() file: data-analytics/xlang_transforms/python/write-to-bq.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 4 id: 145 unit: def parse_and_run_command() file: other/train-to-cloud-city/devices/signal/CIRCUITPY/code.py start line: 0 end line: 0 size: 17 LOC McCabe index: 8 number of parameters: 1 id: 146 unit: def __init__() file: ai-ml/rag-architectures/serving/backend/app.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: export default function Home() file: app-dev/party-game/app/(authenticated-pages)/page.tsx start line: 23 end line: 41 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 148 unit: def call_openai_gpt4o_mini() file: infrastructure/cymbal-store-embeddings/openai_model.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 149 unit: def reset() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 150 unit: def generate_accountid() file: containers/aws-gcp-migration/aws/src/accounts/userservice/db.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 151 unit: def __init__() file: containers/aws-gcp-migration/aws/src/accounts/contacts/db.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 152 unit: function RefreshModals() file: containers/aws-gcp-migration/aws/src/frontend/static/scripts/index.js start line: 83 end line: 99 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 153 unit: def generate_accountid() file: containers/aws-gcp-migration/gcp/src/accounts/userservice/db.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 154 unit: def __init__() file: containers/aws-gcp-migration/gcp/src/accounts/contacts/db.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 155 unit: function RefreshModals() file: containers/aws-gcp-migration/gcp/src/frontend/static/scripts/index.js start line: 83 end line: 99 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 156 unit: def main() file: ai-ml/vision-api-serverless-app-tutorial/7_doggo_service/app.py start line: 0 end line: 0 size: 16 LOC McCabe index: 5 number of parameters: 0 id: 157 unit: export async function updateAnswerAction() file: app-dev/party-game/app/actions/update-answer.ts start line: 24 end line: 47 size: 16 LOC McCabe index: 2 number of parameters: 5 id: 158 unit: def generate_embedding() file: infrastructure/cymbal-store-embeddings/gemma_model.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 159 unit: def delayed_generate_controlled_load() file: infrastructure/beat-the-load-balancer/backend/lib/celery_task.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 160 unit: async function handleSubmit() file: infrastructure/cymbal-toy-store/frontend/src/app/chat.tsx start line: 62 end line: 81 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 161 unit: def validate() file: other/train-to-cloud-city/app/functions/cargo_trigger/train_types.py start line: 0 end line: 0 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 162 unit: def validate() file: other/train-to-cloud-city/app/server/train_types.py start line: 0 end line: 0 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 163 unit: def predict() file: ai-ml/gemini-chatbot-app-gradio/gradio_app.py start line: 0 end line: 0 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 164 unit: export async function joinGameAction() file: app-dev/party-game/app/actions/join-game.ts start line: 24 end line: 44 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 165 unit: def send_internal_http_request_to() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 166 unit: def update_system_data() file: infrastructure/load-balancing-blitz/app/sys_health_server.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 167 unit: def send_internal_http_request_to() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 168 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 169 unit: def update_system_data() file: infrastructure/beat-the-load-balancer/backend/sys_health_server.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 3 id: 170 unit: def initialize_bq_tables() file: data-analytics/minigolf-demo/cloud_function/bigquery_utils.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 171 unit: def generate_commentary() file: data-analytics/minigolf-demo/cloud_function/gemini.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 4 id: 172 unit: public void process() file: data-analytics/xlang_transforms/src/main/java/com/google/beam/workshop/FieldPrefixAdderTransform.java start line: 67 end line: 83 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 173 unit: async function submitActualCargo() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 203 end line: 217 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 174 unit: async function moveToStation() file: other/train-to-cloud-city/devices/rfid/trainGame.js start line: 135 end line: 150 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 175 unit: def create_augmented_prompt() file: ai-ml/rag-architectures/serving/backend/app.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 176 unit: func main() file: devops/otel-col-gke-add-labels/src/service/main.go start line: 88 end line: 102 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 177 unit: def update_service() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 4 id: 178 unit: export default function GameList() file: app-dev/party-game/app/components/game-list.tsx start line: 22 end line: 36 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 179 unit: async function getRow() file: app-dev/cloud-functions-2ndgen-resilient-system/write-firestore/index.js start line: 37 end line: 50 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 180 unit: async function getRow() file: app-dev/cloud-functions-2ndgen-resilient-system/write-bigquery/index.js start line: 41 end line: 54 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 181 unit: def send_prompt_flash() file: infrastructure/movie-search-app/gemini_model.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 182 unit: def get_movies() file: infrastructure/movie-search-app/pinecone_model.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 183 unit: def send_prompt_flash() file: infrastructure/movie-search-app/pinecone_model.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 184 unit: def send_score_message() file: infrastructure/load-balancing-blitz/app/metrics/metrics.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 4 id: 185 unit: export default function RootLayout() file: infrastructure/load-balancing-blitz/frontend/app/layout.tsx start line: 13 end line: 26 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 186 unit: def classify_intent() file: infrastructure/cymbal-store-embeddings/gemma_model.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: def send_prompt_flash() file: infrastructure/cymbal-store-embeddings/gemini_model.py start line: 0 end line: 0 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 188 unit: export default function RootLayout() file: infrastructure/load-balancing-for-inference/app/layout.tsx start line: 13 end line: 26 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 189 unit: def send_score_message() file: infrastructure/beat-the-load-balancer/metrics/metrics.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 4 id: 190 unit: def send_score_message() file: infrastructure/beat-the-load-balancer/backend/metrics/metrics.py start line: 0 end line: 0 size: 14 LOC McCabe index: 4 number of parameters: 4 id: 191 unit: def reset() file: infrastructure/beat-the-load-balancer/backend/lib/job_reporter.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: def reset() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 193 unit: def respond() file: infrastructure/cymbal-toy-store/backend/src/backend/chat_handler.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 194 unit: def deposit() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 195 unit: def deposit() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 196 unit: def run() file: data-analytics/xlang_transforms/python/part3.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 197 unit: def reset() file: other/train-to-cloud-city/app/functions/input_trigger/main.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: func main() file: devops/otel-col-logs/src/app/main.go start line: 29 end line: 42 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 199 unit: func root() file: devops/otel-col-cloud-run-multicontainer/recursive/main.go start line: 112 end line: 125 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 200 unit: export default function ExitGameButton() file: app-dev/party-game/app/components/exit-game-button.tsx start line: 23 end line: 37 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: export default function RootLayout() file: app-dev/party-game/app/(unauthenticated-pages)/layout.tsx start line: 24 end line: 36 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 202 unit: def reset_player_game() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 203 unit: def reset_all_vms_stats() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 204 unit: def get_locust_command() file: infrastructure/load-balancing-blitz/app/loader.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 205 unit: def reset_player_game() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 206 unit: def reset_all_vms_stats() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 207 unit: def get_locust_command() file: infrastructure/beat-the-load-balancer/backend/loader.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 208 unit: def get_system_health() file: infrastructure/beat-the-load-balancer/backend/lib/system_health.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 209 unit: def set_roi() file: data-analytics/minigolf-demo/helper.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 210 unit: def run() file: data-analytics/beam_troubleshooting_lab/textio_read.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 211 unit: def validate() file: other/train-to-cloud-city/app/functions/cargo_trigger/train_types.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 212 unit: def validate() file: other/train-to-cloud-city/app/server/train_types.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 213 unit: async function matchCargoToServices() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 181 end line: 196 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 214 unit: def ingest_text_document() file: ai-ml/rag-architectures/ingestion/main.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 215 unit: def prompt_gemini() file: ai-ml/rag-architectures/serving/backend/app.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 216 unit: func newResource() file: devops/otel-trace-exemplar/recursive/main.go start line: 54 end line: 67 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 217 unit: func foo() file: devops/otel-trace-exemplar/recursive/main.go start line: 198 end line: 209 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 218 unit: func foo() file: devops/otel-col-cloud-run-multicontainer/recursive/main.go start line: 127 end line: 138 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 219 unit: func foo() file: devops/otel-col-gke-add-labels/src/service/main.go start line: 122 end line: 133 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 220 unit: async function updateSheet() file: app-dev/cloud-functions-2ndgen-resilient-system/write-firestore/index.js start line: 24 end line: 35 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 221 unit: async function updateSheet() file: app-dev/cloud-functions-2ndgen-resilient-system/write-bigquery/index.js start line: 28 end line: 39 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 222 unit: def get_movies() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 223 unit: def get_products() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 224 unit: def execution_timer() file: infrastructure/beat-the-load-balancer/backend/lib/profiler.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 225 unit: def payment() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 226 unit: def payment() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 227 unit: def run() file: data-analytics/beam_troubleshooting_lab/single_pardo_read.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 228 unit: def run() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/part1.py start line: 0 end line: 0 size: 11 LOC McCabe index: 8 number of parameters: 4 id: 229 unit: async function gracefulExit() file: other/train-to-cloud-city/devices/rfid/start.js start line: 151 end line: 161 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 230 unit: async function getTrain() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 131 end line: 142 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 231 unit: async function getTrainMailbox() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 148 end line: 160 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 232 unit: function queueMessageToPublish() file: other/train-to-cloud-city/devices/rfid/utils/metrics.js start line: 12 end line: 23 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 233 unit: func subscriber() file: devops/otel-pubsub-trace/src/subscriber/main.go start line: 103 end line: 113 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 234 unit: export default function DeleteGameButton() file: app-dev/party-game/app/components/delete-game-button.tsx start line: 22 end line: 33 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 235 unit: export async function deleteGameAction() file: app-dev/party-game/app/actions/delete-game.ts start line: 23 end line: 40 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 236 unit: export default function RootLayout() file: app-dev/party-game/app/layout.tsx start line: 29 end line: 39 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 237 unit: def init_connection_pool() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 238 unit: def get_free_port() file: infrastructure/load-balancing-blitz/app/warehouse.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 239 unit: def get_free_port() file: infrastructure/beat-the-load-balancer/backend/warehouse.py start line: 0 end line: 0 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 240 unit: def get_system_health() file: infrastructure/beat-the-load-balancer/backend/lib/system_health.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 241 unit: def tick() file: infrastructure/beat-the-load-balancer/backend/lib/locustfile.py start line: 0 end line: 0 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 242 unit: export default function RootLayout() file: infrastructure/cymbal-toy-store/frontend/src/app/layout.tsx start line: 25 end line: 35 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 243 unit: def _parse_history() file: infrastructure/cymbal-toy-store/backend/src/backend/chat_handler.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 244 unit: def make_call() file: containers/aws-gcp-migration/aws/src/frontend/api_call.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 245 unit: def make_call() file: containers/aws-gcp-migration/gcp/src/frontend/api_call.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 246 unit: def get_file_number() file: data-analytics/minigolf-demo/upload.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 247 unit: def get_firestore_client() file: data-analytics/minigolf-demo/cloud_function/firestore_utils.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 248 unit: def set_side() file: data-analytics/data-dash/pi/side_controller.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 249 unit: async function getMotor() file: other/train-to-cloud-city/devices/rfid/utils/train.js start line: 32 end line: 41 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 250 unit: async function updateLocation() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 223 end line: 234 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 251 unit: async function resetGameState() file: other/train-to-cloud-city/devices/rfid/trainGame.js start line: 224 end line: 236 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 252 unit: def get_chat_client() file: ai-ml/gemini-chatbot-app-gradio/llm.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 253 unit: def extract_id_and_text() file: ai-ml/rag-architectures/ingestion/main.py start line: 0 end line: 0 size: 10 LOC McCabe index: 8 number of parameters: 1 id: 254 unit: def extract_id_and_text() file: ai-ml/rag-architectures/serving/backend/app.py start line: 0 end line: 0 size: 10 LOC McCabe index: 8 number of parameters: 1 id: 255 unit: def extract_id_and_text() file: ai-ml/rag-architectures/serving/backend/app.py start line: 0 end line: 0 size: 10 LOC McCabe index: 8 number of parameters: 1 id: 256 unit: def get_chat_client() file: ai-ml/gemini-chatbot-app/lesson02/llm.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 257 unit: def copy_image() file: devops/inter-org-artifacts-release/copy_image.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 258 unit: func traceGenerator() file: devops/otel-col-gke-add-labels/src/service/main.go start line: 104 end line: 113 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 259 unit: async function writeCell() file: app-dev/cloud-functions-2ndgen-resilient-system/write-firestore/index.js start line: 71 end line: 80 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 260 unit: async function writeCell() file: app-dev/cloud-functions-2ndgen-resilient-system/write-bigquery/index.js start line: 75 end line: 84 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 261 unit: def classify_intent() file: infrastructure/movie-search-app/gemini_model.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 262 unit: def classify_intent() file: infrastructure/movie-search-app/pinecone_model.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: def from_dict() file: infrastructure/load-balancing-blitz/app/metrics/game_healthcheck.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 264 unit: def to_dict() file: infrastructure/load-balancing-blitz/app/metrics/game_healthcheck.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 265 unit: def from_dict() file: infrastructure/load-balancing-blitz/app/metrics/game_score.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 266 unit: def to_dict() file: infrastructure/load-balancing-blitz/app/metrics/game_score.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 267 unit: def stop_the_player_game() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 268 unit: function newMakeAPICallSync() file: infrastructure/load-balancing-blitz/app/static/vm_updates.js start line: 4 end line: 25 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 269 unit: def crash_checker() file: infrastructure/load-balancing-blitz/app/warehouse.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 270 unit: def crash_scene_test() file: infrastructure/load-balancing-blitz/app/warehouse.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 271 unit: def classify_intent() file: infrastructure/cymbal-store-embeddings/gemini_model.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 272 unit: def from_dict() file: infrastructure/beat-the-load-balancer/metrics/game_healthcheck.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 273 unit: def to_dict() file: infrastructure/beat-the-load-balancer/metrics/game_healthcheck.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: def from_dict() file: infrastructure/beat-the-load-balancer/metrics/game_score.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 275 unit: def to_dict() file: infrastructure/beat-the-load-balancer/metrics/game_score.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 276 unit: def from_dict() file: infrastructure/beat-the-load-balancer/backend/metrics/game_healthcheck.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 277 unit: def to_dict() file: infrastructure/beat-the-load-balancer/backend/metrics/game_healthcheck.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 278 unit: def from_dict() file: infrastructure/beat-the-load-balancer/backend/metrics/game_score.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: def to_dict() file: infrastructure/beat-the-load-balancer/backend/metrics/game_score.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 280 unit: def stop_the_player_game() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 281 unit: function newMakeAPICallSync() file: infrastructure/beat-the-load-balancer/backend/static/vm_updates.js start line: 4 end line: 25 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 282 unit: def crash_checker() file: infrastructure/beat-the-load-balancer/backend/warehouse.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 283 unit: def crash_scene_test() file: infrastructure/beat-the-load-balancer/backend/warehouse.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 284 unit: def get_host_ip_address() file: infrastructure/beat-the-load-balancer/backend/lib/system_config.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 285 unit: def monitor() file: infrastructure/beat-the-load-balancer/backend/lib/load.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 286 unit: def submit() file: containers/aws-gcp-migration/aws/src/frontend/traced_thread_pool_executor.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 287 unit: def login() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 288 unit: def submit() file: containers/aws-gcp-migration/gcp/src/frontend/traced_thread_pool_executor.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 289 unit: def login() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 290 unit: def process() file: data-analytics/beam_troubleshooting_lab/single_pardo_read.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 291 unit: def run() file: data-analytics/xlang_transforms/python/part2.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 292 unit: def run() file: data-analytics/xlang_transforms/python/part1.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 293 unit: function updateStatus() file: data-analytics/data-dash/webapp/static/js/script.js start line: 21 end line: 30 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 294 unit: function formatTimestamp() file: data-analytics/data-dash/webapp/static/js/script.js start line: 54 end line: 67 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 295 unit: function initTrain() file: other/train-to-cloud-city/devices/rfid/utils/train.js start line: 22 end line: 30 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 296 unit: async function clearTrainMailbox() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 166 end line: 174 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 297 unit: def get_response() file: ai-ml/gemini-chatbot-app/lesson02/llm.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 298 unit: async function getSheetsService() file: app-dev/cloud-functions-2ndgen-resilient-system/write-firestore/index.js start line: 82 end line: 90 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 299 unit: async function getSheetsService() file: app-dev/cloud-functions-2ndgen-resilient-system/post-temperature/index.js start line: 52 end line: 60 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 300 unit: async function getSheetsService() file: app-dev/cloud-functions-2ndgen-resilient-system/write-bigquery/index.js start line: 86 end line: 94 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 301 unit: def main() file: infrastructure/load-balancing-blitz/poc/hc_cronjob.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 302 unit: def __repr__() file: infrastructure/load-balancing-blitz/app/metrics/game_healthcheck.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 303 unit: def __repr__() file: infrastructure/load-balancing-blitz/app/metrics/game_score.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: def reset_warehouse_stats() file: infrastructure/load-balancing-blitz/app/warehouse.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 305 unit: def is_locust_running() file: infrastructure/load-balancing-blitz/app/loader.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 306 unit: def __repr__() file: infrastructure/beat-the-load-balancer/metrics/game_healthcheck.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: def __repr__() file: infrastructure/beat-the-load-balancer/metrics/game_score.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: def __repr__() file: infrastructure/beat-the-load-balancer/backend/metrics/game_healthcheck.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 309 unit: def __repr__() file: infrastructure/beat-the-load-balancer/backend/metrics/game_score.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 310 unit: def reset_warehouse_stats() file: infrastructure/beat-the-load-balancer/backend/warehouse.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 311 unit: def is_locust_running() file: infrastructure/beat-the-load-balancer/backend/loader.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 312 unit: def update_ip_address() file: infrastructure/beat-the-load-balancer/backend/lib/system_config.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 313 unit: def create_timestamp_file() file: infrastructure/beat-the-load-balancer/backend/lib/helper.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 314 unit: def delete_timestamp_file() file: infrastructure/beat-the-load-balancer/backend/lib/helper.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 315 unit: def get_os_system_health() file: infrastructure/beat-the-load-balancer/backend/lib/system_health.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 316 unit: def _extract_url() file: infrastructure/cymbal-toy-store/backend/src/backend/chat_handler.py start line: 0 end line: 0 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 317 unit: def process() file: data-analytics/next25-turbocharge-ecomm/main.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 318 unit: def process() file: data-analytics/next25-turbocharge-ecomm/main.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 319 unit: def upload_file_to_gcs() file: data-analytics/minigolf-demo/upload.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 320 unit: def init_pin() file: data-analytics/data-dash/pi/beam_break_sensor.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 321 unit: def broken() file: data-analytics/data-dash/pi/beam_break_sensor.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 322 unit: def __init__() file: data-analytics/data-dash/pi/side_controller.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 323 unit: def get_default_world() file: other/train-to-cloud-city/app/server/main.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 324 unit: async function updateInputMailbox() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 241 end line: 248 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 325 unit: def get_rag_context() file: ai-ml/spark-gemini-rag/main.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 326 unit: def get_service() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 327 unit: def get_revision_url() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 328 unit: def set() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 329 unit: export async function exitGameAction() file: app-dev/party-game/app/actions/exit-game.ts start line: 24 end line: 36 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 330 unit: export async function validateTokens() file: app-dev/party-game/app/lib/server-token-validator.ts start line: 22 end line: 29 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 331 unit: export default defineConfig() file: app-dev/cloud-next-22-cloud-run-integrations/vuejs-webapp/vite.config.js start line: 21 end line: 28 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 332 unit: def __init__() file: infrastructure/load-balancing-blitz/app/metrics/game_healthcheck.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 333 unit: def __init__() file: infrastructure/load-balancing-blitz/app/metrics/game_score.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 334 unit: def send_system_health_message() file: infrastructure/load-balancing-blitz/app/metrics/metrics.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 335 unit: def automatic_round_robin_routing() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 336 unit: def is_port_free() file: infrastructure/load-balancing-blitz/app/warehouse.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 337 unit: def __init__() file: infrastructure/beat-the-load-balancer/metrics/game_healthcheck.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 338 unit: def __init__() file: infrastructure/beat-the-load-balancer/metrics/game_score.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 339 unit: def send_system_health_message() file: infrastructure/beat-the-load-balancer/metrics/metrics.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 340 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/metrics/game_healthcheck.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 341 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/metrics/game_score.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 342 unit: def send_system_health_message() file: infrastructure/beat-the-load-balancer/backend/metrics/metrics.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 343 unit: def automatic_round_robin_routing() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 344 unit: def is_port_free() file: infrastructure/beat-the-load-balancer/backend/warehouse.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 345 unit: def job_queue_status() file: infrastructure/beat-the-load-balancer/backend/lib/job_reporter.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 346 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/lib/system_config.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 347 unit: def is_file_recent() file: infrastructure/beat-the-load-balancer/backend/lib/helper.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 348 unit: def update_system_health_to_pubsub() file: infrastructure/beat-the-load-balancer/backend/lib/system_health.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 349 unit: def report_system_address() file: infrastructure/beat-the-load-balancer/backend/lib/base_app.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 350 unit: function handleChatClick() file: infrastructure/cymbal-toy-store/frontend/src/app/page.tsx start line: 76 end line: 83 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 351 unit: def get_user() file: containers/aws-gcp-migration/aws/src/accounts/userservice/db.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 352 unit: def logout() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 353 unit: def get_user() file: containers/aws-gcp-migration/gcp/src/accounts/userservice/db.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 354 unit: def logout() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 355 unit: def load_model() file: data-analytics/next25-turbocharge-ecomm/main.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 356 unit: def __init__() file: data-analytics/data-dash/pi/beam_break_sensor.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 5 id: 357 unit: def write_ip() file: data-analytics/data-dash/pi/side_controller.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 358 unit: def settings_customise_sources() file: ai-ml/gemma-ollama-app-streamlit/app.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 359 unit: export default function About() file: app-dev/party-game/app/(unauthenticated-pages)/about/page.tsx start line: 17 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 360 unit: export async function getTokens() file: app-dev/party-game/app/lib/client-token-generator.ts start line: 21 end line: 27 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 361 unit: def dialog_actions() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 362 unit: def _make_style_chat_bubble_wrapper() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 363 unit: def generate_embedding() file: infrastructure/movie-search-app/gemini_model.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 364 unit: def generate_embedding() file: infrastructure/movie-search-app/pinecone_model.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 365 unit: def from_dict() file: infrastructure/load-balancing-blitz/app/metrics/game_record.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 366 unit: def to_dict() file: infrastructure/load-balancing-blitz/app/metrics/game_record.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 367 unit: def send_game_record_message() file: infrastructure/load-balancing-blitz/app/metrics/metrics.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 368 unit: def automatic_routing_options() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 369 unit: def get_player_name() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 370 unit: def game_start() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 371 unit: def dialog_actions() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 372 unit: def _make_style_chat_bubble_wrapper() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 373 unit: def generate_embedding() file: infrastructure/cymbal-store-embeddings/gemini_model.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 374 unit: export default memo() file: infrastructure/load-balancing-for-inference/components/GpuVmBox.tsx start line: 10 end line: 16 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 375 unit: export default memo() file: infrastructure/load-balancing-for-inference/components/MessageIncoming.tsx start line: 16 end line: 22 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 376 unit: def from_dict() file: infrastructure/beat-the-load-balancer/metrics/game_record.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 377 unit: def to_dict() file: infrastructure/beat-the-load-balancer/metrics/game_record.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 378 unit: def send_game_record_message() file: infrastructure/beat-the-load-balancer/metrics/metrics.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 379 unit: def from_dict() file: infrastructure/beat-the-load-balancer/backend/metrics/game_record.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 380 unit: def to_dict() file: infrastructure/beat-the-load-balancer/backend/metrics/game_record.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 381 unit: def send_game_record_message() file: infrastructure/beat-the-load-balancer/backend/metrics/metrics.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 382 unit: def automatic_routing_options() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 383 unit: def get_player_name() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 384 unit: def game_start() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 385 unit: def run_os_command() file: infrastructure/beat-the-load-balancer/backend/lib/celery_task.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 386 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/lib/vm_selection_manager.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 387 unit: def _read_selected_vm_from_storage() file: infrastructure/beat-the-load-balancer/backend/lib/vm_selection_manager.py start line: 0 end line: 0 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 388 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/lib/system_health.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 389 unit: export function api() file: infrastructure/cymbal-toy-store/frontend/src/app/api.tsx start line: 20 end line: 27 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 390 unit: function uuidv4() file: containers/aws-gcp-migration/aws/src/frontend/static/scripts/index.js start line: 74 end line: 79 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 391 unit: def signup() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 392 unit: function uuidv4() file: containers/aws-gcp-migration/gcp/src/frontend/static/scripts/index.js start line: 74 end line: 79 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 393 unit: def signup() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 394 unit: def generate() file: data-analytics/next25-turbocharge-ecomm/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 395 unit: def get_latest_file() file: data-analytics/minigolf-demo/upload.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 396 unit: def get_user_status() file: data-analytics/minigolf-demo/backend/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 397 unit: def insert_data() file: data-analytics/minigolf-demo/cloud_function/bigquery_utils.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 398 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/part2.py start line: 0 end line: 0 size: 6 LOC McCabe index: 5 number of parameters: 2 id: 399 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/part1.py start line: 0 end line: 0 size: 6 LOC McCabe index: 5 number of parameters: 2 id: 400 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/part2.py start line: 0 end line: 0 size: 6 LOC McCabe index: 5 number of parameters: 2 id: 401 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/part1.py start line: 0 end line: 0 size: 6 LOC McCabe index: 5 number of parameters: 2 id: 402 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/toxicity_pipeline.py start line: 0 end line: 0 size: 6 LOC McCabe index: 5 number of parameters: 2 id: 403 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/toxicity_pipeline.py start line: 0 end line: 0 size: 6 LOC McCabe index: 5 number of parameters: 2 id: 404 unit: function setPic() file: data-analytics/data-dash/webapp/static/js/script.js start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 405 unit: def connect() file: data-analytics/data-dash/webapp/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 406 unit: def unbroken() file: data-analytics/data-dash/pi/beam_break_sensor.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 407 unit: def stream_response() file: ai-ml/gemma-ollama-app-streamlit/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 408 unit: def gcs_download_document() file: ai-ml/rag-architectures/ingestion/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 409 unit: def process_data() file: ai-ml/rag-architectures/ingestion/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 410 unit: def get_chat_response() file: ai-ml/rag-architectures/serving/frontend/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 411 unit: def get_embedding() file: ai-ml/spark-gemini-rag/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 412 unit: def make_gemini_prediction() file: ai-ml/spark-gemini-rag/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 413 unit: def prompt_maker() file: ai-ml/spark-gemini-rag/main.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 414 unit: func root() file: devops/otel-col-gke-add-labels/src/service/main.go start line: 115 end line: 120 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 415 unit: def add_options() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 416 unit: def get_revision_tags() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 417 unit: async function startup() file: app-dev/cloud-functions-2ndgen-what-are-coldstarts/index.js start line: 24 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 418 unit: def make_app() file: app-dev/python-frameworks-cloudrun/tornado-native/app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 419 unit: def change_model_option() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 420 unit: def graceful_shutdown() file: infrastructure/load-balancing-blitz/poc/websocket_server.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 2 id: 421 unit: def __repr__() file: infrastructure/load-balancing-blitz/app/metrics/game_record.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 422 unit: def send_local_http_call() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 423 unit: def get_system_data() file: infrastructure/load-balancing-blitz/app/sys_health_server.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 424 unit: function getRGBColor() file: infrastructure/load-balancing-blitz/frontend/components/UtilizationBox.tsx start line: 10 end line: 18 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 425 unit: def init_connection_pool() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 6 LOC McCabe index: 5 number of parameters: 0 id: 426 unit: def change_model_option() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 427 unit: function getRGBColor() file: infrastructure/load-balancing-for-inference/components/UtilizationBox.tsx start line: 10 end line: 18 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 428 unit: def __repr__() file: infrastructure/beat-the-load-balancer/metrics/game_record.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 429 unit: function getRGBColor() file: infrastructure/beat-the-load-balancer/frontend/components/UtilizationBox.tsx start line: 10 end line: 18 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 430 unit: def __repr__() file: infrastructure/beat-the-load-balancer/backend/metrics/game_record.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 431 unit: def send_local_http_call() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 432 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/lib/job_reporter.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 433 unit: def update_system_health_to_redis() file: infrastructure/beat-the-load-balancer/backend/lib/system_health.py start line: 0 end line: 0 size: 6 LOC McCabe index: 4 number of parameters: 3 id: 434 unit: def get_system_health_from_redis() file: infrastructure/beat-the-load-balancer/backend/lib/system_health.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 435 unit: def favicon() file: infrastructure/beat-the-load-balancer/backend/lib/base_app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 436 unit: def get_version() file: infrastructure/beat-the-load-balancer/backend/lib/base_app.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 437 unit: def mget() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 438 unit: def generate_controlled_load() file: infrastructure/beat-the-load-balancer/backend/lib/load.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 439 unit: def get_system_data() file: infrastructure/beat-the-load-balancer/backend/sys_health_server.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 440 unit: function handleInput() file: infrastructure/cymbal-toy-store/frontend/src/app/chat.tsx start line: 54 end line: 60 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 441 unit: def _gen_system_template() file: infrastructure/cymbal-toy-store/backend/src/backend/chat_handler.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 442 unit: def get_secret() file: infrastructure/cymbal-toy-store/backend/src/backend/connector.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 443 unit: def add_user() file: containers/aws-gcp-migration/aws/src/accounts/userservice/db.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 444 unit: def add_contact() file: containers/aws-gcp-migration/aws/src/accounts/contacts/db.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 445 unit: def view_login() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 446 unit: def view_signup() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 447 unit: def view_index() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 448 unit: def view_home() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 449 unit: def add_user() file: containers/aws-gcp-migration/gcp/src/accounts/userservice/db.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 450 unit: def add_contact() file: containers/aws-gcp-migration/gcp/src/accounts/contacts/db.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 451 unit: def view_login() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 452 unit: def view_signup() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 453 unit: def view_index() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 454 unit: def view_home() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 455 unit: def run_inference() file: data-analytics/next25-turbocharge-ecomm/main.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 456 unit: def check_if_moving() file: data-analytics/minigolf-demo/helper.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 457 unit: def get_commentary() file: data-analytics/minigolf-demo/backend/main.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 458 unit: def query_data_to_dataframe() file: data-analytics/minigolf-demo/cloud_function/bigquery_utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 459 unit: def check_if_moving() file: data-analytics/minigolf-demo/cloud_function/video_processing.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 460 unit: def download_video() file: data-analytics/minigolf-demo/cloud_function/storage_utils.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 461 unit: public PCollection expand() file: data-analytics/xlang_transforms/src/main/java/com/google/beam/workshop/FieldPrefixAdderTransform.java start line: 87 end line: 91 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 462 unit: def read() file: data-analytics/data-dash/pi/beam_break_sensor.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 463 unit: def upload() file: data-analytics/data-dash/pi/beam_break_sensor.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 464 unit: def init() file: other/train-to-cloud-city/devices/signal/CIRCUITPY/code.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 465 unit: def set_pixels() file: other/train-to-cloud-city/devices/signal/CIRCUITPY/code.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 466 unit: def serial_response() file: other/train-to-cloud-city/devices/signal/CIRCUITPY/code.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 467 unit: function changeSignalLight() file: other/train-to-cloud-city/devices/rfid/trainGame.js start line: 200 end line: 204 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 468 unit: async function storeSignal() file: other/train-to-cloud-city/devices/rfid/trainGame.js start line: 212 end line: 216 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 469 unit: def write_embeddings_to_jsonl() file: ai-ml/rag-architectures/ingestion/main.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 470 unit: function getRandomIntInclusive() file: ai-ml/io-2024-vertex-agent-api-stub/makeReservation.js start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 471 unit: func rootHandler() file: devops/otel-col-logs/src/app/main.go start line: 44 end line: 48 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 472 unit: func resetHandler() file: devops/otel-col-logs/src/app/main.go start line: 50 end line: 54 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 473 unit: function sleep() file: app-dev/cloud-functions-2ndgen-what-are-coldstarts/index.js start line: 43 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 474 unit: export async function getAuthenticatedUser() file: app-dev/party-game/app/lib/server-side-auth.ts start line: 21 end line: 25 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 475 unit: def confirm_model_picker_dialog() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 476 unit: def switch_model() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 477 unit: def show_active_vm() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 478 unit: def reset_vm_stats() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 479 unit: newMakeAPICallSync() file: infrastructure/load-balancing-blitz/app/static/vm_updates.js start line: 30 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 480 unit: setVmRawStatsStringified() file: infrastructure/load-balancing-blitz/frontend/components/Stats.tsx start line: 19 end line: 23 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 481 unit: function checkSecretPassword() file: infrastructure/load-balancing-blitz/frontend/app/actions.ts start line: 19 end line: 23 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 482 unit: export async function resetGame() file: infrastructure/load-balancing-blitz/frontend/app/actions.ts start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 483 unit: def confirm_model_picker_dialog() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 484 unit: def switch_model() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 485 unit: setVmRawStatsStringified() file: infrastructure/load-balancing-for-inference/components/Stats.tsx start line: 23 end line: 27 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 486 unit: setVmRawStatsStringified() file: infrastructure/beat-the-load-balancer/frontend/components/Stats.tsx start line: 19 end line: 23 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 487 unit: function checkSecretPassword() file: infrastructure/beat-the-load-balancer/frontend/app/actions.ts start line: 19 end line: 23 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 488 unit: export async function resetGame() file: infrastructure/beat-the-load-balancer/frontend/app/actions.ts start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 489 unit: def show_active_vm() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 490 unit: def reset_vm_stats() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 491 unit: newMakeAPICallSync() file: infrastructure/beat-the-load-balancer/backend/static/vm_updates.js start line: 30 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 492 unit: def get_system_config() file: infrastructure/beat-the-load-balancer/backend/lib/system_config.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 493 unit: def is_job_running() file: infrastructure/beat-the-load-balancer/backend/lib/helper.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 494 unit: def purge_local_celery_queues() file: infrastructure/beat-the-load-balancer/backend/lib/base_app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 495 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 496 unit: def incr_vm_selection_count() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 497 unit: def _write_selected_vm_to_storage() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 498 unit: function handleKeyDown() file: infrastructure/cymbal-toy-store/frontend/src/app/chat.tsx start line: 87 end line: 91 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 499 unit: def _classify_intent() file: infrastructure/cymbal-toy-store/backend/src/backend/chat_handler.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 500 unit: def _validate_intent_output() file: infrastructure/cymbal-toy-store/backend/src/backend/chat_handler.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 501 unit: def __init__() file: containers/aws-gcp-migration/aws/src/frontend/api_call.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 502 unit: def __init__() file: containers/aws-gcp-migration/aws/src/frontend/api_call.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 503 unit: def __init__() file: containers/aws-gcp-migration/gcp/src/frontend/api_call.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 504 unit: def __init__() file: containers/aws-gcp-migration/gcp/src/frontend/api_call.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 505 unit: def update_user_status() file: data-analytics/minigolf-demo/cloud_function/firestore_utils.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 506 unit: def calculate_distance() file: data-analytics/minigolf-demo/cloud_function/video_processing.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 507 unit: def upload_image() file: data-analytics/minigolf-demo/cloud_function/storage_utils.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 508 unit: def process() file: data-analytics/beam_troubleshooting_lab/not_everything_is_written.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 509 unit: public WriteToBigQuery usingStorageApiAtLeastOnceMethod() file: data-analytics/xlang_transforms/src/main/java/com/google/beam/workshop/WriteToBigQuery.java start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 510 unit: public WriteToBigQuery usingStorageWriteExactlyOnceMethod() file: data-analytics/xlang_transforms/src/main/java/com/google/beam/workshop/WriteToBigQuery.java start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 511 unit: private FieldPrefixAdderTransform() file: data-analytics/xlang_transforms/src/main/java/com/google/beam/workshop/FieldPrefixAdderTransform.java start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 512 unit: public static FieldPrefixAdderTransform create() file: data-analytics/xlang_transforms/src/main/java/com/google/beam/workshop/FieldPrefixAdderTransform.java start line: 51 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 513 unit: def is_side() file: data-analytics/data-dash/pi/side_controller.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 2 id: 514 unit: def check_pattern() file: other/train-to-cloud-city/app/functions/input_trigger/main.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 515 unit: async function trainMailboxListener() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 254 end line: 257 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 516 unit: async function signalListener() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 263 end line: 266 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 517 unit: async function proposalListener() file: other/train-to-cloud-city/devices/rfid/utils/firestoreHelpers.js start line: 272 end line: 275 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 518 unit: func processUser() file: devops/otel-pubsub-trace/src/subscriber/main.go start line: 151 end line: 155 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 519 unit: def error() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 520 unit: export default function ReturnToHomepageButton() file: app-dev/party-game/app/components/return-to-homepage-button.tsx start line: 21 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 521 unit: displayName: generateName() file: app-dev/party-game/app/actions/create-game.ts start line: 50 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 522 unit: call env file: app-dev/ruby-frameworks-cloudrun/easteregg-rack/richapp.rb start line: 21 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 523 unit: def init_db() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 524 unit: def __init__() file: infrastructure/load-balancing-blitz/app/metrics/game_record.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 525 unit: def automatic_routing() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 526 unit: def main() file: infrastructure/load-balancing-blitz/app/loader.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 527 unit: export async function setVm() file: infrastructure/load-balancing-blitz/frontend/app/actions.ts start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 528 unit: export async function stopGame() file: infrastructure/load-balancing-blitz/frontend/app/actions.ts start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 529 unit: export async function startLoader() file: infrastructure/load-balancing-blitz/frontend/app/actions.ts start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 530 unit: export async function getRawStats() file: infrastructure/load-balancing-blitz/frontend/app/actions.ts start line: 50 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 531 unit: def init_db() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 532 unit: def __init__() file: infrastructure/beat-the-load-balancer/metrics/game_record.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 533 unit: export async function setVm() file: infrastructure/beat-the-load-balancer/frontend/app/actions.ts start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 534 unit: export async function stopGame() file: infrastructure/beat-the-load-balancer/frontend/app/actions.ts start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 535 unit: export async function startLoader() file: infrastructure/beat-the-load-balancer/frontend/app/actions.ts start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 536 unit: export async function getRawStats() file: infrastructure/beat-the-load-balancer/frontend/app/actions.ts start line: 50 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 537 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/metrics/game_record.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 538 unit: def automatic_routing() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 539 unit: def main() file: infrastructure/beat-the-load-balancer/backend/loader.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 540 unit: def get_job_queue_size() file: infrastructure/beat-the-load-balancer/backend/lib/job_reporter.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 541 unit: def _write_selected_vm_to_storage() file: infrastructure/beat-the-load-balancer/backend/lib/vm_selection_manager.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 542 unit: def set_selected_vm() file: infrastructure/beat-the-load-balancer/backend/lib/vm_selection_manager.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 543 unit: def is_game_in_progress() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 544 unit: def start_the_game() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 545 unit: def get_vm_all_ips() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 546 unit: def get_vm_all_scores() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 547 unit: def _read_selected_vm_from_storage() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 548 unit: function handleCallback() file: infrastructure/cymbal-toy-store/frontend/src/app/page.tsx start line: 85 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 549 unit: def __init__() file: containers/aws-gcp-migration/aws/src/frontend/traced_thread_pool_executor.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 550 unit: def with_otel_context() file: containers/aws-gcp-migration/aws/src/frontend/traced_thread_pool_executor.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 551 unit: def __init__() file: containers/aws-gcp-migration/gcp/src/frontend/traced_thread_pool_executor.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 552 unit: def with_otel_context() file: containers/aws-gcp-migration/gcp/src/frontend/traced_thread_pool_executor.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 553 unit: def calculate_distance() file: data-analytics/minigolf-demo/helper.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 554 unit: private WriteToBigQuery() file: data-analytics/xlang_transforms/src/main/java/com/google/beam/workshop/WriteToBigQuery.java start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 555 unit: public static WriteToBigQuery writeTo() file: data-analytics/xlang_transforms/src/main/java/com/google/beam/workshop/WriteToBigQuery.java start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 556 unit: public PCollection expand() file: data-analytics/xlang_transforms/src/main/java/beam/workshop/CustomTransform.java start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 557 unit: function setBoxShadow() file: data-analytics/data-dash/webapp/static/js/script.js start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 558 unit: setTimeout() file: data-analytics/data-dash/webapp/static/js/script.js start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 559 unit: def sleep() file: other/train-to-cloud-city/app/server/simulate_session.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 560 unit: def change() file: other/train-to-cloud-city/app/server/simulate_session.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 561 unit: def randomStringDigits() file: ai-ml/rag-architectures/ingestion/main.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 562 unit: def chunk_text() file: ai-ml/rag-architectures/ingestion/main.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 563 unit: def hello_doggo() file: ai-ml/vision-api-serverless-app-tutorial/6_doggo_demo/app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 564 unit: func getUserID() file: devops/otel-pubsub-trace/src/publisher/main.go start line: 165 end line: 167 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 565 unit: func getOrderID() file: devops/otel-pubsub-trace/src/publisher/main.go start line: 169 end line: 171 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 566 unit: delete: function() file: app-dev/party-game/app/hooks/use-firebase-authentication.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 567 unit: getIdToken: function() file: app-dev/party-game/app/hooks/use-firebase-authentication.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 568 unit: getIdTokenResult: function() file: app-dev/party-game/app/hooks/use-firebase-authentication.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 569 unit: reload: function() file: app-dev/party-game/app/hooks/use-firebase-authentication.ts start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 570 unit: toJSON: function() file: app-dev/party-game/app/hooks/use-firebase-authentication.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 571 unit: export function mergeClassNames() file: app-dev/party-game/app/lib/merge-class-names.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 572 unit: function decodePubSubMessage() file: app-dev/cloud-functions-2ndgen-resilient-system/write-firestore/index.js start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 573 unit: function decodePubSubMessage() file: app-dev/cloud-functions-2ndgen-resilient-system/write-bigquery/index.js start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 574 unit: rich text file: app-dev/ruby-frameworks-cloudrun/easteregg-rack/richapp.rb start line: 16 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 575 unit: call env file: app-dev/ruby-frameworks-cloudrun/easteregg-rack/app.rb start line: 18 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 576 unit: def close_model_picker_dialog() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 577 unit: def on_blur() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 578 unit: def configure_gemini() file: infrastructure/movie-search-app/gemini_model.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 579 unit: def configure_gemini() file: infrastructure/movie-search-app/pinecone_model.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 580 unit: def add() file: infrastructure/load-balancing-blitz/poc/celery_task.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 581 unit: def send_healthcheck_to_pubsub() file: infrastructure/load-balancing-blitz/app/metrics/pubsub.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 582 unit: def send_score_to_pubsub() file: infrastructure/load-balancing-blitz/app/metrics/pubsub.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 583 unit: def send_game_record_to_pubsub() file: infrastructure/load-balancing-blitz/app/metrics/pubsub.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 584 unit: export async function checkSecretPasswordExists() file: infrastructure/load-balancing-blitz/frontend/app/actions.ts start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 585 unit: def close_model_picker_dialog() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 586 unit: def on_blur() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 587 unit: def configure_gemini() file: infrastructure/cymbal-store-embeddings/gemini_model.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 588 unit: def send_healthcheck_to_pubsub() file: infrastructure/beat-the-load-balancer/metrics/pubsub.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 589 unit: def send_score_to_pubsub() file: infrastructure/beat-the-load-balancer/metrics/pubsub.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 590 unit: def send_game_record_to_pubsub() file: infrastructure/beat-the-load-balancer/metrics/pubsub.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 591 unit: export async function checkSecretPasswordExists() file: infrastructure/beat-the-load-balancer/frontend/app/actions.ts start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 592 unit: def send_healthcheck_to_pubsub() file: infrastructure/beat-the-load-balancer/backend/metrics/pubsub.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 593 unit: def send_score_to_pubsub() file: infrastructure/beat-the-load-balancer/backend/metrics/pubsub.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 594 unit: def send_game_record_to_pubsub() file: infrastructure/beat-the-load-balancer/backend/metrics/pubsub.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 595 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/lib/helper.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 596 unit: def _is_selected_vm_recent() file: infrastructure/beat-the-load-balancer/backend/lib/vm_selection_manager.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 597 unit: def __refresh_vm_selection() file: infrastructure/beat-the-load-balancer/backend/lib/vm_selection_manager.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 598 unit: def __repr__() file: infrastructure/beat-the-load-balancer/backend/lib/vm_selection_manager.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 599 unit: def get_selected_vm() file: infrastructure/beat-the-load-balancer/backend/lib/vm_selection_manager.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 600 unit: def reset_player_name() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 601 unit: def _prepare_dict_() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 602 unit: def __init__() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 603 unit: def _update_system_health() file: infrastructure/beat-the-load-balancer/backend/lib/system_health.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 604 unit: def set() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 605 unit: def get() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 606 unit: def get_vm_selections_count() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 607 unit: function handleAddToCart() file: infrastructure/cymbal-toy-store/frontend/src/app/chat.tsx start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 608 unit: def generate_username() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 609 unit: def on_start() file: containers/aws-gcp-migration/aws/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 610 unit: def generate_username() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 0 id: 611 unit: def on_start() file: containers/aws-gcp-migration/gcp/src/loadgenerator/locustfile.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 612 unit: def start_bundle() file: data-analytics/next25-turbocharge-ecomm/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 613 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/part2.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 614 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/part1.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 615 unit: def load_model() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/part2.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 616 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/part2.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 617 unit: def load_model() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/part1.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 618 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/part1.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 619 unit: def load_model() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/toxicity_pipeline.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 620 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/exercises/toxicity_pipeline.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 621 unit: def process() file: data-analytics/beam_ml_toxicity_in_gaming/toxicity_pipeline.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 622 unit: def __init__() file: data-analytics/xlang_transforms/python/part2.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 623 unit: def __init__() file: data-analytics/xlang_transforms/python/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 624 unit: def __init__() file: data-analytics/xlang_transforms/python/part1.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 625 unit: def __init__() file: data-analytics/xlang_transforms/python/part3.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 626 unit: def __init__() file: data-analytics/xlang_transforms/python/write-to-bq.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 627 unit: def index() file: data-analytics/data-dash/webapp/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 628 unit: def get_side() file: data-analytics/data-dash/pi/side_controller.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 629 unit: def read_root() file: other/train-to-cloud-city/app/server/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 630 unit: def get_services() file: other/train-to-cloud-city/app/server/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 631 unit: def get_patterns() file: other/train-to-cloud-city/app/server/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 632 unit: def post_proposal() file: other/train-to-cloud-city/app/server/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 633 unit: def main() file: ai-ml/gemini-chatbot-app-gradio/llm.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 634 unit: def get_config() file: ai-ml/rag-architectures/serving/backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 635 unit: def prompt_vector_search() file: ai-ml/rag-architectures/serving/backend/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 636 unit: def main() file: ai-ml/gemini-chatbot-app/lesson02/llm.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 637 unit: def transform() file: ai-ml/spark-gemini-rag/spark/create_embeddings.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 638 unit: def transform() file: ai-ml/spark-gemini-rag/spark/update_embeddings.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 639 unit: def write_to_database() file: ai-ml/spark-gemini-rag/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 640 unit: def send_img() file: ai-ml/vision-api-serverless-app-tutorial/6_doggo_demo/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 641 unit: def send_img() file: ai-ml/vision-api-serverless-app-tutorial/7_doggo_service/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 642 unit: def make_tag() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 643 unit: def get_pr() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 644 unit: def cleanup() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 645 unit: def on_get() file: app-dev/python-frameworks-cloudrun/falcon-gunicorn/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 646 unit: def get() file: app-dev/python-frameworks-cloudrun/tornado-native/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 647 unit: def hello() file: app-dev/python-frameworks-cloudrun/klein-twistd/hello.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 648 unit: def function() file: app-dev/python-frameworks-cloudrun/functions-framework/main.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 649 unit: def hello() file: app-dev/python-frameworks-cloudrun/flask-gunicorn/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 650 unit: def hello() file: app-dev/python-frameworks-cloudrun/flask-waitress/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 651 unit: def hello() file: app-dev/python-frameworks-cloudrun/hug-uwsgi/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 652 unit: def hello() file: app-dev/python-frameworks-cloudrun/flask-uwsgi/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 653 unit: def hello() file: app-dev/python-frameworks-cloudrun/bottle-gunicorn/app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 654 unit: def set_gemini_api_key() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 655 unit: def set_pinecone_api_key() file: infrastructure/movie-search-app/movie_search.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 656 unit: def send_hc_message_to_pubsub() file: infrastructure/load-balancing-blitz/poc/hc_cronjob.py start line: 0 end line: 0 size: 2 LOC McCabe index: 4 number of parameters: 0 id: 657 unit: def json_dumps() file: infrastructure/load-balancing-blitz/app/metrics/game_record.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 658 unit: def json_dumps() file: infrastructure/load-balancing-blitz/app/metrics/game_healthcheck.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 659 unit: def json_dumps() file: infrastructure/load-balancing-blitz/app/metrics/game_score.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 660 unit: def new_index_page() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 661 unit: def game() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 662 unit: def get_vms_details() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 663 unit: def get_vms_scores() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 664 unit: def get_vms_health() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 665 unit: def get_vms_stats() file: infrastructure/load-balancing-blitz/app/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 666 unit: function callApiAndUpdateResult() file: infrastructure/load-balancing-blitz/app/static/vm_updates.js start line: 28 end line: 44 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 667 unit: def warehouse_index_page() file: infrastructure/load-balancing-blitz/app/warehouse.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 668 unit: def process_score() file: infrastructure/load-balancing-blitz/app/warehouse.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 669 unit: def warehouse_index_page() file: infrastructure/load-balancing-blitz/app/loader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 670 unit: def reset_loader() file: infrastructure/load-balancing-blitz/app/loader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 671 unit: def set_gemini_api_key() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 672 unit: def set_openai_api_key() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 673 unit: def set_gemma_endpoint() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 674 unit: def set_tei_endpoint() file: infrastructure/cymbal-store-embeddings/cymbal_store.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 675 unit: export default memo() file: infrastructure/load-balancing-for-inference/components/MessagePretty.tsx start line: 16 end line: 17 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 676 unit: def json_dumps() file: infrastructure/beat-the-load-balancer/metrics/game_record.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 677 unit: def json_dumps() file: infrastructure/beat-the-load-balancer/metrics/game_healthcheck.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 678 unit: def json_dumps() file: infrastructure/beat-the-load-balancer/metrics/game_score.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 679 unit: def json_dumps() file: infrastructure/beat-the-load-balancer/backend/metrics/game_record.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 680 unit: def json_dumps() file: infrastructure/beat-the-load-balancer/backend/metrics/game_healthcheck.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 681 unit: def json_dumps() file: infrastructure/beat-the-load-balancer/backend/metrics/game_score.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 682 unit: def new_index_page() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 683 unit: def game() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 684 unit: def get_vms_details() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 685 unit: def get_vms_scores() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 686 unit: def get_vms_health() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 687 unit: def get_vms_stats() file: infrastructure/beat-the-load-balancer/backend/player.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 688 unit: function callApiAndUpdateResult() file: infrastructure/beat-the-load-balancer/backend/static/vm_updates.js start line: 28 end line: 44 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 689 unit: def warehouse_index_page() file: infrastructure/beat-the-load-balancer/backend/warehouse.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 690 unit: def process_score() file: infrastructure/beat-the-load-balancer/backend/warehouse.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 691 unit: def get_task_id() file: infrastructure/beat-the-load-balancer/backend/sam.py start line: 0 end line: 0 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 692 unit: def warehouse_index_page() file: infrastructure/beat-the-load-balancer/backend/loader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 693 unit: def reset_loader() file: infrastructure/beat-the-load-balancer/backend/loader.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 694 unit: def register_new_task() file: infrastructure/beat-the-load-balancer/backend/lib/job_reporter.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 695 unit: def register_completed_task() file: infrastructure/beat-the-load-balancer/backend/lib/job_reporter.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 696 unit: def __repr__() file: infrastructure/beat-the-load-balancer/backend/lib/helper.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 697 unit: def __str__() file: infrastructure/beat-the-load-balancer/backend/lib/helper.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 698 unit: def is_running_job() file: infrastructure/beat-the-load-balancer/backend/lib/helper.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 699 unit: def stop_the_game() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 700 unit: def get_player_name() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 701 unit: def celery_queue_status() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 702 unit: def set_crash_start_time() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 703 unit: def reset_crash_start_time() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 704 unit: def get_crash_start_time() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 705 unit: def incr_crash_counter() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 706 unit: def reset_score_counter() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 707 unit: def get_score_counter() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 708 unit: def incr_score_counter() file: infrastructure/beat-the-load-balancer/backend/lib/app_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 709 unit: def __repr__() file: infrastructure/beat-the-load-balancer/backend/lib/system_health.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 710 unit: def load() file: infrastructure/beat-the-load-balancer/backend/lib/base_app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 711 unit: def health_check() file: infrastructure/beat-the-load-balancer/backend/lib/base_app.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 712 unit: def send_system_health_message() file: infrastructure/beat-the-load-balancer/backend/lib/pubsub.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 713 unit: def incr() file: infrastructure/beat-the-load-balancer/backend/lib/base_cache.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 714 unit: def process_requests() file: infrastructure/beat-the-load-balancer/backend/lib/locustfile.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 715 unit: def on_start() file: infrastructure/beat-the-load-balancer/backend/lib/locustfile.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 716 unit: def on_stop() file: infrastructure/beat-the-load-balancer/backend/lib/locustfile.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 717 unit: def _generic_error() file: infrastructure/cymbal-toy-store/backend/src/backend/chat_handler.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 718 unit: def cli() file: app-dev/cloud-run-deployment-previews/check_status.py start line: 0 end line: 0 size: 1 LOC McCabe index: 1 number of parameters: 0