brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

Function getTransactionSummaryRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getTransactionSummaryRequest($x_ebay_c_marketplace_id = null, $filter = null)
    {
        $resourcePath = '/transaction_summary';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Finances/V1/Api/TransactionApi.php - About 2 hrs 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 getTransactionsRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getTransactionsRequest($x_ebay_c_marketplace_id = null, $filter = null, $limit = null, $offset = null, $sort = null)
    {
        $resourcePath = '/transaction';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Finances/V1/Api/TransactionApi.php - About 2 hrs 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 getPayoutSummaryRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getPayoutSummaryRequest($x_ebay_c_marketplace_id = null, $filter = null)
    {
        $resourcePath = '/payout_summary';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Finances/V1/Api/PayoutApi.php - About 2 hrs 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 getSellerFundsSummaryRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getSellerFundsSummaryRequest($x_ebay_c_marketplace_id = null)
    {
        $resourcePath = '/seller_funds_summary';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Finances/V1/Api/SellerFundsSummaryApi.php - About 2 hrs 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 getPayoutsRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getPayoutsRequest($x_ebay_c_marketplace_id = null, $filter = null, $limit = null, $offset = null, $sort = null)
    {
        $resourcePath = '/payout';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Finances/V1/Api/PayoutApi.php - About 2 hrs 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 getReportMetadataRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getReportMetadataRequest()
    {
        $resourcePath = '/ad_report_metadata';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Marketing/V1/Api/AdReportMetadataApi.php - About 2 hrs 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 getNegativeKeywordsRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getNegativeKeywordsRequest($ad_group_ids = null, $campaign_ids = null, $limit = null, $negative_keyword_status = null, $offset = null)
    {
        $resourcePath = '/negative_keyword';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Marketing/V1/Api/NegativeKeywordApi.php - About 2 hrs 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 getCampaignsRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getCampaignsRequest($campaign_name = null, $campaign_status = null, $end_date_range = null, $funding_strategy = null, $limit = null, $offset = null, $start_date_range = null)
    {
        $resourcePath = '/ad_campaign';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Marketing/V1/Api/CampaignApi.php - About 2 hrs 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 findCampaignByAdReferenceRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function findCampaignByAdReferenceRequest($inventory_reference_id = null, $inventory_reference_type = null, $listing_id = null)
    {
        $resourcePath = '/ad_campaign/find_campaign_by_ad_reference';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Marketing/V1/Api/CampaignApi.php - About 2 hrs 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 getOptedInProgramsRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getOptedInProgramsRequest()
    {
        $resourcePath = '/program/get_opted_in_programs';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Account/V1/Api/ProgramApi.php - About 2 hrs 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 getSubscriptionRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getSubscriptionRequest($limit = null, $continuation_token = null)
    {
        $resourcePath = '/subscription';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Account/V1/Api/SubscriptionApi.php - About 2 hrs 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 getReportTasksRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getReportTasksRequest($limit = null, $offset = null, $report_task_statuses = null)
    {
        $resourcePath = '/ad_report_task';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Marketing/V1/Api/AdReportTaskApi.php - About 2 hrs 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 getPrivilegesRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getPrivilegesRequest()
    {
        $resourcePath = '/privilege';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Account/V1/Api/PrivilegeApi.php - About 2 hrs 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 getKYCRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getKYCRequest()
    {
        $resourcePath = '/kyc';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Account/V1/Api/KycApi.php - About 2 hrs 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 getRateTablesRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getRateTablesRequest($country_code = null)
    {
        $resourcePath = '/rate_table';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Account/V1/Api/RateTableApi.php - About 2 hrs 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 getListingViolationsSummaryRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getListingViolationsSummaryRequest($x_ebay_c_marketplace_id = null, $compliance_type = null)
    {
        $resourcePath = '/listing_violation_summary';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Sell/Compliance/V1/Api/ListingViolationSummaryApi.php - About 2 hrs 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 searchRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function searchRequest($x_ebay_c_marketplace_id = null, $aspect_filter = null, $category_ids = null, $fieldgroups = null, $gtin = null, $limit = null, $mpn = null, $offset = null, $q = null)
    {
        $resourcePath = '/product_summary/search';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Commerce/CatalogBeta/V1/Api/ProductSummaryApi.php - About 2 hrs 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 getDestinationsRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getDestinationsRequest($limit = null, $continuation_token = null)
    {
        $resourcePath = '/destination';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Commerce/Notification/V1/Api/DestinationApi.php - About 2 hrs 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 getTopicsRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getTopicsRequest($limit = null, $continuation_token = null)
    {
        $resourcePath = '/topic';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Commerce/Notification/V1/Api/TopicApi.php - About 2 hrs 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 getConfigRequest has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
Open

    public function getConfigRequest()
    {
        $resourcePath = '/config';
        $formParams = [];
        $queryParams = [];
Severity: Minor
Found in src/Commerce/Notification/V1/Api/ConfigApi.php - About 2 hrs 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