brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

PricingSummary has 38 functions (exceeds 20 allowed). Consider refactoring.
Open

class PricingSummary implements ModelInterface, \ArrayAccess, \JsonSerializable
{
    public const DISCRIMINATOR = null;

    /**
Severity: Minor
Found in src/Buy/Order/V2/Model/PricingSummary.php - About 5 hrs to fix

    FulfillmentPolicyRequest has 38 functions (exceeds 20 allowed). Consider refactoring.
    Open

    class FulfillmentPolicyRequest implements ModelInterface, \ArrayAccess, \JsonSerializable
    {
        public const DISCRIMINATOR = null;
    
        /**
    Severity: Minor
    Found in src/Sell/Account/V1/Model/FulfillmentPolicyRequest.php - About 5 hrs to fix

      ShippingService has 38 functions (exceeds 20 allowed). Consider refactoring.
      Open

      class ShippingService implements ModelInterface, \ArrayAccess, \JsonSerializable
      {
          public const DISCRIMINATOR = null;
      
          /**
      Severity: Minor
      Found in src/Sell/Account/V1/Model/ShippingService.php - About 5 hrs to fix

        SetPaymentPolicyResponse has 38 functions (exceeds 20 allowed). Consider refactoring.
        Open

        class SetPaymentPolicyResponse implements ModelInterface, \ArrayAccess, \JsonSerializable
        {
            public const DISCRIMINATOR = null;
        
            /**
        Severity: Minor
        Found in src/Sell/Account/V1/Model/SetPaymentPolicyResponse.php - About 5 hrs to fix

          InventoryLocationResponse has 38 functions (exceeds 20 allowed). Consider refactoring.
          Open

          class InventoryLocationResponse implements ModelInterface, \ArrayAccess, \JsonSerializable
          {
              public const DISCRIMINATOR = null;
          
              /**
          Severity: Minor
          Found in src/Sell/Account/V1/Model/InventoryLocationResponse.php - About 5 hrs to fix

            InventoryLocationResponse has 38 functions (exceeds 20 allowed). Consider refactoring.
            Open

            class InventoryLocationResponse implements ModelInterface, \ArrayAccess, \JsonSerializable
            {
                public const DISCRIMINATOR = null;
            
                /**
            Severity: Minor
            Found in src/Sell/Inventory/V1/Model/InventoryLocationResponse.php - About 5 hrs to fix

              Video has 38 functions (exceeds 20 allowed). Consider refactoring.
              Open

              class Video implements ModelInterface, \ArrayAccess, \JsonSerializable
              {
                  public const DISCRIMINATOR = null;
              
                  /**
              Severity: Minor
              Found in src/Commerce/MediaBeta/V1/Model/Video.php - About 5 hrs to fix

                Method searchRequest has 124 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function searchRequest($aspect_filter = null, $category_ids = null, $epid = null, $fieldgroups = null, $filter = null, $gtin = null, $limit = null, $offset = null, $q = null, $sort = null)
                    {
                        $resourcePath = '/item_sales/search';
                        $formParams = [];
                        $queryParams = [];
                Severity: Major
                Found in src/Buy/MarketplaceInsightsBeta/V1/Api/ItemSalesApi.php - About 4 hrs to fix

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function createInventoryLocationAsyncWithHttpInfo($merchant_location_key, $inventory_location_full)
                      {
                          $returnType = '';
                          $request = $this->createInventoryLocationRequest($merchant_location_key, $inventory_location_full);
                  
                  
                  Severity: Major
                  Found in src/Sell/Account/V1/Api/LocationApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function createCustomerServiceMetricTaskAsyncWithHttpInfo($accept_language, $create_service_metrics_task_request)
                      {
                          $returnType = '';
                          $request = $this->createCustomerServiceMetricTaskRequest($accept_language, $create_service_metrics_task_request);
                  
                  
                  Severity: Major
                  Found in src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function updateScheduleAsyncWithHttpInfo($schedule_id, $update_user_schedule_request)
                      {
                          $returnType = '';
                          $request = $this->updateScheduleRequest($schedule_id, $update_user_schedule_request);
                  
                  
                  Severity: Major
                  Found in src/Sell/Feed/V1/Api/ScheduleApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function updateCampaignBudgetAsyncWithHttpInfo($campaign_id, $update_campaign_budget_request)
                      {
                          $returnType = '';
                          $request = $this->updateCampaignBudgetRequest($campaign_id, $update_campaign_budget_request);
                  
                  
                  Severity: Major
                  Found in src/Sell/Marketing/V1/Api/CampaignApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function updateInventoryLocationAsyncWithHttpInfo($merchant_location_key, $inventory_location)
                      {
                          $returnType = '';
                          $request = $this->updateInventoryLocationRequest($merchant_location_key, $inventory_location);
                  
                  
                  Severity: Major
                  Found in src/Sell/Inventory/V1/Api/LocationApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function updateInventoryLocationAsyncWithHttpInfo($merchant_location_key, $inventory_location)
                      {
                          $returnType = '';
                          $request = $this->updateInventoryLocationRequest($merchant_location_key, $inventory_location);
                  
                  
                  Severity: Major
                  Found in src/Sell/Account/V1/Api/LocationApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function updateAdRateStrategyAsyncWithHttpInfo($campaign_id, $update_adrate_strategy_request)
                      {
                          $returnType = '';
                          $request = $this->updateAdRateStrategyRequest($campaign_id, $update_adrate_strategy_request);
                  
                  
                  Severity: Major
                  Found in src/Sell/Marketing/V1/Api/CampaignApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function deleteAdAsyncWithHttpInfo($ad_id, $campaign_id)
                      {
                          $returnType = '';
                          $request = $this->deleteAdRequest($ad_id, $campaign_id);
                  
                  
                  Severity: Major
                  Found in src/Sell/Marketing/V1/Api/AdApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function updateCampaignIdentificationAsyncWithHttpInfo($campaign_id, $update_campaign_identification_request)
                      {
                          $returnType = '';
                          $request = $this->updateCampaignIdentificationRequest($campaign_id, $update_campaign_identification_request);
                  
                  
                  Severity: Major
                  Found in src/Sell/Marketing/V1/Api/CampaignApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function updateNegativeKeywordAsyncWithHttpInfo($negative_keyword_id, $update_negative_keyword_request)
                      {
                          $returnType = '';
                          $request = $this->updateNegativeKeywordRequest($negative_keyword_id, $update_negative_keyword_request);
                  
                  
                  Severity: Major
                  Found in src/Sell/Marketing/V1/Api/NegativeKeywordApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function deleteSalesTaxAsyncWithHttpInfo($country_code, $jurisdiction_id)
                      {
                          $returnType = '';
                          $request = $this->deleteSalesTaxRequest($country_code, $jurisdiction_id);
                  
                  
                  Severity: Major
                  Found in src/Sell/Account/V1/Api/SalesTaxApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 241..259
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Similar blocks of code found in 12 locations. Consider refactoring.
                  Open

                      public function createInventoryLocationAsyncWithHttpInfo($merchant_location_key, $inventory_location_full)
                      {
                          $returnType = '';
                          $request = $this->createInventoryLocationRequest($merchant_location_key, $inventory_location_full);
                  
                  
                  Severity: Major
                  Found in src/Sell/Inventory/V1/Api/LocationApi.php and 11 other locations - About 4 hrs to fix
                  src/Sell/Account/V1/Api/LocationApi.php on lines 253..271
                  src/Sell/Account/V1/Api/LocationApi.php on lines 1814..1832
                  src/Sell/Account/V1/Api/SalesTaxApi.php on lines 476..494
                  src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php on lines 241..259
                  src/Sell/Feed/V1/Api/ScheduleApi.php on lines 1965..1983
                  src/Sell/Inventory/V1/Api/LocationApi.php on lines 1646..1664
                  src/Sell/Marketing/V1/Api/AdApi.php on lines 2891..2909
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 2949..2967
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3167..3185
                  src/Sell/Marketing/V1/Api/CampaignApi.php on lines 3385..3403
                  src/Sell/Marketing/V1/Api/NegativeKeywordApi.php on lines 1529..1547

                  Duplicated Code

                  Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                  Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                  When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                  Tuning

                  This issue has a mass of 182.

                  We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                  The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                  If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                  See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                  Refactorings

                  Further Reading

                  Severity
                  Category
                  Status
                  Source
                  Language