owncloud/core

View on GitHub
apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php

Summary

Maintainability
F
3 wks
Test Coverage

File AndroidEnterprise.php has 2315 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/*
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not

    Method __construct has 914 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      public function __construct(Google_Client $client)
      {
        parent::__construct($client);
        $this->rootUrl = 'https://www.googleapis.com/';
        $this->servicePath = 'androidenterprise/v1/';

      Method update has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        public function update($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())

        Method patch has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          public function patch($enterpriseId, $userId, $deviceId, $installId, Google_Service_AndroidEnterprise_Install $postBody, $optParams = array())

          Method patch has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

            public function patch($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())

            Method setState has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              public function setState($enterpriseId, $userId, $deviceId, Google_Service_AndroidEnterprise_DeviceState $postBody, $optParams = array())

              Method get has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                public function get($enterpriseId, $userId, $deviceId, $installId, $optParams = array())

                Method patch has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                  public function patch($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())

                  Method update has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                    public function update($enterpriseId, $userId, $entitlementId, Google_Service_AndroidEnterprise_Entitlement $postBody, $optParams = array())

                    Method delete has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                      public function delete($enterpriseId, $userId, $deviceId, $installId, $optParams = array())

                      Method update has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                        public function update($enterpriseId, $collectionId, $userId, Google_Service_AndroidEnterprise_User $postBody, $optParams = array())

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

                            $this->collections = new Google_Service_AndroidEnterprise_Collections_Resource(
                                $this,
                                $this->serviceName,
                                'collections',
                                array(
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 654..743
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 1183..1272
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storage.php on lines 70..159

                        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 404.

                        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 14 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_Collections_Resource extends Google_Service_Resource
                        {
                        
                          /**
                           * Deletes a collection. (collections.delete)
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 1558..1656
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 528..638
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 2221..2323
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 2514..2612
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 2728..2823
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 2833..2925
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 1600..1706
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 2237..2337
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fusiontables.php on lines 642..743
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fusiontables.php on lines 809..907
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fusiontables.php on lines 1185..1284
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storage.php on lines 1039..1144
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storage.php on lines 1329..1441

                        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 372.

                        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 2 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_Collectionviewers_Resource extends Google_Service_Resource
                        {
                        
                          /**
                           * Removes the user from the list of those specifically allowed to see the
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 1412..1511

                        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 340.

                        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 2 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_Entitlements_Resource extends Google_Service_Resource
                        {
                        
                          /**
                           * Removes an entitlement to an app for a user and uninstalls it.
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 1089..1183

                        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 340.

                        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 2 locations. Consider refactoring.
                        Open

                            $this->grouplicenses = new Google_Service_AndroidEnterprise_Grouplicenses_Resource(
                                $this,
                                $this->serviceName,
                                'grouplicenses',
                                array(
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 244..278

                        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 148.

                        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 41 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_GroupLicense extends Google_Model
                        {
                          protected $internal_gapi_mappings = array(
                          );
                          public $acquisitionKind;
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 1832..1892
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2195..2255
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2238..2298
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2930..2990
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 6192..6252
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 6812..6872
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 7679..7739
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 8679..8739
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 9459..9519
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 1289..1349
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 1433..1493
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 976..1036
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 1931..1991
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 4305..4365
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5163..5223
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 6771..6831
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudUserAccounts.php on lines 1444..1504
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Computeaccounts.php on lines 1049..1109
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1906..1966
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 3620..3680
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 4205..4265
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 4559..4619
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6604..6664
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Doubleclicksearch.php on lines 455..515
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 5368..5428
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fusiontables.php on lines 1289..1349
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2658..2718
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3820..3880
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 296..356
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Licensing.php on lines 356..416
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Oauth2.php on lines 238..298
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3349..3409
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3542..3602
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Prediction.php on lines 974..1034
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 701..761
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 1230..1290
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8321..8381
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 1658..1718
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Tasks.php on lines 756..816
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeReporting.php on lines 588..648

                        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 144.

                        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 10 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_AppRestrictionsSchemaRestrictionRestrictionValue extends Google_Collection
                        {
                          protected $collection_key = 'valueMultiselect';
                          protected $internal_gapi_mappings = array(
                          );
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2168..2220
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1296..1348
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 4973..5025
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dns.php on lines 837..889
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1818..1870
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 3228..3280
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 3310..3362
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 178..230
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 611..663

                        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 127.

                        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 10 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_Collection extends Google_Collection
                        {
                          protected $collection_key = 'productId';
                          protected $internal_gapi_mappings = array(
                          );
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2062..2114
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1296..1348
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 4973..5025
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dns.php on lines 837..889
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1818..1870
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 3228..3280
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 3310..3362
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 178..230
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 611..663

                        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 127.

                        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 16 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_Grouplicenses_Resource extends Google_Service_Resource
                        {
                        
                          /**
                           * Retrieves details of an enterprise's group license for a product.
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 663..696
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 749..794
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 1462..1507
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 1516..1554
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 1770..1809
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 683..722
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 961..997
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 522..563
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 1453..1490
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 1622..1664
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Cloudtrace.php on lines 214..262
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 690..739
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Playmoviespartner.php on lines 408..463
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Playmoviespartner.php on lines 472..521
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeReporting.php on lines 323..370

                        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 118.

                        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 10 locations. Consider refactoring.
                        Open

                            $this->grouplicenseusers = new Google_Service_AndroidEnterprise_Grouplicenseusers_Resource(
                                $this,
                                $this->serviceName,
                                'grouplicenseusers',
                                array(
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 355..379
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Container.php on lines 56..80
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Doubleclicksearch.php on lines 217..241
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesConfiguration.php on lines 133..157
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 1101..1125
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 1422..1446
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 340..364
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Prediction.php on lines 64..88
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 89..113

                        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 102.

                        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 103 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_Permission extends Google_Model
                        {
                          protected $internal_gapi_mappings = array(
                          );
                          public $description;
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2043..2085
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3588..3630
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1147..1189
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2670..2712
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2714..2756
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3074..3116
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1224..1266
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1709..1751
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1889..1931
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 3900..3942
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 8425..8467
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2367..2409
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2672..2714
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 2519..2561
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 2589..2631
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 3648..3690
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AppState.php on lines 229..271
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Audit.php on lines 267..309
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Audit.php on lines 374..416
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 1359..1401
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 1337..1379
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 2461..2503
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 2505..2547
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 2980..3022
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 3239..3281
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 3283..3325
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 6412..6454
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3135..3177
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3332..3374
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3767..3809
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CivicInfo.php on lines 899..941
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Classroom.php on lines 1188..1230
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Cloudbilling.php on lines 404..446
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Clouddebugger.php on lines 839..881
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Customsearch.php on lines 410..452
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Customsearch.php on lines 1183..1225
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1132..1174
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1949..1991
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6525..6567
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6825..6867
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 7001..7043
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 7101..7143
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DoubleClickBidManager.php on lines 684..726
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DoubleClickBidManager.php on lines 962..1004
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Doubleclicksearch.php on lines 1396..1438
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 3648..3690
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fitness.php on lines 902..944
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3670..3712
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 4235..4277
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 4945..4987
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5854..5896
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 6764..6806
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesConfiguration.php on lines 789..831
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesManagement.php on lines 907..949
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1690..1732
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1738..1780
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Gmail.php on lines 2065..2107
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 682..724
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 916..958
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 1390..1432
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4999..5041
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 883..925
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pagespeedonline.php on lines 222..264
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pagespeedonline.php on lines 266..308
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pagespeedonline.php on lines 375..417
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 1390..1432
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 1468..1510
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 1512..1554
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 1592..1634
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 1779..1821
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 1823..1865
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 1920..1962
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3887..3929
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 134..176
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 267..309
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 562..604
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 706..748
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 908..950
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reseller.php on lines 802..844
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 1557..1599
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 1601..1643
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 3456..3498
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4360..4402
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5665..5707
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6398..6440
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6478..6520
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6568..6610
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 7865..7907
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8638..8680
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 487..529
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storage.php on lines 2429..2471
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 958..1000
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/TagManager.php on lines 1763..1805
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Taskqueue.php on lines 592..634
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 5649..5691
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9045..9087
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9245..9287
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9817..9859
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10357..10399
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10427..10469
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12012..12054
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeReporting.php on lines 443..485

                        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 100.

                        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 103 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_Enterprise extends Google_Model
                        {
                          protected $internal_gapi_mappings = array(
                          );
                          public $id;
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2043..2085
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3588..3630
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1147..1189
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2670..2712
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2714..2756
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3074..3116
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1224..1266
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1709..1751
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1889..1931
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 3900..3942
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 8425..8467
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2672..2714
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2744..2786
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 2519..2561
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 2589..2631
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 3648..3690
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AppState.php on lines 229..271
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Audit.php on lines 267..309
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Audit.php on lines 374..416
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 1359..1401
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 1337..1379
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 2461..2503
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 2505..2547
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 2980..3022
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 3239..3281
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 3283..3325
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 6412..6454
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3135..3177
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3332..3374
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3767..3809
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CivicInfo.php on lines 899..941
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Classroom.php on lines 1188..1230
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Cloudbilling.php on lines 404..446
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Clouddebugger.php on lines 839..881
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Customsearch.php on lines 410..452
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Customsearch.php on lines 1183..1225
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1132..1174
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1949..1991
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6525..6567
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6825..6867
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 7001..7043
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 7101..7143
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DoubleClickBidManager.php on lines 684..726
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DoubleClickBidManager.php on lines 962..1004
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Doubleclicksearch.php on lines 1396..1438
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 3648..3690
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fitness.php on lines 902..944
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3670..3712
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 4235..4277
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 4945..4987
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5854..5896
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 6764..6806
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesConfiguration.php on lines 789..831
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesManagement.php on lines 907..949
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1690..1732
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1738..1780
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Gmail.php on lines 2065..2107
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 682..724
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 916..958
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 1390..1432
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4999..5041
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 883..925
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pagespeedonline.php on lines 222..264
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pagespeedonline.php on lines 266..308
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pagespeedonline.php on lines 375..417
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 1390..1432
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 1468..1510
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 1512..1554
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 1592..1634
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 1779..1821
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 1823..1865
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 1920..1962
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3887..3929
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 134..176
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 267..309
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 562..604
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 706..748
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 908..950
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reseller.php on lines 802..844
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 1557..1599
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 1601..1643
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 3456..3498
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4360..4402
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5665..5707
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6398..6440
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6478..6520
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6568..6610
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 7865..7907
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8638..8680
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 487..529
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storage.php on lines 2429..2471
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 958..1000
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/TagManager.php on lines 1763..1805
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Taskqueue.php on lines 592..634
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 5649..5691
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9045..9087
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9245..9287
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9817..9859
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10357..10399
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10427..10469
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12012..12054
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeReporting.php on lines 443..485

                        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 100.

                        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 103 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_Install extends Google_Model
                        {
                          protected $internal_gapi_mappings = array(
                          );
                          public $installState;
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2043..2085
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3588..3630
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1147..1189
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2670..2712
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2714..2756
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3074..3116
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1224..1266
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1709..1751
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1889..1931
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 3900..3942
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 8425..8467
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2367..2409
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2744..2786
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 2519..2561
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 2589..2631
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 3648..3690
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AppState.php on lines 229..271
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Audit.php on lines 267..309
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Audit.php on lines 374..416
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 1359..1401
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 1337..1379
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 2461..2503
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 2505..2547
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 2980..3022
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 3239..3281
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 3283..3325
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 6412..6454
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3135..3177
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3332..3374
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3767..3809
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CivicInfo.php on lines 899..941
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Classroom.php on lines 1188..1230
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Cloudbilling.php on lines 404..446
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Clouddebugger.php on lines 839..881
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Customsearch.php on lines 410..452
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Customsearch.php on lines 1183..1225
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1132..1174
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1949..1991
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6525..6567
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6825..6867
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 7001..7043
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 7101..7143
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DoubleClickBidManager.php on lines 684..726
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DoubleClickBidManager.php on lines 962..1004
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Doubleclicksearch.php on lines 1396..1438
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 3648..3690
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fitness.php on lines 902..944
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3670..3712
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 4235..4277
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 4945..4987
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5854..5896
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 6764..6806
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesConfiguration.php on lines 789..831
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesManagement.php on lines 907..949
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1690..1732
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1738..1780
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Gmail.php on lines 2065..2107
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 682..724
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 916..958
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 1390..1432
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4999..5041
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 883..925
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pagespeedonline.php on lines 222..264
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pagespeedonline.php on lines 266..308
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pagespeedonline.php on lines 375..417
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 1390..1432
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 1468..1510
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 1512..1554
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 1592..1634
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 1779..1821
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 1823..1865
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 1920..1962
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3887..3929
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 134..176
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 267..309
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 562..604
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 706..748
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 908..950
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reseller.php on lines 802..844
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 1557..1599
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 1601..1643
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 3456..3498
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4360..4402
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5665..5707
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6398..6440
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6478..6520
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6568..6610
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 7865..7907
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8638..8680
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 487..529
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storage.php on lines 2429..2471
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 958..1000
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/TagManager.php on lines 1763..1805
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Taskqueue.php on lines 592..634
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 5649..5691
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9045..9087
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9245..9287
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9817..9859
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10357..10399
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10427..10469
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12012..12054
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeReporting.php on lines 443..485

                        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 100.

                        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 7 locations. Consider refactoring.
                        Open

                            $this->permissions = new Google_Service_AndroidEnterprise_Permissions_Resource(
                                $this,
                                $this->serviceName,
                                'permissions',
                                array(
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 127..150
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 57..80
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 665..688
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 689..712
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 1426..1449
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 1450..1473

                        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 94.

                        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 32 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_ProductPermissions extends Google_Collection
                        {
                          protected $collection_key = 'permission';
                          protected $internal_gapi_mappings = array(
                          );
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1268..1303
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 1140..1175
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 2590..2625
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudMonitoring.php on lines 515..550
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudUserAccounts.php on lines 1868..1903
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Cloudtrace.php on lines 331..366
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Computeaccounts.php on lines 1429..1464
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DataTransfer.php on lines 318..353
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1986..2021
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 2164..2199
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1085..1120
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1610..1645
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1829..1864
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 3553..3588
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 5407..5442
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6004..6039
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 7145..7180
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dns.php on lines 684..719
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2075..2110
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 619..654
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pubsub.php on lines 770..805
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapool.php on lines 1226..1261
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 987..1022
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 606..641
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Reports.php on lines 1075..1110
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Resourceviews.php on lines 955..990
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 2753..2788
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4541..4576
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 893..928
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 1001..1036
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 1064..1099

                        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 90.

                        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 181 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_Device extends Google_Model
                        {
                          protected $internal_gapi_mappings = array(
                          );
                          public $androidId;
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 1743..1776
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2160..2193
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2886..2919
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2921..2954
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2956..2989
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3487..3520
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3666..3699
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 832..865
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1446..1479
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1553..1586
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1634..1667
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2635..2668
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2895..2928
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3436..3469
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3517..3550
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1674..1707
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 2052..2085
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 2087..2120
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 4219..4252
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 4272..4305
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 6677..6710
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 6741..6774
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 7327..7360
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 7644..7677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 8644..8677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 9424..9457
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2491..2524
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 3013..3046
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 3048..3081
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 2887..2920
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 3480..3513
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AppState.php on lines 336..369
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 895..928
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 930..963
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 1355..1388
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 1644..1677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appsactivity.php on lines 340..373
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appsactivity.php on lines 510..543
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 717..750
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 1050..1083
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 2919..2952
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 3493..3526
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 1870..1903
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 3297..3330
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 2941..2974
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 3499..3532
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5450..5483
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5872..5905
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5907..5940
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 6736..6769
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3179..3212
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CivicInfo.php on lines 1024..1057
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Classroom.php on lines 1372..1405
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudMonitoring.php on lines 915..948
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudMonitoring.php on lines 1031..1064
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudUserAccounts.php on lines 1778..1811
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Cloudbilling.php on lines 313..346
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Computeaccounts.php on lines 1339..1372
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 811..844
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 975..1008
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 1420..1453
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 1483..1516
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Customsearch.php on lines 454..487
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 691..724
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 906..939
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1208..1241
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1462..1495
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 2386..2419
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 2666..2699
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Datastore.php on lines 623..656
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1575..1608
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1794..1827
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6569..6602
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6683..6716
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6949..6982
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DoubleClickBidManager.php on lines 1006..1039
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Doubleclicksearch.php on lines 1444..1477
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 3247..3280
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 4792..4825
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 4927..4960
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fitness.php on lines 1190..1223
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Freebase.php on lines 420..453
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2425..2458
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2486..2519
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2773..2806
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2939..2972
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2974..3007
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3227..3260
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3300..3333
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3381..3414
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3464..3497
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3785..3818
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 4417..4450
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5479..5512
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5662..5695
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 6210..6243
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 7059..7092
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 7157..7190
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesConfiguration.php on lines 1007..1040
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesManagement.php on lines 1051..1084
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1628..1661
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2040..2073
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2330..2363
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2418..2451
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Gmail.php on lines 1950..1983
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 466..499
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 1183..1216
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Logging.php on lines 394..427
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Manager.php on lines 392..425
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Manager.php on lines 1421..1454
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3297..3330
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3495..3528
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3834..3867
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4038..4071
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4486..4519
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4919..4952
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 1317..1350
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 1442..1475
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 841..874
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 1355..1388
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 2085..2118
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3262..3295
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3526..3559
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3659..3692
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 2746..2779
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3455..3488
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3719..3752
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3852..3885
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Prediction.php on lines 554..587
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Prediction.php on lines 635..668
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Proximitybeacon.php on lines 776..809
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Proximitybeacon.php on lines 862..895
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pubsub.php on lines 489..522
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pubsub.php on lines 807..840
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 99..132
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 232..265
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 1195..1228
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 1292..1325
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapool.php on lines 1136..1169
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 588..621
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 897..930
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 1223..1256
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Resourceviews.php on lines 865..898
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 1781..1814
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 2686..2719
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 3000..3033
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 3136..3169
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 3967..4000
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4131..4164
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4506..4539
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4869..4902
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5218..5251
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5594..5627
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6117..6150
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 7830..7863
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8286..8319
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8879..8912
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 199..232
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 1260..1293
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 555..588
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 1338..1371
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/TagManager.php on lines 2228..2261
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Tasks.php on lines 721..754
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Translate.php on lines 246..279
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 665..698
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 1168..1201
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 5693..5726
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 6615..6648
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 7765..7798
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 8427..8460
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 8591..8624
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9589..9622
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10747..10780
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10993..11026
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 11547..11580
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 11720..11753
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12483..12516
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12959..12992
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 805..838
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 1164..1197

                        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 78.

                        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 181 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_User extends Google_Model
                        {
                          protected $internal_gapi_mappings = array(
                          );
                          public $id;
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 1743..1776
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2160..2193
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2886..2919
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2921..2954
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2956..2989
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3487..3520
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3666..3699
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 832..865
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1446..1479
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1553..1586
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1634..1667
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2635..2668
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2895..2928
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3436..3469
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3517..3550
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1674..1707
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 2052..2085
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 2087..2120
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 4219..4252
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 4272..4305
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 6677..6710
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 6741..6774
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 7327..7360
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 7644..7677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 8644..8677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 9424..9457
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2278..2311
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2491..2524
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 3048..3081
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 2887..2920
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 3480..3513
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AppState.php on lines 336..369
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 895..928
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 930..963
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 1355..1388
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 1644..1677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appsactivity.php on lines 340..373
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appsactivity.php on lines 510..543
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 717..750
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 1050..1083
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 2919..2952
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 3493..3526
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 1870..1903
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 3297..3330
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 2941..2974
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 3499..3532
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5450..5483
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5872..5905
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5907..5940
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 6736..6769
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3179..3212
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CivicInfo.php on lines 1024..1057
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Classroom.php on lines 1372..1405
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudMonitoring.php on lines 915..948
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudMonitoring.php on lines 1031..1064
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudUserAccounts.php on lines 1778..1811
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Cloudbilling.php on lines 313..346
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Computeaccounts.php on lines 1339..1372
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 811..844
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 975..1008
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 1420..1453
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 1483..1516
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Customsearch.php on lines 454..487
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 691..724
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 906..939
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1208..1241
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1462..1495
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 2386..2419
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 2666..2699
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Datastore.php on lines 623..656
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1575..1608
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1794..1827
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6569..6602
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6683..6716
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6949..6982
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DoubleClickBidManager.php on lines 1006..1039
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Doubleclicksearch.php on lines 1444..1477
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 3247..3280
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 4792..4825
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 4927..4960
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fitness.php on lines 1190..1223
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Freebase.php on lines 420..453
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2425..2458
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2486..2519
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2773..2806
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2939..2972
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2974..3007
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3227..3260
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3300..3333
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3381..3414
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3464..3497
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3785..3818
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 4417..4450
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5479..5512
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5662..5695
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 6210..6243
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 7059..7092
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 7157..7190
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesConfiguration.php on lines 1007..1040
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesManagement.php on lines 1051..1084
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1628..1661
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2040..2073
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2330..2363
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2418..2451
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Gmail.php on lines 1950..1983
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 466..499
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 1183..1216
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Logging.php on lines 394..427
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Manager.php on lines 392..425
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Manager.php on lines 1421..1454
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3297..3330
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3495..3528
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3834..3867
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4038..4071
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4486..4519
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4919..4952
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 1317..1350
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 1442..1475
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 841..874
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 1355..1388
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 2085..2118
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3262..3295
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3526..3559
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3659..3692
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 2746..2779
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3455..3488
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3719..3752
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3852..3885
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Prediction.php on lines 554..587
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Prediction.php on lines 635..668
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Proximitybeacon.php on lines 776..809
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Proximitybeacon.php on lines 862..895
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pubsub.php on lines 489..522
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pubsub.php on lines 807..840
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 99..132
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 232..265
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 1195..1228
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 1292..1325
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapool.php on lines 1136..1169
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 588..621
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 897..930
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 1223..1256
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Resourceviews.php on lines 865..898
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 1781..1814
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 2686..2719
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 3000..3033
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 3136..3169
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 3967..4000
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4131..4164
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4506..4539
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4869..4902
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5218..5251
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5594..5627
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6117..6150
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 7830..7863
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8286..8319
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8879..8912
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 199..232
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 1260..1293
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 555..588
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 1338..1371
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/TagManager.php on lines 2228..2261
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Tasks.php on lines 721..754
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Translate.php on lines 246..279
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 665..698
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 1168..1201
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 5693..5726
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 6615..6648
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 7765..7798
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 8427..8460
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 8591..8624
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9589..9622
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10747..10780
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10993..11026
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 11547..11580
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 11720..11753
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12483..12516
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12959..12992
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 805..838
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 1164..1197

                        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 78.

                        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 181 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_Entitlement extends Google_Model
                        {
                          protected $internal_gapi_mappings = array(
                          );
                          public $kind;
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 1743..1776
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2160..2193
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2886..2919
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2921..2954
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2956..2989
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3487..3520
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3666..3699
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 832..865
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1446..1479
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1553..1586
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1634..1667
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2635..2668
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2895..2928
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3436..3469
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3517..3550
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1674..1707
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 2052..2085
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 2087..2120
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 4219..4252
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 4272..4305
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 6677..6710
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 6741..6774
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 7327..7360
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 7644..7677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 8644..8677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 9424..9457
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2278..2311
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 3013..3046
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 3048..3081
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 2887..2920
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 3480..3513
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AppState.php on lines 336..369
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 895..928
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 930..963
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 1355..1388
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 1644..1677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appsactivity.php on lines 340..373
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appsactivity.php on lines 510..543
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 717..750
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 1050..1083
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 2919..2952
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 3493..3526
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 1870..1903
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 3297..3330
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 2941..2974
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 3499..3532
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5450..5483
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5872..5905
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5907..5940
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 6736..6769
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3179..3212
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CivicInfo.php on lines 1024..1057
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Classroom.php on lines 1372..1405
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudMonitoring.php on lines 915..948
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudMonitoring.php on lines 1031..1064
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudUserAccounts.php on lines 1778..1811
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Cloudbilling.php on lines 313..346
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Computeaccounts.php on lines 1339..1372
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 811..844
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 975..1008
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 1420..1453
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 1483..1516
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Customsearch.php on lines 454..487
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 691..724
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 906..939
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1208..1241
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1462..1495
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 2386..2419
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 2666..2699
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Datastore.php on lines 623..656
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1575..1608
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1794..1827
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6569..6602
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6683..6716
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6949..6982
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DoubleClickBidManager.php on lines 1006..1039
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Doubleclicksearch.php on lines 1444..1477
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 3247..3280
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 4792..4825
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 4927..4960
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fitness.php on lines 1190..1223
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Freebase.php on lines 420..453
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2425..2458
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2486..2519
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2773..2806
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2939..2972
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2974..3007
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3227..3260
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3300..3333
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3381..3414
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3464..3497
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3785..3818
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 4417..4450
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5479..5512
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5662..5695
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 6210..6243
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 7059..7092
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 7157..7190
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesConfiguration.php on lines 1007..1040
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesManagement.php on lines 1051..1084
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1628..1661
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2040..2073
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2330..2363
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2418..2451
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Gmail.php on lines 1950..1983
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 466..499
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 1183..1216
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Logging.php on lines 394..427
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Manager.php on lines 392..425
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Manager.php on lines 1421..1454
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3297..3330
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3495..3528
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3834..3867
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4038..4071
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4486..4519
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4919..4952
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 1317..1350
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 1442..1475
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 841..874
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 1355..1388
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 2085..2118
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3262..3295
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3526..3559
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3659..3692
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 2746..2779
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3455..3488
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3719..3752
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3852..3885
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Prediction.php on lines 554..587
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Prediction.php on lines 635..668
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Proximitybeacon.php on lines 776..809
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Proximitybeacon.php on lines 862..895
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pubsub.php on lines 489..522
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pubsub.php on lines 807..840
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 99..132
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 232..265
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 1195..1228
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 1292..1325
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapool.php on lines 1136..1169
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 588..621
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 897..930
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 1223..1256
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Resourceviews.php on lines 865..898
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 1781..1814
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 2686..2719
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 3000..3033
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 3136..3169
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 3967..4000
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4131..4164
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4506..4539
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4869..4902
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5218..5251
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5594..5627
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6117..6150
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 7830..7863
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8286..8319
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8879..8912
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 199..232
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 1260..1293
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 555..588
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 1338..1371
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/TagManager.php on lines 2228..2261
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Tasks.php on lines 721..754
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Translate.php on lines 246..279
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 665..698
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 1168..1201
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 5693..5726
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 6615..6648
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 7765..7798
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 8427..8460
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 8591..8624
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9589..9622
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10747..10780
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10993..11026
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 11547..11580
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 11720..11753
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12483..12516
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12959..12992
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 805..838
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 1164..1197

                        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 78.

                        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 181 locations. Consider refactoring.
                        Open

                        class Google_Service_AndroidEnterprise_UserToken extends Google_Model
                        {
                          protected $internal_gapi_mappings = array(
                          );
                          public $kind;
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 1743..1776
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2160..2193
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2886..2919
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2921..2954
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 2956..2989
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3487..3520
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeBuyer.php on lines 3666..3699
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 832..865
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1446..1479
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1553..1586
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdExchangeSeller.php on lines 1634..1667
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2635..2668
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 2895..2928
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3436..3469
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSense.php on lines 3517..3550
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 1674..1707
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 2052..2085
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AdSenseHost.php on lines 2087..2120
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 4219..4252
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 4272..4305
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 6677..6710
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 6741..6774
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 7327..7360
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 7644..7677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 8644..8677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Analytics.php on lines 9424..9457
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2278..2311
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 2491..2524
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidEnterprise.php on lines 3013..3046
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 2887..2920
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AndroidPublisher.php on lines 3480..3513
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/AppState.php on lines 336..369
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 895..928
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 930..963
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 1355..1388
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appengine.php on lines 1644..1677
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appsactivity.php on lines 340..373
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Appsactivity.php on lines 510..543
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 717..750
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Autoscaler.php on lines 1050..1083
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 2919..2952
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Bigquery.php on lines 3493..3526
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 1870..1903
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Blogger.php on lines 3297..3330
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 2941..2974
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 3499..3532
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5450..5483
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5872..5905
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 5907..5940
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Books.php on lines 6736..6769
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Calendar.php on lines 3179..3212
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CivicInfo.php on lines 1024..1057
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Classroom.php on lines 1372..1405
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudMonitoring.php on lines 915..948
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudMonitoring.php on lines 1031..1064
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/CloudUserAccounts.php on lines 1778..1811
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Cloudbilling.php on lines 313..346
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Computeaccounts.php on lines 1339..1372
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 811..844
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 975..1008
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 1420..1453
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Coordinate.php on lines 1483..1516
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Customsearch.php on lines 454..487
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 691..724
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 906..939
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1208..1241
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 1462..1495
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 2386..2419
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Dataflow.php on lines 2666..2699
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Datastore.php on lines 623..656
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1575..1608
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DeploymentManager.php on lines 1794..1827
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6569..6602
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6683..6716
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Directory.php on lines 6949..6982
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/DoubleClickBidManager.php on lines 1006..1039
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Doubleclicksearch.php on lines 1444..1477
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 3247..3280
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 4792..4825
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Drive.php on lines 4927..4960
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Fitness.php on lines 1190..1223
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Freebase.php on lines 420..453
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2425..2458
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2486..2519
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2773..2806
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2939..2972
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 2974..3007
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3227..3260
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3300..3333
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3381..3414
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3464..3497
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 3785..3818
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 4417..4450
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5479..5512
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 5662..5695
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 6210..6243
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 7059..7092
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Games.php on lines 7157..7190
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesConfiguration.php on lines 1007..1040
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/GamesManagement.php on lines 1051..1084
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 1628..1661
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2040..2073
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2330..2363
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Genomics.php on lines 2418..2451
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Gmail.php on lines 1950..1983
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 466..499
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/IdentityToolkit.php on lines 1183..1216
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Logging.php on lines 394..427
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Manager.php on lines 392..425
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Manager.php on lines 1421..1454
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3297..3330
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3495..3528
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 3834..3867
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4038..4071
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4486..4519
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/MapsEngine.php on lines 4919..4952
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 1317..1350
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Mirror.php on lines 1442..1475
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 841..874
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Partners.php on lines 1355..1388
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 2085..2118
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3262..3295
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3526..3559
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Plus.php on lines 3659..3692
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 2746..2779
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3455..3488
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3719..3752
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/PlusDomains.php on lines 3852..3885
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Prediction.php on lines 554..587
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Prediction.php on lines 635..668
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Proximitybeacon.php on lines 776..809
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Proximitybeacon.php on lines 862..895
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pubsub.php on lines 489..522
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Pubsub.php on lines 807..840
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 99..132
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 232..265
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 1195..1228
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/QPXExpress.php on lines 1292..1325
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapool.php on lines 1136..1169
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 588..621
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 897..930
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Replicapoolupdater.php on lines 1223..1256
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Resourceviews.php on lines 865..898
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 1781..1814
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 2686..2719
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 3000..3033
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/SQLAdmin.php on lines 3136..3169
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 3967..4000
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4131..4164
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4506..4539
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 4869..4902
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5218..5251
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 5594..5627
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 6117..6150
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 7830..7863
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8286..8319
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/ShoppingContent.php on lines 8879..8912
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 199..232
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Spectrum.php on lines 1260..1293
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 555..588
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Storagetransfer.php on lines 1338..1371
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/TagManager.php on lines 2228..2261
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Tasks.php on lines 721..754
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Translate.php on lines 246..279
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 665..698
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/Webmasters.php on lines 1168..1201
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 5693..5726
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 6615..6648
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 7765..7798
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 8427..8460
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 8591..8624
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 9589..9622
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10747..10780
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 10993..11026
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 11547..11580
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 11720..11753
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12483..12516
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTube.php on lines 12959..12992
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 805..838
                        apps/files_external/3rdparty/google-api-php-client/src/Google/Service/YouTubeAnalytics.php on lines 1164..1197

                        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 78.

                        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

                        There are no issues that match your filters.

                        Category
                        Status