brandon14/ebay-sdk-php

View on GitHub

Showing 3,709 of 3,709 total issues

Method getCompatibilityPropertyValuesWithHttpInfo has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getCompatibilityPropertyValuesWithHttpInfo($category_tree_id, $compatibility_property, $category_id, $filter = null)
    {
        $request = $this->getCompatibilityPropertyValuesRequest($category_tree_id, $compatibility_property, $category_id, $filter);

        try {
Severity: Major
Found in src/Commerce/Taxonomy/V1/Api/CategoryTreeApi.php - About 2 hrs to fix

    Method getCategoryTreeWithHttpInfo has 53 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function getCategoryTreeWithHttpInfo($category_tree_id)
        {
            $request = $this->getCategoryTreeRequest($category_tree_id);
    
            try {
    Severity: Major
    Found in src/Commerce/Taxonomy/V1/Api/CategoryTreeApi.php - About 2 hrs to fix

      Method getItemAspectsForCategoryWithHttpInfo has 53 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function getItemAspectsForCategoryWithHttpInfo($category_id, $category_tree_id)
          {
              $request = $this->getItemAspectsForCategoryRequest($category_id, $category_tree_id);
      
              try {
      Severity: Major
      Found in src/Commerce/Taxonomy/V1/Api/CategoryTreeApi.php - About 2 hrs to fix

        Method getCharityOrgByLegacyIdWithHttpInfo has 53 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public function getCharityOrgByLegacyIdWithHttpInfo($x_ebay_c_marketplace_id, $legacy_charity_org_id)
            {
                $request = $this->getCharityOrgByLegacyIdRequest($x_ebay_c_marketplace_id, $legacy_charity_org_id);
        
                try {
        Severity: Major
        Found in src/Commerce/Charity/V1/Api/CharityOrgApi.php - About 2 hrs to fix

          Method getCompatibilityPropertiesWithHttpInfo has 53 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function getCompatibilityPropertiesWithHttpInfo($category_tree_id, $category_id)
              {
                  $request = $this->getCompatibilityPropertiesRequest($category_tree_id, $category_id);
          
                  try {
          Severity: Major
          Found in src/Commerce/Taxonomy/V1/Api/CategoryTreeApi.php - About 2 hrs to fix

            Function searchRequest has a Cognitive Complexity of 16 (exceeds 5 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: Minor
            Found in src/Buy/MarketplaceInsightsBeta/V1/Api/ItemSalesApi.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 getItemPriorityFeedWithHttpInfo has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getItemPriorityFeedWithHttpInfo($accept, $x_ebay_c_marketplace_id, $range, $category_id, $date)
                {
                    $request = $this->getItemPriorityFeedRequest($accept, $x_ebay_c_marketplace_id, $range, $category_id, $date);
            
                    try {
            Severity: Minor
            Found in src/Buy/FeedBeta/V1/Api/ItemPriorityApi.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 getItemSnapshotFeedWithHttpInfo has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getItemSnapshotFeedWithHttpInfo($accept, $x_ebay_c_marketplace_id, $range, $category_id, $snapshot_date)
                {
                    $request = $this->getItemSnapshotFeedRequest($accept, $x_ebay_c_marketplace_id, $range, $category_id, $snapshot_date);
            
                    try {
            Severity: Minor
            Found in src/Buy/FeedBeta/V1/Api/ItemSnapshotApi.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 getItemFeedWithHttpInfo has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getItemFeedWithHttpInfo($accept, $x_ebay_c_marketplace_id, $range, $feed_scope, $category_id, $date = null)
                {
                    $request = $this->getItemFeedRequest($accept, $x_ebay_c_marketplace_id, $range, $feed_scope, $category_id, $date);
            
                    try {
            Severity: Minor
            Found in src/Buy/FeedBeta/V1/Api/ItemApi.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 getItemGroupFeedWithHttpInfo has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getItemGroupFeedWithHttpInfo($accept, $x_ebay_c_marketplace_id, $feed_scope, $category_id, $range = null, $date = null)
                {
                    $request = $this->getItemGroupFeedRequest($accept, $x_ebay_c_marketplace_id, $feed_scope, $category_id, $range, $date);
            
                    try {
            Severity: Minor
            Found in src/Buy/FeedBeta/V1/Api/ItemGroupApi.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 getAccessRequest has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getAccessRequest()
                {
                    $resourcePath = '/access';
                    $formParams = [];
                    $queryParams = [];
            Severity: Minor
            Found in src/Buy/Feed/V1/Api/AccessApi.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 downloadFileWithHttpInfo has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function downloadFileWithHttpInfo($file_id, $x_ebay_c_marketplace_id, $range = null)
                {
                    $request = $this->downloadFileRequest($file_id, $x_ebay_c_marketplace_id, $range);
            
                    try {
            Severity: Minor
            Found in src/Buy/Feed/V1/Api/FileApi.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 getFeedTypesRequest has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getFeedTypesRequest($continuation_token = null, $feed_scope = null, $limit = null, $marketplace_ids = null)
                {
                    $resourcePath = '/feed_type';
                    $formParams = [];
                    $queryParams = [];
            Severity: Minor
            Found in src/Buy/Feed/V1/Api/FeedTypeApi.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 getSigningKeysRequest has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getSigningKeysRequest()
                {
                    $resourcePath = '/signing_key';
                    $formParams = [];
                    $queryParams = [];
            Severity: Minor
            Found in src/Developer/KeyManagement/V1/Api/SigningKeyApi.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 getTrafficReportRequest has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getTrafficReportRequest($dimension = null, $filter = null, $metric = null, $sort = null)
                {
                    $resourcePath = '/traffic_report';
                    $formParams = [];
                    $queryParams = [];
            Severity: Minor
            Found in src/Sell/Analytics/V1/Api/TrafficReportApi.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 findSellerStandardsProfilesRequest has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function findSellerStandardsProfilesRequest()
                {
                    $resourcePath = '/seller_standards_profile';
                    $formParams = [];
                    $queryParams = [];
            Severity: Minor
            Found in src/Sell/Analytics/V1/Api/SellerStandardsProfileApi.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 getOrderTasksRequest has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getOrderTasksRequest($date_range = null, $feed_type = null, $limit = null, $look_back_days = null, $offset = null, $schedule_id = null)
                {
                    $resourcePath = '/order_task';
                    $formParams = [];
                    $queryParams = [];
            Severity: Minor
            Found in src/Sell/Feed/V1/Api/OrderTaskApi.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 getTasksRequest has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getTasksRequest($date_range = null, $feed_type = null, $limit = null, $look_back_days = null, $offset = null, $schedule_id = null)
                {
                    $resourcePath = '/task';
                    $formParams = [];
                    $queryParams = [];
            Severity: Minor
            Found in src/Sell/Feed/V1/Api/TaskApi.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 getInventoryTasksRequest has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getInventoryTasksRequest($feed_type = null, $schedule_id = null, $look_back_days = null, $date_range = null, $limit = null, $offset = null)
                {
                    $resourcePath = '/inventory_task';
                    $formParams = [];
                    $queryParams = [];
            Severity: Minor
            Found in src/Sell/Feed/V1/Api/InventoryTaskApi.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 getCustomerServiceMetricTasksRequest has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring.
            Open

                public function getCustomerServiceMetricTasksRequest($date_range = null, $feed_type = null, $limit = null, $look_back_days = null, $offset = null)
                {
                    $resourcePath = '/customer_service_metric_task';
                    $formParams = [];
                    $queryParams = [];
            Severity: Minor
            Found in src/Sell/Feed/V1/Api/CustomerServiceMetricTaskApi.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