SYMBOL INDEX (244 symbols across 24 files) FILE: includes/Admin/AsyncJob.php class AsyncJob (line 10) | class AsyncJob { method __construct (line 51) | public function __construct( array $data = array() ) { FILE: includes/Admin/BatchProcessor.php class BatchProcessor (line 14) | class BatchProcessor implements BatchProcessorInterface { method get_current_job (line 25) | public static function get_current_job() { method create_new_job (line 47) | public static function create_new_job( string $generator_slug, int $am... method update_current_job (line 76) | public static function update_current_job( int $processed ) { method delete_current_job (line 99) | public static function delete_current_job() { method get_name (line 109) | public function get_name(): string { method get_description (line 118) | public function get_description(): string { method get_total_pending_count (line 131) | public function get_total_pending_count(): int { method get_next_batch_to_process (line 157) | public function get_next_batch_to_process( int $size ): array { method process_batch (line 194) | public function process_batch( array $batch ): void { method get_default_batch_size (line 213) | public function get_default_batch_size(): int { FILE: includes/Admin/Settings.php class Settings (line 13) | class Settings { method init (line 21) | public static function init() { method register_admin_menu (line 29) | public static function register_admin_menu() { method render_admin_page (line 44) | public static function render_admin_page() { method date_range_toggle_script (line 190) | protected static function date_range_toggle_script() { method heartbeat_script (line 207) | protected static function heartbeat_script() { method receive_heartbeat (line 265) | public static function receive_heartbeat( array $response, array $data... method process_page_submit (line 285) | public static function process_page_submit() { method get_current_job (line 312) | protected static function get_current_job() { method while_you_wait (line 321) | protected static function while_you_wait() { FILE: includes/CLI.php class CLI (line 15) | class CLI extends WP_CLI_Command { method products (line 22) | public static function products( $args, $assoc_args ) { method orders (line 73) | public static function orders( $args, $assoc_args ) { method customers (line 131) | public static function customers( $args, $assoc_args ) { method coupons (line 177) | public static function coupons( $args, $assoc_args ) { method terms (line 223) | public static function terms( $args, $assoc_args ) { FILE: includes/Generator/Coupon.php class Coupon (line 15) | class Coupon extends Generator { method generate (line 24) | public static function generate( $save = true, $assoc_args = array() ) { method batch (line 129) | public static function batch( $amount, array $args = array() ) { method get_random (line 153) | public static function get_random() { FILE: includes/Generator/Customer.php class Customer (line 13) | class Customer extends Generator { method generate (line 22) | public static function generate( $save = true, array $assoc_args = arr... method batch (line 138) | public static function batch( $amount, array $args = array() ) { FILE: includes/Generator/CustomerInfo.php class CustomerInfo (line 10) | class CustomerInfo { method get_valid_country_code (line 18) | public static function get_valid_country_code( ?string $country_code =... method get_country_locale_info (line 44) | protected static function get_country_locale_info( string $country_cod... method get_faker (line 62) | protected static function get_faker( $country_code = 'en_US' ) { method get_provider_instance (line 79) | protected static function get_provider_instance( \Faker\Generator $fak... method generate_person (line 101) | public static function generate_person( string $country_code = '' ) { method generate_company (line 169) | public static function generate_company( string $country_code = '' ) { method generate_address (line 238) | public static function generate_address( string $country_code = '' ) { FILE: includes/Generator/Generator.php class Generator (line 13) | abstract class Generator { method generate (line 60) | abstract public static function generate( $save = true ); method maybe_initialize_generators (line 80) | protected static function maybe_initialize_generators() { method init_faker (line 97) | protected static function init_faker() { method disable_emails (line 112) | public static function disable_emails() { method validate_batch_amount (line 158) | protected static function validate_batch_amount( $amount ) { method generate_term_ids (line 194) | protected static function generate_term_ids( $limit, $taxonomy, $name ... method seed_images (line 255) | public static function seed_images( $amount = 10 ) { method get_image (line 278) | protected static function get_image() { method generate_image (line 291) | protected static function generate_image( $seed = '' ) { method random_weighted_element (line 342) | protected static function random_weighted_element( array $weighted_val... FILE: includes/Generator/Order.php class Order (line 13) | class Order extends Generator { method generate (line 64) | public static function generate( $save = true, $assoc_args = array(), ... method batch (line 274) | public static function batch( $amount, array $args = array() ) { method get_customer (line 390) | public static function get_customer() { method get_date_created (line 421) | protected static function get_date_created( $assoc_args ) { method get_status (line 455) | private static function get_status( $assoc_args ) { method get_random_products (line 475) | protected static function get_random_products( int $min_amount = 1, in... method get_or_create_coupon (line 543) | protected static function get_or_create_coupon() { method create_refund (line 588) | protected static function create_refund( $order, $force_partial = fals... method calculate_refunded_quantities (line 725) | protected static function calculate_refunded_quantities( $existing_ref... method build_refund_line_item (line 752) | protected static function build_refund_line_item( $item, $refund_qty, ... method build_full_refund_items (line 782) | protected static function build_full_refund_items( $order, $refunded_q... method build_partial_refund_items (line 808) | protected static function build_partial_refund_items( $order, $refunde... method calculate_refund_totals (line 891) | protected static function calculate_refund_totals( $line_items ) { method calculate_refund_date (line 925) | protected static function calculate_refund_date( $order, $previous_ref... method generate_batch_dates (line 969) | protected static function generate_batch_dates( $count, $args ) { FILE: includes/Generator/OrderAttribution.php class OrderAttribution (line 13) | class OrderAttribution { method add_order_attribution_meta (line 26) | public static function add_order_attribution_meta( $order, $assoc_args... method get_referrer (line 87) | public static function get_referrer( string $source_type ) { method get_random_utm_medium (line 127) | public static function get_random_utm_medium() { method get_origin (line 148) | public static function get_origin( string $source_type, string $source... method get_source_type (line 173) | public static function get_source_type() { method get_source (line 193) | public static function get_source( $source_type ) { method get_random_device_type (line 239) | public static function get_random_device_type() { method get_random_user_agent_for_device (line 257) | public static function get_random_user_agent_for_device( $device_type ) { method get_random_mobile_user_agent (line 275) | public static function get_random_mobile_user_agent() { method get_random_tablet_user_agent (line 291) | public static function get_random_tablet_user_agent() { method get_random_desktop_user_agent (line 305) | public static function get_random_desktop_user_agent() { method get_random_session_start_time (line 321) | public static function get_random_session_start_time( $order ) { method get_campaign_data (line 340) | private static function get_campaign_data() { method get_campaign_type (line 360) | private static function get_campaign_type() { method get_seasonal_campaign_data (line 379) | private static function get_seasonal_campaign_data() { method get_promotional_campaign_data (line 410) | private static function get_promotional_campaign_data() { method get_product_campaign_data (line 437) | private static function get_product_campaign_data() { method get_general_campaign_data (line 464) | private static function get_general_campaign_data() { FILE: includes/Generator/Product.php class Product (line 15) | class Product extends Generator { method generate (line 76) | public static function generate( $save = true, $assoc_args = array() ) { method batch (line 138) | public static function batch( $amount, array $args = array() ) { method create_global_attribute (line 176) | protected static function create_global_attribute( $raw_name ) { method generate_attributes (line 216) | protected static function generate_attributes( $qty = 1, $maximum_term... method get_product_type (line 298) | protected static function get_product_type( array $assoc_args ) { method generate_variable_product (line 320) | protected static function generate_variable_product() { method generate_simple_product (line 410) | protected static function generate_simple_product() { method maybe_generate_terms (line 481) | protected static function maybe_generate_terms( int $product_amount ):... method get_term_ids (line 526) | protected static function get_term_ids( string $taxonomy, int $limit )... method maybe_get_gallery_image_ids (line 563) | protected static function maybe_get_gallery_image_ids() { method get_existing_product_ids (line 587) | protected static function get_existing_product_ids( $limit = 5 ) { FILE: includes/Generator/Term.php class Term (line 13) | class Term extends Generator { method generate (line 23) | public static function generate( $save = true, string $taxonomy = 'pro... method batch (line 92) | public static function batch( $amount, $taxonomy, array $args = array(... method batch_hierarchical (line 139) | protected static function batch_hierarchical( int $amount, string $tax... FILE: includes/Plugin.php class Plugin (line 13) | class Plugin { method __construct (line 20) | public function __construct( $file ) { FILE: includes/Router.php class Router (line 8) | class Router { method get_generator_class (line 27) | public static function get_generator_class( string $generator_slug ) { method generate_batch (line 50) | public static function generate_batch( string $generator_slug, int $am... FILE: includes/Util/RandomRuntimeCache.php class RandomRuntimeCache (line 13) | class RandomRuntimeCache { method exists (line 28) | public static function exists( string $group ): bool { method get (line 43) | public static function get( string $group, int $limit = 0 ): array { method extract (line 66) | public static function extract( string $group, int $limit = 0 ): array { method add (line 91) | public static function add( string $group, array $items ): void { method set (line 105) | public static function set( string $group, array $items ): void { method count (line 116) | public static function count( string $group ): int { method shuffle (line 129) | public static function shuffle( string $group ): void { method clear (line 143) | public static function clear( string $group ): void { method reset (line 152) | public static function reset(): void { method get_group (line 163) | private static function get_group( string $group ): array { FILE: tests/Unit/Generator/CouponTest.php class CouponTest (line 16) | class CouponTest extends WP_UnitTestCase { method test_generate_coupon (line 21) | public function test_generate_coupon() { method test_coupon_has_amount (line 32) | public function test_coupon_has_amount() { method test_coupon_custom_min_max (line 42) | public function test_coupon_custom_min_max() { method test_coupon_fixed_cart_type (line 59) | public function test_coupon_fixed_cart_type() { method test_coupon_percent_type (line 73) | public function test_coupon_percent_type() { method test_batch_generation (line 87) | public function test_batch_generation() { method test_batch_validation (line 103) | public function test_batch_validation() { method test_invalid_min_value (line 112) | public function test_invalid_min_value() { method test_invalid_max_value (line 126) | public function test_invalid_max_value() { method test_min_greater_than_max (line 140) | public function test_min_greater_than_max() { method test_invalid_discount_type (line 155) | public function test_invalid_discount_type() { method test_get_random_no_coupons (line 169) | public function test_get_random_no_coupons() { method test_get_random_with_coupons (line 178) | public function test_get_random_with_coupons() { method test_coupon_generated_action_hook (line 191) | public function test_coupon_generated_action_hook() { method test_coupon_code_format (line 212) | public function test_coupon_code_format() { FILE: tests/Unit/Generator/CustomerTest.php class CustomerTest (line 16) | class CustomerTest extends WP_UnitTestCase { method test_generate_customer (line 21) | public function test_generate_customer() { method test_customer_has_billing_info (line 31) | public function test_customer_has_billing_info() { method test_customer_email_valid (line 47) | public function test_customer_email_valid() { method test_customer_with_specific_country (line 57) | public function test_customer_with_specific_country() { method test_customer_type_person (line 66) | public function test_customer_type_person() { method test_customer_type_company (line 76) | public function test_customer_type_company() { method test_batch_generation (line 85) | public function test_batch_generation() { method test_batch_validation (line 101) | public function test_batch_validation() { method test_customer_generated_action_hook (line 110) | public function test_customer_generated_action_hook() { method test_customer_with_invalid_country (line 131) | public function test_customer_with_invalid_country() { method test_customer_has_phone (line 140) | public function test_customer_has_phone() { method test_customer_role (line 150) | public function test_customer_role() { FILE: tests/Unit/Generator/GeneratorTest.php class GeneratorTest (line 16) | class GeneratorTest extends WP_UnitTestCase { method test_max_batch_size_constant (line 21) | public function test_max_batch_size_constant() { method test_image_size_constant (line 28) | public function test_image_size_constant() { method test_batch_validation_max_size (line 35) | public function test_batch_validation_max_size() { method test_emails_disabled (line 44) | public function test_emails_disabled() { method test_queued_emails_blocked (line 56) | public function test_queued_emails_blocked() { FILE: tests/Unit/Generator/OrderTest.php class OrderTest (line 18) | class OrderTest extends WP_UnitTestCase { method setUp (line 23) | public function setUp(): void { method test_generate_order (line 33) | public function test_generate_order() { method test_order_has_products (line 44) | public function test_order_has_products() { method test_order_completed_status (line 59) | public function test_order_completed_status() { method test_order_processing_status (line 70) | public function test_order_processing_status() { method test_order_failed_status (line 80) | public function test_order_failed_status() { method test_order_on_hold_status (line 89) | public function test_order_on_hold_status() { method test_order_has_customer_info (line 98) | public function test_order_has_customer_info() { method test_order_has_shipping_info (line 122) | public function test_order_has_shipping_info() { method test_order_total_calculated (line 138) | public function test_order_total_calculated() { method test_batch_generation (line 148) | public function test_batch_generation() { method test_batch_validation (line 164) | public function test_batch_validation() { method test_order_with_date (line 174) | public function test_order_with_date() { method test_order_with_date_range (line 185) | public function test_order_with_date_range() { method test_order_with_coupon_ratio (line 205) | public function test_order_with_coupon_ratio() { method test_order_generated_action_hook (line 227) | public function test_order_generated_action_hook() { method test_completed_order_dates_sequential (line 248) | public function test_completed_order_dates_sequential() { method test_order_with_refund_ratio (line 262) | public function test_order_with_refund_ratio() { method test_full_refund_status (line 278) | public function test_full_refund_status() { method test_partial_refund_status (line 297) | public function test_partial_refund_status() { method test_batch_exact_coupon_distribution (line 329) | public function test_batch_exact_coupon_distribution() { method test_batch_exact_refund_distribution (line 363) | public function test_batch_exact_refund_distribution() { method test_refund_has_line_items (line 391) | public function test_refund_has_line_items() { method test_refund_amount_valid (line 411) | public function test_refund_amount_valid() { method test_batch_orders_chronological_dates (line 431) | public function test_batch_orders_chronological_dates() { method test_order_with_fees (line 461) | public function test_order_with_fees() { method test_order_has_currency (line 482) | public function test_order_has_currency() { method test_refund_dates_after_completion (line 492) | public function test_refund_dates_after_completion() { FILE: tests/Unit/Generator/ProductTest.php class ProductTest (line 16) | class ProductTest extends WP_UnitTestCase { method test_generate_simple_product (line 21) | public function test_generate_simple_product() { method test_generate_variable_product (line 35) | public function test_generate_variable_product() { method test_variable_product_has_attributes (line 67) | public function test_variable_product_has_attributes() { method test_variations_have_prices (line 99) | public function test_variations_have_prices() { method test_batch_generation (line 130) | public function test_batch_generation() { method test_batch_validation_invalid_amount (line 147) | public function test_batch_validation_invalid_amount() { method test_batch_validation_amount_too_large (line 157) | public function test_batch_validation_amount_too_large() { method test_products_have_categories (line 167) | public function test_products_have_categories() { method test_products_have_tags (line 178) | public function test_products_have_tags() { method test_products_have_images (line 189) | public function test_products_have_images() { method test_product_sale_price (line 205) | public function test_product_sale_price() { method test_product_stock_management (line 223) | public function test_product_stock_management() { method test_product_upsells (line 238) | public function test_product_upsells() { method test_product_cross_sells (line 251) | public function test_product_cross_sells() { method test_product_tax_status (line 264) | public function test_product_tax_status() { method test_simple_product_dimensions (line 274) | public function test_simple_product_dimensions() { method test_virtual_product_no_dimensions (line 295) | public function test_virtual_product_no_dimensions() { method test_product_reviews_allowed (line 315) | public function test_product_reviews_allowed() { method test_product_backorders (line 324) | public function test_product_backorders() { method test_product_generated_action_hook (line 334) | public function test_product_generated_action_hook() { method test_product_global_unique_id (line 356) | public function test_product_global_unique_id() { method test_batch_with_existing_terms (line 366) | public function test_batch_with_existing_terms() { method test_variation_sale_prices (line 383) | public function test_variation_sale_prices() { method test_featured_products (line 422) | public function test_featured_products() { method test_products_have_brands_when_taxonomy_exists (line 438) | public function test_products_have_brands_when_taxonomy_exists() { method test_product_generation_without_brand_taxonomy (line 476) | public function test_product_generation_without_brand_taxonomy() { FILE: tests/Unit/PluginTest.php class PluginTest (line 16) | class PluginTest extends WP_UnitTestCase { method test_plugin_instantiation (line 21) | public function test_plugin_instantiation() { FILE: tests/Unit/Util/RandomRuntimeCacheTest.php class RandomRuntimeCacheTest (line 16) | class RandomRuntimeCacheTest extends WP_UnitTestCase { method setUp (line 21) | public function setUp(): void { method tearDown (line 29) | public function tearDown(): void { method test_exists_returns_false_for_non_existent_group (line 37) | public function test_exists_returns_false_for_non_existent_group() { method test_exists_returns_true_after_set (line 44) | public function test_exists_returns_true_after_set() { method test_set_and_get_items (line 52) | public function test_set_and_get_items() { method test_get_with_limit (line 64) | public function test_get_with_limit() { method test_get_with_limit_larger_than_available (line 77) | public function test_get_with_limit_larger_than_available() { method test_get_with_zero_limit_returns_all (line 90) | public function test_get_with_zero_limit_returns_all() { method test_extract_removes_items_from_cache (line 102) | public function test_extract_removes_items_from_cache() { method test_extract_all_deletes_group (line 117) | public function test_extract_all_deletes_group() { method test_extract_with_limit_larger_than_available (line 130) | public function test_extract_with_limit_larger_than_available() { method test_add_items_to_existing_group (line 143) | public function test_add_items_to_existing_group() { method test_add_items_to_non_existent_group (line 155) | public function test_add_items_to_non_existent_group() { method test_count_items (line 165) | public function test_count_items() { method test_count_non_existent_group (line 176) | public function test_count_non_existent_group() { method test_shuffle_randomizes_order (line 185) | public function test_shuffle_randomizes_order() { method test_shuffle_non_existent_group (line 210) | public function test_shuffle_non_existent_group() { method test_clear_removes_group (line 220) | public function test_clear_removes_group() { method test_clear_non_existent_group (line 230) | public function test_clear_non_existent_group() { method test_reset_clears_all_groups (line 239) | public function test_reset_clears_all_groups() { method test_complex_operations_sequence (line 254) | public function test_complex_operations_sequence() { FILE: tests/bootstrap.php function install_woocommerce (line 89) | function install_woocommerce() { function load_plugins (line 121) | function load_plugins() { function validate_file_exists (line 136) | function validate_file_exists( string $file_name ) { function path_join (line 151) | function path_join( string $base, string $path ) { FILE: wc-smooth-generator.php function wc_smooth_generator (line 32) | function wc_smooth_generator() { function load_wc_smooth_generator (line 45) | function load_wc_smooth_generator() { function wc_smooth_generator_plugin_action_links (line 69) | function wc_smooth_generator_plugin_action_links( $links ) {