brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

Function deletePaymentPolicyWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function deletePaymentPolicyWithHttpInfo($payment_policy_id)
    {
        $request = $this->deletePaymentPolicyRequest($payment_policy_id);

        try {
Severity: Minor
Found in src/Sell/Account/V1/Api/PaymentPolicyApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function updateCustomPolicyWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function updateCustomPolicyWithHttpInfo($custom_policy_id, $x_ebay_c_marketplace_id, $custom_policy_request)
    {
        $request = $this->updateCustomPolicyRequest($custom_policy_id, $x_ebay_c_marketplace_id, $custom_policy_request);

        try {
Severity: Minor
Found in src/Sell/Account/V1/Api/CustomPolicyApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function updateInventoryLocationWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function updateInventoryLocationWithHttpInfo($merchant_location_key, $inventory_location)
    {
        $request = $this->updateInventoryLocationRequest($merchant_location_key, $inventory_location);

        try {
Severity: Minor
Found in src/Sell/Account/V1/Api/LocationApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function deleteFulfillmentPolicyWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function deleteFulfillmentPolicyWithHttpInfo($fulfillment_policy_id)
    {
        $request = $this->deleteFulfillmentPolicyRequest($fulfillment_policy_id);

        try {
Severity: Minor
Found in src/Sell/Account/V1/Api/FulfillmentPolicyApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function deleteSalesTaxWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function deleteSalesTaxWithHttpInfo($country_code, $jurisdiction_id)
    {
        $request = $this->deleteSalesTaxRequest($country_code, $jurisdiction_id);

        try {
Severity: Minor
Found in src/Sell/Account/V1/Api/SalesTaxApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function createOrReplaceSalesTaxWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function createOrReplaceSalesTaxWithHttpInfo($country_code, $jurisdiction_id, $sales_tax_base)
    {
        $request = $this->createOrReplaceSalesTaxRequest($country_code, $jurisdiction_id, $sales_tax_base);

        try {
Severity: Minor
Found in src/Sell/Account/V1/Api/SalesTaxApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function deleteReturnPolicyWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function deleteReturnPolicyWithHttpInfo($return_policy_id)
    {
        $request = $this->deleteReturnPolicyRequest($return_policy_id);

        try {
Severity: Minor
Found in src/Sell/Account/V1/Api/ReturnPolicyApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function createInventoryLocationWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function createInventoryLocationWithHttpInfo($merchant_location_key, $inventory_location_full)
    {
        $request = $this->createInventoryLocationRequest($merchant_location_key, $inventory_location_full);

        try {
Severity: Minor
Found in src/Sell/Account/V1/Api/LocationApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function deleteInventoryLocationWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function deleteInventoryLocationWithHttpInfo($merchant_location_key)
    {
        $request = $this->deleteInventoryLocationRequest($merchant_location_key);

        try {
Severity: Minor
Found in src/Sell/Account/V1/Api/LocationApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function createInventoryTaskWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function createInventoryTaskWithHttpInfo($create_inventory_task_request, $x_ebay_c_marketplace_id = null)
    {
        $request = $this->createInventoryTaskRequest($create_inventory_task_request, $x_ebay_c_marketplace_id);

        try {
Severity: Minor
Found in src/Sell/Feed/V1/Api/InventoryTaskApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function createOrderTaskWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function createOrderTaskWithHttpInfo($create_order_task_request, $x_ebay_c_marketplace_id = null)
    {
        $request = $this->createOrderTaskRequest($create_order_task_request, $x_ebay_c_marketplace_id);

        try {
Severity: Minor
Found in src/Sell/Feed/V1/Api/OrderTaskApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function createTaskWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function createTaskWithHttpInfo($create_task_request, $x_ebay_c_marketplace_id = null)
    {
        $request = $this->createTaskRequest($create_task_request, $x_ebay_c_marketplace_id);

        try {
Severity: Minor
Found in src/Sell/Feed/V1/Api/TaskApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function createCustomerServiceMetricTaskWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function createCustomerServiceMetricTaskWithHttpInfo($accept_language, $create_service_metrics_task_request)
    {
        $request = $this->createCustomerServiceMetricTaskRequest($accept_language, $create_service_metrics_task_request);

        try {
Severity: Minor
Found in src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function deleteScheduleWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function deleteScheduleWithHttpInfo($schedule_id)
    {
        $request = $this->deleteScheduleRequest($schedule_id);

        try {
Severity: Minor
Found in src/Sell/Feed/V1/Api/ScheduleApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function deleteInventoryItemGroupWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function deleteInventoryItemGroupWithHttpInfo($inventory_item_group_key)
    {
        $request = $this->deleteInventoryItemGroupRequest($inventory_item_group_key);

        try {
Severity: Minor
Found in src/Sell/Inventory/V1/Api/InventoryItemGroupApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function deleteInventoryLocationWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function deleteInventoryLocationWithHttpInfo($merchant_location_key)
    {
        $request = $this->deleteInventoryLocationRequest($merchant_location_key);

        try {
Severity: Minor
Found in src/Sell/Inventory/V1/Api/LocationApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function updateScheduleWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function updateScheduleWithHttpInfo($schedule_id, $update_user_schedule_request)
    {
        $request = $this->updateScheduleRequest($schedule_id, $update_user_schedule_request);

        try {
Severity: Minor
Found in src/Sell/Feed/V1/Api/ScheduleApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function deleteProductCompatibilityWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function deleteProductCompatibilityWithHttpInfo($sku)
    {
        $request = $this->deleteProductCompatibilityRequest($sku);

        try {
Severity: Minor
Found in src/Sell/Inventory/V1/Api/ProductCompatibilityApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function updateInventoryLocationWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function updateInventoryLocationWithHttpInfo($merchant_location_key, $inventory_location)
    {
        $request = $this->updateInventoryLocationRequest($merchant_location_key, $inventory_location);

        try {
Severity: Minor
Found in src/Sell/Inventory/V1/Api/LocationApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function createInventoryLocationWithHttpInfo has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function createInventoryLocationWithHttpInfo($merchant_location_key, $inventory_location_full)
    {
        $request = $this->createInventoryLocationRequest($merchant_location_key, $inventory_location_full);

        try {
Severity: Minor
Found in src/Sell/Inventory/V1/Api/LocationApi.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Severity
Category
Status
Source
Language