Preparing report...

Report for github.com/mlabouardy/komiser

A    Great!    Found 220 issues across 239 files

Tweet

gofmt96%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo98%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.


golint10%

Golint is a linter for Go source code.

    • komiser/services/gcp/storage.go
    • Line 15: warning: exported method GCP.GetTotalBuckets should have comment or be unexported (golint)
    • Line 46: warning: exported method GCP.GetBucketSize should have comment or be unexported (golint)
    • Line 82: warning: exported method GCP.GetBucketObjects should have comment or be unexported (golint)
    • komiser/services/aws/acm.go
    • Line 10: warning: exported method AWS.ListCertificates should have comment or be unexported (golint)
    • Line 30: warning: exported method AWS.ListExpiredCertificates should have comment or be unexported (golint)
    • komiser/services/aws/costexplorer.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 14: warning: exported method AWS.DescribeCostAndUsage should have comment or be unexported (golint)
    • Line 79: warning: exported method AWS.DescribeCostAndUsagePerInstanceType should have comment or be unexported (golint)
    • Line 150: warning: exported method AWS.DescribeForecastPrice should have comment or be unexported (golint)
    • komiser/handlers/aws/s3_handler.go
    • Line 10: warning: exported method AWSHandler.S3BucketsHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.S3BucketsSizeHandler should have comment or be unexported (golint)
    • Line 64: warning: exported method AWSHandler.S3BucketsObjectsHandler should have comment or be unexported (golint)
    • Line 91: warning: exported method AWSHandler.GetEmptyBucketsHandler should have comment or be unexported (golint)
    • komiser/handlers/aws/vpc_handler.go
    • Line 10: warning: exported method AWSHandler.VPCHandler should have comment or be unexported (golint)
    • Line 36: warning: exported method AWSHandler.ACLHandler should have comment or be unexported (golint)
    • Line 63: warning: exported method AWSHandler.SecurityGroupHandler should have comment or be unexported (golint)
    • Line 90: warning: exported method AWSHandler.NatGatewayHandler should have comment or be unexported (golint)
    • Line 117: warning: exported method AWSHandler.ElasticIPHandler should have comment or be unexported (golint)
    • Line 144: warning: exported method AWSHandler.InternetGatewayHandler should have comment or be unexported (golint)
    • Line 171: warning: exported method AWSHandler.RouteTableHandler should have comment or be unexported (golint)
    • Line 198: warning: exported method AWSHandler.KeyPairHandler should have comment or be unexported (golint)
    • Line 225: warning: exported method AWSHandler.GetNatGatewayTrafficHandler should have comment or be unexported (golint)
    • Line 251: warning: exported method AWSHandler.DescribeSubnetsHandler should have comment or be unexported (golint)
    • komiser/handlers/gcp/billing_handler.go
    • Line 7: warning: exported method GCPHandler.BillingLastSixMonthsHandler should have comment or be unexported (golint)
    • Line 22: warning: exported method GCPHandler.BillingPerServiceHandler should have comment or be unexported (golint)
    • komiser/services/ovh/cloud_vrack.go
    • Line 9: warning: exported type CloudIp should have comment or be unexported (golint)
    • Line 13: warning: exported type Network should have comment or be unexported (golint)
    • Line 21: warning: exported method OVH.GetIps should have comment or be unexported (golint)
    • Line 47: warning: exported method OVH.GetPrivateNetworks should have comment or be unexported (golint)
    • Line 73: warning: exported method OVH.GetPublicNetworks should have comment or be unexported (golint)
    • Line 99: warning: exported method OVH.GetFailoverIps should have comment or be unexported (golint)
    • Line 125: warning: exported method OVH.GetVRacks should have comment or be unexported (golint)
    • komiser/services/aws/logs.go
    • Line 12: warning: exported type LogsMetric should have comment or be unexported (golint)
    • Line 17: warning: exported method AWS.MaximumLogsRetentionPeriod should have comment or be unexported (golint)
    • Line 41: warning: exported method AWS.GetLogsVolume should have comment or be unexported (golint)
    • Line 41: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • komiser/handlers/aws/cloudtrail_handler.go
    • Line 10: warning: exported method AWSHandler.CloudTrailConsoleSignInEventsHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.CloudTrailConsoleSignInSourceIpEventsHandler should have comment or be unexported (golint)
    • komiser/services/aws/sqs.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 14: warning: exported method AWS.DescribeQueues should have comment or be unexported (golint)
    • Line 47: warning: exported type SQSMetric should have comment or be unexported (golint)
    • Line 52: warning: exported method AWS.GetNumberOfMessagesSentAndDeletedSQS should have comment or be unexported (golint)
    • Line 52: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • komiser/handlers/aws/elb_handler.go
    • Line 10: warning: exported method AWSHandler.ElasticLoadBalancerHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.ELBRequestsHandler should have comment or be unexported (golint)
    • komiser/handlers/ovh/cloud_handler.go
    • Line 7: warning: exported method OVHHandler.DescribeCloudProjectsHandler should have comment or be unexported (golint)
    • Line 22: warning: exported method OVHHandler.DescribeCloudInstancesHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method OVHHandler.DescribeCloudStorageContainersHandler should have comment or be unexported (golint)
    • Line 52: warning: exported method OVHHandler.DescribeCloudUsersHandler should have comment or be unexported (golint)
    • Line 67: warning: exported method OVHHandler.DescribeCloudVolumesHandler should have comment or be unexported (golint)
    • Line 82: warning: exported method OVHHandler.DescribeCloudSnapshotsHandler should have comment or be unexported (golint)
    • Line 97: warning: exported method OVHHandler.DescribeCloudAlertsandler should have comment or be unexported (golint)
    • Line 112: warning: exported method OVHHandler.DescribeCurrentUsageHandler should have comment or be unexported (golint)
    • Line 127: warning: exported method OVHHandler.DescribeCloudImagesHandler should have comment or be unexported (golint)
    • Line 142: warning: exported method OVHHandler.DescribeCloudIpsHandler should have comment or be unexported (golint)
    • Line 157: warning: exported method OVHHandler.DescribeCloudPrivateNetworksHandler should have comment or be unexported (golint)
    • Line 172: warning: exported method OVHHandler.DescribeCloudPublicNetworksHandler should have comment or be unexported (golint)
    • Line 187: warning: exported method OVHHandler.DescribeCloudFailoverIpsHandler should have comment or be unexported (golint)
    • Line 202: warning: exported method OVHHandler.DescribeCloudVRacksHandler should have comment or be unexported (golint)
    • Line 217: warning: exported method OVHHandler.DescribeCloudKubeClustersHandler should have comment or be unexported (golint)
    • Line 232: warning: exported method OVHHandler.DescribeCloudKubeNodesHandler should have comment or be unexported (golint)
    • Line 247: warning: exported method OVHHandler.DescribeCloudSSHKeysHandler should have comment or be unexported (golint)
    • Line 262: warning: exported method OVHHandler.DescribeCloudLimitsHandler should have comment or be unexported (golint)
    • Line 277: warning: exported method OVHHandler.DescribeProfileHandler should have comment or be unexported (golint)
    • Line 292: warning: exported method OVHHandler.DescribeTicketsHandler should have comment or be unexported (golint)
    • komiser/services/ovh/cloud_images.go
    • Line 9: warning: exported type Image should have comment or be unexported (golint)
    • Line 13: warning: exported type Images should have comment or be unexported (golint)
    • Line 18: warning: exported method OVH.GetImages should have comment or be unexported (golint)
    • komiser/services/aws/cloudfront.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 14: warning: exported method AWS.DescribeCloudFrontDistributions should have comment or be unexported (golint)
    • Line 24: warning: exported type CloudFrontMetric should have comment or be unexported (golint)
    • Line 29: warning: exported method AWS.GetCloudFrontRequests should have comment or be unexported (golint)
    • Line 29: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • komiser/handlers/gcp/dataproc_handler.go
    • Line 7: warning: exported method GCPHandler.DataprocJobsHandler should have comment or be unexported (golint)
    • Line 22: warning: exported method GCPHandler.DataprocClustersHandler should have comment or be unexported (golint)
    • komiser/services/ovh/cloud_kube.go
    • Line 9: warning: exported type Node should have comment or be unexported (golint)
    • Line 13: warning: exported method OVH.GetKubeClusters should have comment or be unexported (golint)
    • Line 39: warning: exported method OVH.GetKubeNodes should have comment or be unexported (golint)
    • komiser/services/aws/s3.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 13: warning: exported method AWS.DescribeS3Buckets should have comment or be unexported (golint)
    • Line 23: warning: exported type BucketMetric should have comment or be unexported (golint)
    • Line 28: warning: exported method AWS.GetBucketsSize should have comment or be unexported (golint)
    • Line 28: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • Line 94: warning: exported method AWS.GetBucketsObjects should have comment or be unexported (golint)
    • Line 94: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • Line 160: warning: exported method AWS.GetEmptyBuckets should have comment or be unexported (golint)
    • Line 160: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • komiser/services/aws/ec2.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported method AWS.DescribeInstances should have comment or be unexported (golint)
    • Line 46: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • Line 81: warning: exported method AWS.DescribeScheduledInstances should have comment or be unexported (golint)
    • Line 102: warning: exported method AWS.DescribeReservedInstances should have comment or be unexported (golint)
    • Line 124: warning: exported method AWS.DescribeSpotInstances should have comment or be unexported (golint)
    • komiser/services/ovh/cloud_bill.go
    • Line 9: warning: exported type Usage should have comment or be unexported (golint)
    • Line 45: warning: exported type Bill should have comment or be unexported (golint)
    • Line 50: warning: exported type Service should have comment or be unexported (golint)
    • Line 55: warning: exported method OVH.GetCurrentUsage should have comment or be unexported (golint)
    • komiser/services/gcp/loadbalancer.go
    • Line 15: warning: exported method GCP.GetLoadBalancerRequests should have comment or be unexported (golint)
    • Line 52: warning: exported method GCP.GetTotalLoadBalancers should have comment or be unexported (golint)
    • komiser/handlers/aws/glue_handler.go
    • Line 10: warning: exported method AWSHandler.GlueGetCrawlersHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.GlueGetJobsHandler should have comment or be unexported (golint)
    • komiser/models/aws/lambda.go
    • Line 5: warning: exported type Lambda should have comment or be unexported (golint)
    • Line 11: warning: exported type LambdaInvocationMetric should have comment or be unexported (golint)
    • Line 16: warning: exported type Datapoint should have comment or be unexported (golint)
    • komiser/services/aws/vpc.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported method AWS.DescribeVPCsTotal should have comment or be unexported (golint)
    • Line 27: warning: exported method AWS.DescribeSubnets should have comment or be unexported (golint)
    • komiser/services/aws/route53.go
    • Line 10: warning: exported method AWS.DescribeHostedZones should have comment or be unexported (golint)
    • Line 20: warning: exported method AWS.DescribeARecords should have comment or be unexported (golint)
    • komiser/handlers/gcp/storage_handler.go
    • Line 7: warning: exported method GCPHandler.StorageBucketsHandler should have comment or be unexported (golint)
    • Line 22: warning: exported method GCPHandler.StorageBucketsSizeHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method GCPHandler.StorageBucketsObjectsHandler should have comment or be unexported (golint)
    • komiser/services/aws/security_group.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported method AWS.DescribeSecurityGroupsTotal should have comment or be unexported (golint)
    • Line 48: warning: exported type UnrestrictedSecurityGroup should have comment or be unexported (golint)
    • Line 57: warning: exported method AWS.ListUnrestrictedSecurityGroups should have comment or be unexported (golint)
    • Line 57: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • komiser/services/aws/apigateway.go
    • Line 11: warning: should not use dot imports (golint)
    • Line 14: warning: exported method AWS.GetRestAPIs should have comment or be unexported (golint)
    • Line 37: warning: exported type APIGatewayMetric should have comment or be unexported (golint)
    • Line 42: warning: exported method AWS.GetAPIGatewayRequests should have comment or be unexported (golint)
    • Line 42: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • komiser/models/gcp/cost.go
    • Line 3: warning: exported type Cost should have comment or be unexported (golint)
    • Line 8: warning: exported type CostPerService should have comment or be unexported (golint)
    • Line 14: warning: exported type Group should have comment or be unexported (golint)
    • komiser/services/cache/redis.go
    • Line 11: warning: exported type Redis should have comment or be unexported (golint)
    • Line 17: warning: exported method Redis.Connect should have comment or be unexported (golint)
    • Line 30: warning: exported method Redis.Get should have comment or be unexported (golint)
    • Line 40: warning: exported method Redis.Set should have comment or be unexported (golint)
    • komiser/models/aws/cost.go
    • Line 5: warning: exported type Bill should have comment or be unexported (golint)
    • Line 10: warning: exported type Cost should have comment or be unexported (golint)
    • Line 17: warning: exported type Group should have comment or be unexported (golint)
    • komiser/handlers/aws/ec2_handler.go
    • Line 10: warning: exported method AWSHandler.EC2InstancesHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.AutoScalingGroupHandler should have comment or be unexported (golint)
    • Line 64: warning: exported method AWSHandler.ListUnrestrictedSecurityGroups should have comment or be unexported (golint)
    • Line 91: warning: exported method AWSHandler.ScheduledEC2Instances should have comment or be unexported (golint)
    • Line 118: warning: exported method AWSHandler.SpotEC2Instances should have comment or be unexported (golint)
    • Line 145: warning: exported method AWSHandler.ReservedEC2Instances should have comment or be unexported (golint)
    • komiser/services/aws/iam.go
    • Line 12: warning: exported type IAMUser should have comment or be unexported (golint)
    • Line 20: warning: exported type Organization should have comment or be unexported (golint)
    • Line 26: warning: exported method AWS.DescribeIAMRoles should have comment or be unexported (golint)
    • Line 36: warning: exported method AWS.DescribeIAMUser should have comment or be unexported (golint)
    • Line 58: warning: exported method AWS.DescribeIAMUsers should have comment or be unexported (golint)
    • Line 68: warning: exported method AWS.DescribeIAMGroups should have comment or be unexported (golint)
    • Line 78: warning: exported method AWS.DescribeIAMPolicies should have comment or be unexported (golint)
    • Line 88: warning: exported method AWS.DescribeOrganization should have comment or be unexported (golint)
    • komiser/services/aws/lambda.go
    • Line 12: warning: should not use dot imports (golint)
    • Line 31: warning: exported method AWS.DescribeLambdaFunctions should have comment or be unexported (golint)
    • Line 49: warning: exported type LambdaTotalInvocationMetric should have comment or be unexported (golint)
    • Line 54: warning: exported type MetricKeyPair should have comment or be unexported (golint)
    • Line 59: warning: exported method AWS.GetLambdaInvocationMetrics should have comment or be unexported (golint)
    • Line 59: warning: receiver name awsModel should be consistent with previous receiver name aws for AWS (golint)
    • Line 132: warning: exported method AWS.GetLambdaErrorsMetrics should have comment or be unexported (golint)
    • Line 132: warning: receiver name awsModel should be consistent with previous receiver name aws for AWS (golint)
    • komiser/handlers/gcp/iam_handler.go
    • Line 7: warning: exported method GCPHandler.IAMRolesHandler should have comment or be unexported (golint)
    • Line 22: warning: exported method GCPHandler.IAMUsersHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method GCPHandler.IAMServiceAccountsHandler should have comment or be unexported (golint)
    • komiser/main.go
    • Line 12: warning: should not use dot imports (golint)
    • Line 13: warning: should not use dot imports (golint)
    • Line 14: warning: should not use dot imports (golint)
    • Line 15: warning: should not use dot imports (golint)
    • Line 16: warning: should not use dot imports (golint)
    • Line 17: warning: should not use dot imports (golint)
    • Line 22: warning: exported const DEFAULT_PORT should have comment (or a comment on this block) or be unexported (golint)
    • komiser/handlers/aws/lambda_handler.go
    • Line 10: warning: exported method AWSHandler.LambdaFunctionHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.GetLambdaInvocationMetrics should have comment or be unexported (golint)
    • Line 64: warning: exported method AWSHandler.GetLambdaErrorsMetrics should have comment or be unexported (golint)
    • komiser/handlers/aws/sqs_handler.go
    • Line 10: warning: exported method AWSHandler.SQSQueuesHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.GetNumberOfMessagesSentAndDeletedSQSHandler should have comment or be unexported (golint)
    • komiser/services/aws/glue.go
    • Line 10: warning: exported method AWS.GetGlueCrawlers should have comment or be unexported (golint)
    • Line 28: warning: exported method AWS.GetGlueJobs should have comment or be unexported (golint)
    • komiser/services/aws/nat_gateway.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 13: warning: exported method AWS.DescribeNatGatewaysTotal should have comment or be unexported (golint)
    • Line 53: warning: exported type NatGatewayMetric should have comment or be unexported (golint)
    • Line 58: warning: exported method AWS.GetNatGatewayTraffic should have comment or be unexported (golint)
    • Line 58: warning: receiver name awsModel should be consistent with previous receiver name aws for AWS (golint)
    • komiser/services/gcp/compute_engine.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 17: warning: exported method GCP.GetComputeInstances should have comment or be unexported (golint)
    • Line 78: warning: exported method GCP.GetRegions should have comment or be unexported (golint)
    • Line 111: warning: exported method GCP.GetDisks should have comment or be unexported (golint)
    • Line 155: warning: exported method GCP.GetDiskSnapshots should have comment or be unexported (golint)
    • Line 190: warning: exported method GCP.GetComputeImages should have comment or be unexported (golint)
    • Line 225: warning: exported method GCP.GetComputeCPUUtilization should have comment or be unexported (golint)
    • Line 261: warning: exported method GCP.GetQuotas should have comment or be unexported (golint)
    • komiser/handlers/aws/cloudfront_handler.go
    • Line 10: warning: exported method AWSHandler.CloudFrontDistributionsHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.CloudFrontRequestsHandler should have comment or be unexported (golint)
    • komiser/handlers/gcp/bigquery_handler.go
    • Line 7: warning: exported method GCPHandler.BigQueryScannedStatementsHandler should have comment or be unexported (golint)
    • Line 22: warning: exported method GCPHandler.BigQueryStoredBytesHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method GCPHandler.BigQueryTablesHandler should have comment or be unexported (golint)
    • Line 52: warning: exported method GCPHandler.BigQueryDatasetsHandler should have comment or be unexported (golint)
    • komiser/handlers/aws/iam_handler.go
    • Line 10: warning: exported method AWSHandler.IAMRolesHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.IAMGroupsHandler should have comment or be unexported (golint)
    • Line 64: warning: exported method AWSHandler.IAMPoliciesHandler should have comment or be unexported (golint)
    • Line 91: warning: exported method AWSHandler.IAMUsersHandler should have comment or be unexported (golint)
    • Line 118: warning: exported method AWSHandler.IAMUserHandler should have comment or be unexported (golint)
    • Line 145: warning: exported method AWSHandler.DescribeOrganizationHandler should have comment or be unexported (golint)
    • komiser/handlers/aws/logs_handler.go
    • Line 10: warning: exported method AWSHandler.LogsVolumeHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.MaximumLogsRetentionPeriodHandler should have comment or be unexported (golint)
    • komiser/handlers/gcp/vpc_network.go
    • Line 7: warning: exported method GCPHandler.VpcNetworksHandler should have comment or be unexported (golint)
    • Line 22: warning: exported method GCPHandler.VpcFirewallsHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method GCPHandler.VpcRoutersHandler should have comment or be unexported (golint)
    • Line 52: warning: exported method GCPHandler.VpcSubnetsHandler should have comment or be unexported (golint)
    • Line 67: warning: exported method GCPHandler.VpcExternalAddressesHandler should have comment or be unexported (golint)
    • Line 82: warning: exported method GCPHandler.VpnTunnelsHandler should have comment or be unexported (golint)
    • Line 97: warning: exported method GCPHandler.SSLCertificatesHandler should have comment or be unexported (golint)
    • Line 112: warning: exported method GCPHandler.SSLPoliciesHandler should have comment or be unexported (golint)
    • Line 127: warning: exported method GCPHandler.SecurityPoliciesHandler should have comment or be unexported (golint)
    • Line 142: warning: exported method GCPHandler.NatGatewaysHandler should have comment or be unexported (golint)
    • komiser/services/gcp/bigquery.go
    • Line 15: warning: exported method GCP.GetBigQueryTables should have comment or be unexported (golint)
    • Line 52: warning: exported method GCP.GetBigQueryDatasets should have comment or be unexported (golint)
    • Line 83: warning: exported method GCP.GetBigQueryScannedStatements should have comment or be unexported (golint)
    • Line 119: warning: exported method GCP.GetBigQueryStoredBytes should have comment or be unexported (golint)
    • komiser/services/aws/cloudtrail.go
    • Line 15: warning: exported method AWS.CloudTrailConsoleSignInEvents should have comment or be unexported (golint)
    • Line 57: warning: exported type CloudTrailEvent should have comment or be unexported (golint)
    • Line 61: warning: exported type SourceIp should have comment or be unexported (golint)
    • Line 66: warning: exported method AWS.CloudTrailConsoleSignInSourceIpEvents should have comment or be unexported (golint)
    • Line 119: warning: exported type Coordinate should have comment or be unexported (golint)
    • komiser/handlers/gcp/dns_handler.go
    • Line 7: warning: exported method GCPHandler.DNSManagedZonesHandler should have comment or be unexported (golint)
    • Line 22: warning: exported method GCPHandler.DNSARecordsHandler should have comment or be unexported (golint)
    • komiser/handlers/aws/support_handler.go
    • Line 10: warning: exported method AWSHandler.SupportOpenTicketsHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.SupportTicketsInLastSixMonthsHandlers should have comment or be unexported (golint)
    • Line 64: warning: exported method AWSHandler.DescribeServiceLimitsChecks should have comment or be unexported (golint)
    • komiser/services/aws/ebs.go
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported method AWS.DescribeVolumes should have comment or be unexported (golint)
    • Line 37: warning: exported method AWS.DescribeVolumesPerState should have comment or be unexported (golint)
    • komiser/services/aws/kinesis.go
    • Line 10: warning: exported method AWS.ListStreams should have comment or be unexported (golint)
    • Line 30: warning: exported method AWS.ListShards should have comment or be unexported (golint)
    • Line 30: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • komiser/services/ovh/cloud_support.go
    • Line 9: warning: exported type Ticket should have comment or be unexported (golint)
    • Line 13: warning: exported type TicketStat should have comment or be unexported (golint)
    • Line 18: warning: exported method OVH.GetTickets should have comment or be unexported (golint)
    • Line 29: warning: exported method OVH.GetTicketsStats should have comment or be unexported (golint)
    • komiser/handlers/ovh/handler.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported type OVHHandler should have comment or be unexported (golint)
    • Line 16: warning: exported function NewOVHHandler should have comment or be unexported (golint)
    • komiser/handlers/aws/kinesis_handler.go
    • Line 10: warning: exported method AWSHandler.KinesisListStreamsHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.KinesisListShardsHandler should have comment or be unexported (golint)
    • komiser/handlers/aws/route53_handler.go
    • Line 10: warning: exported method AWSHandler.Route53HostedZonesHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.Route53ARecordsHandler should have comment or be unexported (golint)
    • komiser/services/digitalocean/firewalls.go
    • Line 9: warning: exported type FirewallRule should have comment or be unexported (golint)
    • Line 16: warning: exported method DigitalOcean.DescribeFirewalls should have comment or be unexported (golint)
    • Line 33: warning: exported method DigitalOcean.DescribeUnsecureFirewalls should have comment or be unexported (golint)
    • komiser/handlers/aws/handler.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported type AWSHandler should have comment or be unexported (golint)
    • Line 17: warning: exported function NewAWSHandler should have comment or be unexported (golint)
    • komiser/services/gcp/dns.go
    • Line 12: warning: exported method GCP.GetManagedZones should have comment or be unexported (golint)
    • Line 44: warning: exported method GCP.GetARecords should have comment or be unexported (golint)
    • komiser/services/cache/memory.go
    • Line 10: warning: exported type Memory should have comment or be unexported (golint)
    • Line 15: warning: exported method Memory.Connect should have comment or be unexported (golint)
    • Line 20: warning: exported method Memory.Get should have comment or be unexported (golint)
    • Line 24: warning: exported method Memory.Set should have comment or be unexported (golint)
    • komiser/handlers/gcp/compute_engine_handler.go
    • Line 7: warning: exported method GCPHandler.ComputeInstancesHandler should have comment or be unexported (golint)
    • Line 22: warning: exported method GCPHandler.ComputeDisksHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method GCPHandler.DiskSnapshotsHandler should have comment or be unexported (golint)
    • Line 52: warning: exported method GCPHandler.ComputeImagesHandler should have comment or be unexported (golint)
    • Line 67: warning: exported method GCPHandler.ComputeCPUUtilizationHandler should have comment or be unexported (golint)
    • Line 82: warning: exported method GCPHandler.ComputeQuotasHandler should have comment or be unexported (golint)
    • komiser/services/gcp/dataproc.go
    • Line 12: warning: exported method GCP.GetDataprocJobs should have comment or be unexported (golint)
    • Line 51: warning: exported method GCP.GetDataprocClusters should have comment or be unexported (golint)
    • komiser/services/aws/elb.go
    • Line 12: warning: should not use dot imports (golint)
    • Line 15: warning: exported method AWS.DescribeElasticLoadBalancer should have comment or be unexported (golint)
    • Line 40: warning: exported type ELBMetric should have comment or be unexported (golint)
    • Line 45: warning: exported method AWS.GetELBRequests should have comment or be unexported (golint)
    • Line 45: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • komiser/handlers/digitalocean/handler.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 11: warning: should not use dot imports (golint)
    • Line 15: warning: exported type TokenSource should have comment or be unexported (golint)
    • Line 19: warning: exported method TokenSource.Token should have comment or be unexported (golint)
    • Line 26: warning: exported type DigitalOceanHandler should have comment or be unexported (golint)
    • Line 32: warning: exported function NewDigitalOceanHandler should have comment or be unexported (golint)
    • komiser/services/gcp/iam.go
    • Line 12: warning: exported method GCP.GetIamRoles should have comment or be unexported (golint)
    • Line 33: warning: exported method GCP.GetServiceAccounts should have comment or be unexported (golint)
    • komiser/services/aws/support.go
    • Line 9: warning: should not use dot imports (golint)
    • Line 12: warning: exported method AWS.OpenSupportTickets should have comment or be unexported (golint)
    • Line 37: warning: exported method AWS.TicketsInLastSixMonthsTickets should have comment or be unexported (golint)
    • Line 37: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • Line 65: warning: exported type ServiceLimit should have comment or be unexported (golint)
    • Line 71: warning: exported method AWS.DescribeServiceLimitsChecks should have comment or be unexported (golint)
    • Line 71: warning: receiver name awsClient should be consistent with previous receiver name aws for AWS (golint)
    • komiser/services/ovh/cloud_ssl.go
    • Line 7: warning: exported method OVH.GetSSLCertificates should have comment or be unexported (golint)
    • Line 22: warning: exported method OVH.GetSSLGateways should have comment or be unexported (golint)
    • komiser/handlers/ovh/server_handler.go
    • Line 7: warning: exported method OVHHandler.DescribeSSLCertificatesHandler should have comment or be unexported (golint)
    • Line 22: warning: exported method OVHHandler.DescribeSSLGatewaysHandler should have comment or be unexported (golint)
    • komiser/services/gcp/vpc_network.go
    • Line 12: warning: exported method GCP.GetVpcNetworks should have comment or be unexported (golint)
    • Line 41: warning: exported method GCP.GetNetworkFirewalls should have comment or be unexported (golint)
    • Line 71: warning: exported method GCP.GetNetworkRouters should have comment or be unexported (golint)
    • Line 108: warning: exported method GCP.GetNatGateways should have comment or be unexported (golint)
    • Line 149: warning: exported method GCP.GetSubnetsNumber should have comment or be unexported (golint)
    • Line 186: warning: exported method GCP.GetExternalAddresses should have comment or be unexported (golint)
    • Line 223: warning: exported method GCP.GetVpnTunnels should have comment or be unexported (golint)
    • Line 260: warning: exported method GCP.GetSSLCertificates should have comment or be unexported (golint)
    • Line 290: warning: exported method GCP.GetSSLPolicies should have comment or be unexported (golint)
    • Line 320: warning: exported method GCP.GetSecurityPolicies should have comment or be unexported (golint)
    • komiser/handlers/aws/acm_handler.go
    • Line 10: warning: exported method AWSHandler.APIGatewayListCertificatesHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.APIGatewayExpiredCertificatesHandler should have comment or be unexported (golint)
    • komiser/handlers/aws/costexplorer_handler.go
    • Line 10: warning: exported method AWSHandler.CostAndUsageHandler should have comment or be unexported (golint)
    • Line 37: warning: exported method AWSHandler.CurrentCostHandler should have comment or be unexported (golint)
    • Line 64: warning: exported method AWSHandler.CostAndUsagePerInstanceTypeHandler should have comment or be unexported (golint)
    • Line 91: warning: exported method AWSHandler.DescribeForecastPriceHandler should have comment or be unexported (golint)
    • komiser/handlers/gcp/handler.go
    • Line 7: warning: should not use dot imports (golint)
    • Line 8: warning: should not use dot imports (golint)
    • Line 11: warning: exported type GCPHandler should have comment or be unexported (golint)
    • Line 16: warning: exported function NewGCPHandler should have comment or be unexported (golint)
    • komiser/services/gcp/billing.go
    • Line 10: warning: should not use dot imports (golint)
    • Line 14: warning: exported method GCP.CostInLastSixMonths should have comment or be unexported (golint)
    • Line 53: warning: exported method GCP.MonthlyCostPerService should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign86%

