-
Notifications
You must be signed in to change notification settings - Fork 929
/
lintdebt
54 lines (54 loc) · 6.95 KB
/
lintdebt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
cf/actors/push.go:108::warning: cyclomatic complexity 14 of function (PushActorImpl).GatherFiles() is high (> 10) (gocyclo)
cf/actors/push.go:55::warning: cyclomatic complexity 12 of function (PushActorImpl).ProcessPath() is high (> 10) (gocyclo)
cf/actors/routes.go:191::warning: cyclomatic complexity 12 of function (routeActor).FindAndBindRoute() is high (> 10) (gocyclo)
cf/actors/services.go:67::warning: cyclomatic complexity 15 of function (ServiceHandler).buildBrokersVisibleFromOrg() is high (> 10) (gocyclo)
cf/actors/services_plans.go:194::warning: cyclomatic complexity 23 of function (ServicePlanHandler).FindServiceAccess() is high (> 10) (gocyclo)
cf/api/buildpack_bits.go:111::warning: cyclomatic complexity 14 of function normalizeBuildpackArchive() is high (> 10) (gocyclo)
cf/api/buildpack_bits.go:53::warning: cyclomatic complexity 12 of function (CloudControllerBuildpackBitsRepository).CreateBuildpackZipFile() is high (> 10) (gocyclo)
cf/api/resources/applications.go:124::warning: cyclomatic complexity 19 of function (ApplicationResource).ToFields() is high (> 10) (gocyclo)
cf/appfiles/app_files.go:165::warning: cyclomatic complexity 11 of function (ApplicationFiles).WalkAppFiles() is high (> 10) (gocyclo)
cf/appfiles/zipper.go:139::warning: cyclomatic complexity 11 of function writeZipFile() is high (> 10) (gocyclo)
cf/appfiles/zipper.go:77::warning: cyclomatic complexity 12 of function (ApplicationZipper).Unzip() is high (> 10) (gocyclo)
cf/cmd/cmd.go:173:1:warning: handlePanics is unused (deadcode)
cf/cmd/cmd.go:32::warning: cyclomatic complexity 17 of function Main() is high (> 10) (gocyclo)
cf/commands/application/app.go:103::warning: cyclomatic complexity 19 of function (*ShowApp).ShowApp() is high (> 10) (gocyclo)
cf/commands/application/copy_source.go:86::warning: cyclomatic complexity 13 of function (*CopySource).Execute() is high (> 10) (gocyclo)
cf/commands/application/push.go:180::warning: cyclomatic complexity 26 of function (*Push).Execute() is high (> 10) (gocyclo)
cf/commands/application/push.go:347::warning: cyclomatic complexity 19 of function (*Push).updateRoutes() is high (> 10) (gocyclo)
cf/commands/application/push.go:607::warning: cyclomatic complexity 13 of function (*Push).createAppSetFromContextAndManifest() is high (> 10) (gocyclo)
cf/commands/application/push.go:676::warning: cyclomatic complexity 28 of function (*Push).getAppParamsFromContext() is high (> 10) (gocyclo)
cf/commands/application/scale.go:79::warning: cyclomatic complexity 12 of function (*Scale).Execute() is high (> 10) (gocyclo)
cf/commands/application/start.go:246::warning: cyclomatic complexity 14 of function (*Start).TailStagingLogs() is high (> 10) (gocyclo)
cf/commands/buildpack/update_buildpack.go:72::warning: cyclomatic complexity 19 of function (*UpdateBuildpack).Execute() is high (> 10) (gocyclo)
cf/commands/config.go:53::warning: cyclomatic complexity 16 of function (*ConfigCommands).Execute() is high (> 10) (gocyclo)
cf/commands/create_app_manifest.go:120::warning: cyclomatic complexity 16 of function (*CreateAppManifest).createManifest() is high (> 10) (gocyclo)
cf/commands/curl.go:86::warning: cyclomatic complexity 12 of function (*Curl).Execute() is high (> 10) (gocyclo)
cf/commands/help.go:48::warning: cyclomatic complexity 13 of function (*Help).Execute() is high (> 10) (gocyclo)
cf/commands/login.go:184::warning: cyclomatic complexity 16 of function (Login).authenticate() is high (> 10) (gocyclo)
cf/commands/organization/create_org.go:77::warning: cyclomatic complexity 11 of function (*CreateOrg).Execute() is high (> 10) (gocyclo)
cf/commands/organization/org.go:69::warning: cyclomatic complexity 13 of function (*ShowOrg).Execute() is high (> 10) (gocyclo)
cf/commands/plugin/install_plugin.go:193::warning: cyclomatic complexity 16 of function (*PluginInstall).ensurePluginIsSafeForInstallation() is high (> 10) (gocyclo)
cf/commands/plugin/plugins.go:60::warning: cyclomatic complexity 12 of function (*Plugins).Execute() is high (> 10) (gocyclo)
cf/commands/pluginrepo/add_plugin_repo.go:64::warning: cyclomatic complexity 11 of function (*AddPluginRepo).Execute() is high (> 10) (gocyclo)
cf/commands/quota/create_quota.go:89::warning: cyclomatic complexity 14 of function (*CreateQuota).Execute() is high (> 10) (gocyclo)
cf/commands/quota/update_quota.go:90::warning: cyclomatic complexity 17 of function (*UpdateQuota).Execute() is high (> 10) (gocyclo)
cf/commands/route/create_route.go:68::warning: cyclomatic complexity 12 of function (*CreateRoute).Requirements() is high (> 10) (gocyclo)
cf/commands/route/map_route.go:63::warning: cyclomatic complexity 13 of function (*MapRoute).Requirements() is high (> 10) (gocyclo)
cf/commands/service/create_service.go:132::warning: declaration of "err" shadows declaration at create_service.go:115 (vetshadow)
cf/commands/service/marketplace.go:133::warning: cyclomatic complexity 11 of function (MarketplaceServices).marketplace() is high (> 10) (gocyclo)
cf/commands/service/migrate_service_instances.go:69::warning: cyclomatic complexity 12 of function (*MigrateServiceInstances).Execute() is high (> 10) (gocyclo)
cf/commands/serviceaccess/service_access.go:69::warning: cyclomatic complexity 15 of function (*ServiceAccess).Execute() is high (> 10) (gocyclo)
cf/commands/space/create_space.go:84::warning: cyclomatic complexity 13 of function (*CreateSpace).Execute() is high (> 10) (gocyclo)
cf/commands/space/space.go:73::warning: cyclomatic complexity 14 of function (*ShowSpace).Execute() is high (> 10) (gocyclo)
cf/commands/spacequota/create_space_quota.go:90::warning: cyclomatic complexity 14 of function (*CreateSpaceQuota).Execute() is high (> 10) (gocyclo)
cf/commands/spacequota/update_space_quota.go:87::warning: cyclomatic complexity 17 of function (*UpdateSpaceQuota).Execute() is high (> 10) (gocyclo)
cf/flags/flags.go:244::warning: cyclomatic complexity 12 of function (*flagContext).setDefaultFlagValueIfAny() is high (> 10) (gocyclo)
cf/flags/flags.go:65::warning: cyclomatic complexity 20 of function (*flagContext).Parse() is high (> 10) (gocyclo)
cf/manifest/manifest.go:101::warning: cyclomatic complexity 15 of function expandProperties() is high (> 10) (gocyclo)
cf/models/application.go:118::warning: cyclomatic complexity 26 of function (*AppParams).Merge() is high (> 10) (gocyclo)
cf/ssh/ssh.go:209::warning: cyclomatic complexity 14 of function (*secureShell).InteractiveSession() is high (> 10) (gocyclo)
cf/terminal/table.go:178::warning: cyclomatic complexity 12 of function (*Table).printRow() is high (> 10) (gocyclo)
commands/v2/help_command.go:259::warning: cyclomatic complexity 11 of function (HelpCommand).displayCommand() is high (> 10) (gocyclo)
main.go:22::warning: cyclomatic complexity 16 of function parse() is high (> 10) (gocyclo)
plugin_examples/test_rpc_server_example/test_rpc_server_example.go:55::warning: cyclomatic complexity 13 of function (*DemoCmd).Run() is high (> 10) (gocyclo)
testhelpers/net/server.go:72::warning: cyclomatic complexity 14 of function (*TestHandler).ServeHTTP() is high (> 10) (gocyclo)