IneffAssign detects ineffectual assignments in Go code.

    • komiser/handlers/aws/ec2_handler.go
    • Line 12: warning: ineffectual assignment to err (ineffassign)
    • Line 39: warning: ineffectual assignment to err (ineffassign)
    • Line 66: warning: ineffectual assignment to err (ineffassign)
    • Line 93: warning: ineffectual assignment to err (ineffassign)
    • Line 120: warning: ineffectual assignment to err (ineffassign)
    • Line 147: warning: ineffectual assignment to err (ineffassign)
    • komiser/handlers/aws/vpc_handler.go
    • Line 12: warning: ineffectual assignment to err (ineffassign)
    • Line 38: warning: ineffectual assignment to err (ineffassign)
    • Line 65: warning: ineffectual assignment to err (ineffassign)
    • Line 92: warning: ineffectual assignment to err (ineffassign)
    • Line 119: warning: ineffectual assignment to err (ineffassign)
    • Line 146: warning: ineffectual assignment to err (ineffassign)
    • Line 173: warning: ineffectual assignment to err (ineffassign)
    • Line 200: warning: ineffectual assignment to err (ineffassign)
    • Line 227: warning: ineffectual assignment to err (ineffassign)
    • Line 253: warning: ineffectual assignment to err (ineffassign)
    • komiser/handlers/aws/iam_handler.go
    • Line 12: warning: ineffectual assignment to err (ineffassign)
    • Line 39: warning: ineffectual assignment to err (ineffassign)
    • Line 66: warning: ineffectual assignment to err (ineffassign)
    • Line 93: warning: ineffectual assignment to err (ineffassign)
    • Line 120: warning: ineffectual assignment to err (ineffassign)
    • Line 147: warning: ineffectual assignment to err (ineffassign)

misspell99%

Misspell Finds commonly misspelled English words