Preparing report...

Report for github.com/jeremmfr/terraform-provider-junos

(v1.33.0)

A+    Excellent!    Found 84 issues across 244 files

Tweet

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!


gofmt100%

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

No problems detected. Good job!


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


gocyclo65%

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.

    • junos/resource_igmp_snooping_vlan.go
    • Line 480: warning: cyclomatic complexity 25 of function readIgmpSnoopingVlan() is high (> 15) (gocyclo)
    • Line 406: warning: cyclomatic complexity 20 of function setIgmpSnoopingVlan() is high (> 15) (gocyclo)
    • Line 156: warning: cyclomatic complexity 16 of function resourceIgmpSnoopingVlanCreate() is high (> 15) (gocyclo)
    • junos/resource_interface_physical.go
    • Line 888: warning: cyclomatic complexity 59 of function setInterfacePhysical() is high (> 15) (gocyclo)
    • Line 1397: warning: cyclomatic complexity 48 of function (*interfacePhysicalOptions).readInterfacePhysicalParentEtherOpts() is high (> 15) (gocyclo)
    • Line 1106: warning: cyclomatic complexity 34 of function setInterfacePhysicalParentEtherOpts() is high (> 15) (gocyclo)
    • Line 1223: warning: cyclomatic complexity 29 of function readInterfacePhysical() is high (> 15) (gocyclo)
    • Line 1559: warning: cyclomatic complexity 26 of function delInterfacePhysical() is high (> 15) (gocyclo)
    • Line 1691: warning: cyclomatic complexity 23 of function fillInterfacePhysicalData() is high (> 15) (gocyclo)
    • Line 501: warning: cyclomatic complexity 18 of function resourceInterfacePhysicalCreate() is high (> 15) (gocyclo)
    • junos/resource_ospf.go
    • Line 637: warning: cyclomatic complexity 69 of function readOspf() is high (> 15) (gocyclo)
    • Line 487: warning: cyclomatic complexity 48 of function setOspf() is high (> 15) (gocyclo)
    • Line 894: warning: cyclomatic complexity 23 of function fillOspfData() is high (> 15) (gocyclo)
    • junos/resource_security_screen.go
    • Line 1360: warning: cyclomatic complexity 64 of function (*screenOptions).readSecurityScreenIP() is high (> 15) (gocyclo)
    • Line 909: warning: cyclomatic complexity 63 of function setSecurityScreenIP() is high (> 15) (gocyclo)
    • Line 1592: warning: cyclomatic complexity 35 of function (*screenOptions).readSecurityScreenTCP() is high (> 15) (gocyclo)
    • Line 1106: warning: cyclomatic complexity 29 of function setSecurityScreenTCP() is high (> 15) (gocyclo)
    • Line 1248: warning: cyclomatic complexity 22 of function readSecurityScreen() is high (> 15) (gocyclo)
    • Line 809: warning: cyclomatic complexity 16 of function setSecurityScreen() is high (> 15) (gocyclo)
    • junos/resource_security_idp_policy.go
    • Line 741: warning: cyclomatic complexity 63 of function readSecurityIdpPolicy() is high (> 15) (gocyclo)
    • Line 584: warning: cyclomatic complexity 59 of function setSecurityIdpPolicyIpsRule() is high (> 15) (gocyclo)
    • Line 525: warning: cyclomatic complexity 19 of function setSecurityIdpPolicyExemptRule() is high (> 15) (gocyclo)
    • junos/func_resource_forwardingoptions_dhcprelay.go
    • Line 972: warning: cyclomatic complexity 52 of function setForwardingOptionsDhcpRelayOption() is high (> 15) (gocyclo)
    • Line 1554: warning: cyclomatic complexity 42 of function readForwardingOptionsDhcpRelayOption() is high (> 15) (gocyclo)
    • Line 1751: warning: cyclomatic complexity 30 of function readForwardingOptionsDhcpRelayOption82() is high (> 15) (gocyclo)
    • Line 688: warning: cyclomatic complexity 29 of function setForwardingOptionsDhcpRelayAuthUsernameInclude() is high (> 15) (gocyclo)
    • Line 1183: warning: cyclomatic complexity 28 of function setForwardingOptionsDhcpRelayOption82() is high (> 15) (gocyclo)
    • Line 781: warning: cyclomatic complexity 26 of function setForwardingOptionsDhcpRelayOverridesV4() is high (> 15) (gocyclo)
    • Line 1435: warning: cyclomatic complexity 24 of function readForwardingOptionsDhcpRelayOverridesV4() is high (> 15) (gocyclo)
    • Line 1388: warning: cyclomatic complexity 20 of function readForwardingOptionsDhcpRelayAuthUsernameInclude() is high (> 15) (gocyclo)
    • Line 921: warning: cyclomatic complexity 17 of function setForwardingOptionsDhcpRelayAgentID() is high (> 15) (gocyclo)
    • Line 866: warning: cyclomatic complexity 16 of function setForwardingOptionsDhcpRelayOverridesV6() is high (> 15) (gocyclo)
    • junos/resource_services.go
    • Line 1621: warning: cyclomatic complexity 51 of function (*servicesOptions).readServicesUserIdentification() is high (> 15) (gocyclo)
    • Line 1458: warning: cyclomatic complexity 46 of function (*servicesOptions).readServicesApplicationIdentification() is high (> 15) (gocyclo)
    • Line 1060: warning: cyclomatic complexity 34 of function setServicesUserIdentification() is high (> 15) (gocyclo)
    • Line 907: warning: cyclomatic complexity 32 of function setServicesApplicationIdentification() is high (> 15) (gocyclo)
    • Line 812: warning: cyclomatic complexity 30 of function setServicesAdvancedAntiMalware() is high (> 15) (gocyclo)
    • Line 1313: warning: cyclomatic complexity 28 of function (*servicesOptions).readServicesAdvancedAntiMalware() is high (> 15) (gocyclo)
    • junos/resource_security_policy.go
    • Line 513: warning: cyclomatic complexity 22 of function readSecurityPolicy() is high (> 15) (gocyclo)
    • Line 434: warning: cyclomatic complexity 21 of function setSecurityPolicy() is high (> 15) (gocyclo)
    • Line 725: warning: cyclomatic complexity 20 of function setPolicyPermitApplicationServices() is high (> 15) (gocyclo)
    • Line 674: warning: cyclomatic complexity 16 of function readPolicyPermitApplicationServices() is high (> 15) (gocyclo)
    • junos/resource_system_services_dhcp_localserver_group.go
    • Line 1059: warning: cyclomatic complexity 92 of function setSystemServicesDhcpLocalServerGroup() is high (> 15) (gocyclo)
    • Line 1571: warning: cyclomatic complexity 89 of function readSystemServicesDhcpLocalServerGroup() is high (> 15) (gocyclo)
    • Line 2092: warning: cyclomatic complexity 28 of function fillSystemServicesDhcpLocalServerGroupData() is high (> 15) (gocyclo)
    • Line 1347: warning: cyclomatic complexity 26 of function setSystemServicesDhcpLocalServerGroupInterface() is high (> 15) (gocyclo)
    • Line 1498: warning: cyclomatic complexity 22 of function setSystemServicesDhcpLocalServerGroupOverridesV6() is high (> 15) (gocyclo)
    • Line 2017: warning: cyclomatic complexity 20 of function readSystemServicesDhcpLocalServerGroupOverridesV6() is high (> 15) (gocyclo)
    • Line 1861: warning: cyclomatic complexity 20 of function readSystemServicesDhcpLocalServerGroupInterface() is high (> 15) (gocyclo)
    • Line 1434: warning: cyclomatic complexity 19 of function setSystemServicesDhcpLocalServerGroupOverridesV4() is high (> 15) (gocyclo)
    • Line 1967: warning: cyclomatic complexity 17 of function readSystemServicesDhcpLocalServerGroupOverridesV4() is high (> 15) (gocyclo)
    • Line 749: warning: cyclomatic complexity 16 of function resourceSystemServicesDhcpLocalServerGroupCreate() is high (> 15) (gocyclo)
    • junos/resource_routing_instance.go
    • Line 423: warning: cyclomatic complexity 21 of function readRoutingInstance() is high (> 15) (gocyclo)
    • Line 365: warning: cyclomatic complexity 18 of function setRoutingInstance() is high (> 15) (gocyclo)
    • Line 509: warning: cyclomatic complexity 18 of function fillRoutingInstanceData() is high (> 15) (gocyclo)
    • junos/resource_interface.go
    • Line 1120: warning: cyclomatic complexity 52 of function readInterface() is high (> 15) (gocyclo)
    • Line 952: warning: cyclomatic complexity 47 of function setInterface() is high (> 15) (gocyclo)
    • Line 619: warning: cyclomatic complexity 38 of function resourceInterfaceUpdate() is high (> 15) (gocyclo)
    • Line 434: warning: cyclomatic complexity 31 of function resourceInterfaceCreate() is high (> 15) (gocyclo)
    • Line 1537: warning: cyclomatic complexity 29 of function readFamilyInetAddressOld() is high (> 15) (gocyclo)
    • Line 1270: warning: cyclomatic complexity 28 of function delInterface() is high (> 15) (gocyclo)
    • Line 1636: warning: cyclomatic complexity 27 of function setFamilyAddressOld() is high (> 15) (gocyclo)
    • Line 1824: warning: cyclomatic complexity 26 of function checkResourceInterfaceConfigAndName() is high (> 15) (gocyclo)
    • Line 1462: warning: cyclomatic complexity 25 of function fillInterfaceData() is high (> 15) (gocyclo)
    • Line 859: warning: cyclomatic complexity 16 of function checkInterfaceNC() is high (> 15) (gocyclo)
    • junos/resource_bgp_neighbor.go
    • Line 989: warning: cyclomatic complexity 51 of function fillBgpNeighborData() is high (> 15) (gocyclo)
    • Line 883: warning: cyclomatic complexity 21 of function readBgpNeighbor() is high (> 15) (gocyclo)
    • Line 599: warning: cyclomatic complexity 16 of function resourceBgpNeighborCreate() is high (> 15) (gocyclo)
    • junos/resource_aggregate_route.go
    • Line 472: warning: cyclomatic complexity 25 of function readAggregateRoute() is high (> 15) (gocyclo)
    • Line 405: warning: cyclomatic complexity 18 of function setAggregateRoute() is high (> 15) (gocyclo)
    • Line 573: warning: cyclomatic complexity 17 of function fillAggregateRouteData() is high (> 15) (gocyclo)
    • junos/resource_interface_logical.go
    • Line 1270: warning: cyclomatic complexity 71 of function readInterfaceLogical() is high (> 15) (gocyclo)
    • Line 1105: warning: cyclomatic complexity 49 of function setInterfaceLogical() is high (> 15) (gocyclo)
    • Line 1865: warning: cyclomatic complexity 34 of function setFamilyAddress() is high (> 15) (gocyclo)
    • Line 848: warning: cyclomatic complexity 32 of function resourceInterfaceLogicalUpdate() is high (> 15) (gocyclo)
    • Line 1662: warning: cyclomatic complexity 30 of function readFamilyInetAddress() is high (> 15) (gocyclo)
    • Line 689: warning: cyclomatic complexity 26 of function resourceInterfaceLogicalCreate() is high (> 15) (gocyclo)
    • Line 1767: warning: cyclomatic complexity 23 of function readFamilyInetDhcp() is high (> 15) (gocyclo)
    • Line 1988: warning: cyclomatic complexity 20 of function setFamilyInetDhcp() is high (> 15) (gocyclo)
    • Line 1822: warning: cyclomatic complexity 16 of function readFamilyInet6Dhcpv6Client() is high (> 15) (gocyclo)
    • junos/resource_forwardingoptions_dhcprelay_group.go
    • Line 869: warning: cyclomatic complexity 99 of function setForwardingOptionsDhcpRelayGroup() is high (> 15) (gocyclo)
    • Line 1300: warning: cyclomatic complexity 93 of function readForwardingOptionsDhcpRelayGroup() is high (> 15) (gocyclo)
    • Line 1673: warning: cyclomatic complexity 44 of function fillForwardingOptionsDhcpRelayGroupData() is high (> 15) (gocyclo)
    • Line 1213: warning: cyclomatic complexity 26 of function setForwardingOptionsDhcpRelayGroupInterface() is high (> 15) (gocyclo)
    • Line 1590: warning: cyclomatic complexity 20 of function readForwardingOptionsDhcpRelayGroupInterface() is high (> 15) (gocyclo)
    • Line 577: warning: cyclomatic complexity 16 of function resourceForwardingOptionsDhcpRelayGroupCreate() is high (> 15) (gocyclo)
    • junos/resource_services_flowmonitoring_vipfix_template.go
    • Line 413: warning: cyclomatic complexity 31 of function readServicesFlowMonitoringVIPFixTemplate() is high (> 15) (gocyclo)
    • Line 353: warning: cyclomatic complexity 19 of function setServicesFlowMonitoringVIPFixTemplate() is high (> 15) (gocyclo)
    • Line 510: warning: cyclomatic complexity 16 of function fillServicesFlowMonitoringVIPFixTemplateData() is high (> 15) (gocyclo)
    • junos/resource_rstp.go
    • Line 395: warning: cyclomatic complexity 29 of function readRstp() is high (> 15) (gocyclo)
    • Line 332: warning: cyclomatic complexity 18 of function setRstp() is high (> 15) (gocyclo)
    • Line 531: warning: cyclomatic complexity 16 of function fillRstpData() is high (> 15) (gocyclo)
    • junos/resource_security_zone.go
    • Line 480: warning: cyclomatic complexity 32 of function setSecurityZone() is high (> 15) (gocyclo)
    • Line 604: warning: cyclomatic complexity 30 of function readSecurityZone() is high (> 15) (gocyclo)
    • Line 773: warning: cyclomatic complexity 17 of function fillSecurityZoneData() is high (> 15) (gocyclo)
    • junos/resource_rip_group.go
    • Line 487: warning: cyclomatic complexity 26 of function setRipGroup() is high (> 15) (gocyclo)
    • Line 575: warning: cyclomatic complexity 24 of function readRipGroup() is high (> 15) (gocyclo)
    • Line 170: warning: cyclomatic complexity 20 of function resourceRipGroupCreate() is high (> 15) (gocyclo)
    • Line 664: warning: cyclomatic complexity 18 of function readRipGroupBfd() is high (> 15) (gocyclo)
    • junos/resource_eventoptions_policy.go
    • Line 675: warning: cyclomatic complexity 57 of function setEventoptionsPolicy() is high (> 15) (gocyclo)
    • Line 963: warning: cyclomatic complexity 55 of function readEventoptionsPolicyThen() is high (> 15) (gocyclo)
    • Line 878: warning: cyclomatic complexity 19 of function readEventoptionsPolicy() is high (> 15) (gocyclo)
    • junos/resource_bgp_group.go
    • Line 976: warning: cyclomatic complexity 51 of function fillBgpGroupData() is high (> 15) (gocyclo)
    • Line 874: warning: cyclomatic complexity 21 of function readBgpGroup() is high (> 15) (gocyclo)
    • junos/resource_system_syslog_file.go
    • Line 568: warning: cyclomatic complexity 45 of function readSystemSyslogFile() is high (> 15) (gocyclo)
    • Line 441: warning: cyclomatic complexity 37 of function setSystemSyslogFile() is high (> 15) (gocyclo)
    • Line 706: warning: cyclomatic complexity 23 of function fillSystemSyslogFileData() is high (> 15) (gocyclo)
    • junos/resource_services_advanced_anti_malware_policy.go
    • Line 418: warning: cyclomatic complexity 23 of function readServicesAdvancedAntiMalwarePolicy() is high (> 15) (gocyclo)
    • Line 485: warning: cyclomatic complexity 19 of function fillServicesAdvancedAntiMalwarePolicyData() is high (> 15) (gocyclo)
    • Line 359: warning: cyclomatic complexity 18 of function setServicesAdvancedAntiMalwarePolicy() is high (> 15) (gocyclo)
    • junos/resource_system_syslog_host.go
    • Line 486: warning: cyclomatic complexity 34 of function readSystemSyslogHost() is high (> 15) (gocyclo)
    • Line 397: warning: cyclomatic complexity 28 of function setSystemSyslogHost() is high (> 15) (gocyclo)
    • Line 576: warning: cyclomatic complexity 27 of function fillSystemSyslogHostData() is high (> 15) (gocyclo)
    • junos/resource_forwardingoptions_dhcprelay.go
    • Line 777: warning: cyclomatic complexity 125 of function setForwardingOptionsDhcpRelay() is high (> 15) (gocyclo)
    • Line 1193: warning: cyclomatic complexity 120 of function readForwardingOptionsDhcpRelay() is high (> 15) (gocyclo)
    • Line 1600: warning: cyclomatic complexity 53 of function fillForwardingOptionsDhcpRelayData() is high (> 15) (gocyclo)
    • junos/resource_vlan.go
    • Line 438: warning: cyclomatic complexity 37 of function readVlan() is high (> 15) (gocyclo)
    • Line 370: warning: cyclomatic complexity 19 of function setVlan() is high (> 15) (gocyclo)
    • junos/resource_system_login_class.go
    • Line 472: warning: cyclomatic complexity 31 of function readSystemLoginClass() is high (> 15) (gocyclo)
    • Line 554: warning: cyclomatic complexity 26 of function fillSystemLoginClassData() is high (> 15) (gocyclo)
    • Line 392: warning: cyclomatic complexity 25 of function setSystemLoginClass() is high (> 15) (gocyclo)
    • junos/resource_evpn.go
    • Line 391: warning: cyclomatic complexity 27 of function readEvpn() is high (> 15) (gocyclo)
    • Line 329: warning: cyclomatic complexity 17 of function setEvpn() is high (> 15) (gocyclo)
    • junos/resource_vstp_vlan_group.go
    • Line 392: warning: cyclomatic complexity 17 of function readVstpVlanGroup() is high (> 15) (gocyclo)
    • Line 92: warning: cyclomatic complexity 16 of function resourceVstpVlanGroupCreate() is high (> 15) (gocyclo)
    • junos/resource_rstp_interface.go
    • Line 387: warning: cyclomatic complexity 17 of function readRstpInterface() is high (> 15) (gocyclo)
    • Line 99: warning: cyclomatic complexity 16 of function resourceRstpInterfaceCreate() is high (> 15) (gocyclo)
    • junos/resource_policyoptions_policy_statement.go
    • Line 1343: warning: cyclomatic complexity 48 of function readPolicyStatementOptsFrom() is high (> 15) (gocyclo)
    • Line 1071: warning: cyclomatic complexity 38 of function setPolicyStatementOptsFrom() is high (> 15) (gocyclo)
    • Line 930: warning: cyclomatic complexity 25 of function readPolicyStatement() is high (> 15) (gocyclo)
    • Line 1497: warning: cyclomatic complexity 23 of function readPolicyStatementOptsThen() is high (> 15) (gocyclo)
    • Line 1591: warning: cyclomatic complexity 19 of function readPolicyStatementOptsTo() is high (> 15) (gocyclo)
    • Line 697: warning: cyclomatic complexity 19 of function resourcePolicyoptionsPolicyStatementUpdate() is high (> 15) (gocyclo)
    • Line 859: warning: cyclomatic complexity 19 of function setPolicyStatement() is high (> 15) (gocyclo)
    • Line 1210: warning: cyclomatic complexity 18 of function setPolicyStatementOptsThen() is high (> 15) (gocyclo)
    • Line 1290: warning: cyclomatic complexity 16 of function setPolicyStatementOptsTo() is high (> 15) (gocyclo)
    • junos/resource_ospf_area.go
    • Line 1094: warning: cyclomatic complexity 63 of function setOspfAreaInterface() is high (> 15) (gocyclo)
    • Line 1305: warning: cyclomatic complexity 63 of function readOspfArea() is high (> 15) (gocyclo)
    • Line 1572: warning: cyclomatic complexity 57 of function readOspfAreaInterface() is high (> 15) (gocyclo)
    • Line 903: warning: cyclomatic complexity 49 of function setOspfArea() is high (> 15) (gocyclo)
    • Line 1757: warning: cyclomatic complexity 21 of function readOspfAreaInterfaceBfd() is high (> 15) (gocyclo)
    • Line 1843: warning: cyclomatic complexity 16 of function fillOspfAreaData() is high (> 15) (gocyclo)
    • junos/resource_generate_route.go
    • Line 481: warning: cyclomatic complexity 26 of function readGenerateRoute() is high (> 15) (gocyclo)
    • Line 584: warning: cyclomatic complexity 19 of function fillGenerateRouteData() is high (> 15) (gocyclo)
    • Line 412: warning: cyclomatic complexity 19 of function setGenerateRoute() is high (> 15) (gocyclo)
    • junos/resource_security_ipsec_vpn.go
    • Line 470: warning: cyclomatic complexity 25 of function readIpsecVpn() is high (> 15) (gocyclo)
    • Line 259: warning: cyclomatic complexity 19 of function resourceIpsecVpnUpdate() is high (> 15) (gocyclo)
    • Line 405: warning: cyclomatic complexity 16 of function setIpsecVpn() is high (> 15) (gocyclo)
    • Line 151: warning: cyclomatic complexity 16 of function resourceIpsecVpnCreate() is high (> 15) (gocyclo)
    • junos/resource_system.go
    • Line 1981: warning: cyclomatic complexity 78 of function readSystem() is high (> 15) (gocyclo)
    • Line 1151: warning: cyclomatic complexity 64 of function setSystem() is high (> 15) (gocyclo)
    • Line 1355: warning: cyclomatic complexity 56 of function setSystemServices() is high (> 15) (gocyclo)
    • Line 2224: warning: cyclomatic complexity 43 of function (*systemOptions).readSystemLogin() is high (> 15) (gocyclo)
    • Line 2369: warning: cyclomatic complexity 38 of function (*systemOptions).readSystemInternetOptions() is high (> 15) (gocyclo)
    • Line 1741: warning: cyclomatic complexity 38 of function setSystemSyslog() is high (> 15) (gocyclo)
    • Line 2783: warning: cyclomatic complexity 34 of function (*systemOptions).readSystemSyslog() is high (> 15) (gocyclo)
    • Line 1531: warning: cyclomatic complexity 34 of function setSystemInternetOptions() is high (> 15) (gocyclo)
    • Line 2632: warning: cyclomatic complexity 29 of function (*systemOptions).readSystemServicesSSH() is high (> 15) (gocyclo)
    • Line 2897: warning: cyclomatic complexity 28 of function fillSystem() is high (> 15) (gocyclo)
    • Line 1636: warning: cyclomatic complexity 28 of function setSystemLogin() is high (> 15) (gocyclo)
    • Line 2536: warning: cyclomatic complexity 16 of function (*systemOptions).readSystemServicesNetconfTraceOpts() is high (> 15) (gocyclo)
    • junos/resource_forwardingoptions_sampling_instance.go
    • Line 1222: warning: cyclomatic complexity 39 of function readForwardingOptionsSamplingInstanceOutput() is high (> 15) (gocyclo)
    • Line 953: warning: cyclomatic complexity 37 of function setForwardingOptionsSamplingInstanceOutput() is high (> 15) (gocyclo)
    • Line 1073: warning: cyclomatic complexity 28 of function readForwardingOptionsSamplingInstance() is high (> 15) (gocyclo)
    • Line 849: warning: cyclomatic complexity 19 of function setForwardingOptionsSamplingInstance() is high (> 15) (gocyclo)
    • junos/resource_snmp.go
    • Line 419: warning: cyclomatic complexity 34 of function readSnmp() is high (> 15) (gocyclo)
    • Line 320: warning: cyclomatic complexity 23 of function setSnmp() is high (> 15) (gocyclo)
    • junos/resource_security_global_policy.go
    • Line 439: warning: cyclomatic complexity 23 of function readSecurityGlobalPolicy() is high (> 15) (gocyclo)
    • Line 365: warning: cyclomatic complexity 21 of function setSecurityGlobalPolicy() is high (> 15) (gocyclo)
    • Line 606: warning: cyclomatic complexity 20 of function setGlobalPolicyPermitApplicationServices() is high (> 15) (gocyclo)
    • Line 555: warning: cyclomatic complexity 16 of function readGlobalPolicyPermitApplicationServices() is high (> 15) (gocyclo)
    • junos/resource_vstp_vlan.go
    • Line 87: warning: cyclomatic complexity 16 of function resourceVstpVlanCreate() is high (> 15) (gocyclo)
    • Line 370: warning: cyclomatic complexity 16 of function readVstpVlan() is high (> 15) (gocyclo)
    • junos/func_resource_bgp.go
    • Line 275: warning: cyclomatic complexity 55 of function (*bgpOptions).readBgpOptsSimple() is high (> 15) (gocyclo)
    • Line 121: warning: cyclomatic complexity 49 of function setBgpOptsSimple() is high (> 15) (gocyclo)
    • Line 478: warning: cyclomatic complexity 20 of function readBgpOptsBfd() is high (> 15) (gocyclo)
    • Line 609: warning: cyclomatic complexity 19 of function readBgpOptsFamily() is high (> 15) (gocyclo)
    • Line 415: warning: cyclomatic complexity 17 of function setBgpOptsBfd() is high (> 15) (gocyclo)
    • junos/resource_security_idp_custom_attack.go
    • Line 2082: warning: cyclomatic complexity 41 of function readSecurityIdpCustomAttackTypeSignatureProtoTCP() is high (> 15) (gocyclo)
    • Line 1123: warning: cyclomatic complexity 34 of function setSecurityIdpCustomAttackTypeSignature() is high (> 15) (gocyclo)
    • Line 2014: warning: cyclomatic complexity 28 of function readSecurityIdpCustomAttackTypeSignatureProtoIPv6() is high (> 15) (gocyclo)
    • Line 1407: warning: cyclomatic complexity 28 of function setSecurityIdpCustomAttackTypeSignatureProtoTCP() is high (> 15) (gocyclo)
    • Line 1694: warning: cyclomatic complexity 27 of function readSecurityIdpCustomAttackTypeSignature() is high (> 15) (gocyclo)
    • Line 1948: warning: cyclomatic complexity 27 of function readSecurityIdpCustomAttackTypeSignatureProtoIPv4() is high (> 15) (gocyclo)
    • Line 1030: warning: cyclomatic complexity 21 of function setSecurityIdpCustomAttack() is high (> 15) (gocyclo)
    • Line 1335: warning: cyclomatic complexity 21 of function setSecurityIdpCustomAttackTypeSignatureProtoIPv6() is high (> 15) (gocyclo)
    • Line 1270: warning: cyclomatic complexity 20 of function setSecurityIdpCustomAttackTypeSignatureProtoIPv4() is high (> 15) (gocyclo)
    • Line 1528: warning: cyclomatic complexity 19 of function readSecurityIdpCustomAttack() is high (> 15) (gocyclo)
    • Line 1899: warning: cyclomatic complexity 19 of function readSecurityIdpCustomAttackTypeSignatureProtoICMP() is high (> 15) (gocyclo)
    • junos/resource_static_route.go
    • Line 594: warning: cyclomatic complexity 40 of function readStaticRoute() is high (> 15) (gocyclo)
    • Line 476: warning: cyclomatic complexity 32 of function setStaticRoute() is high (> 15) (gocyclo)
    • Line 735: warning: cyclomatic complexity 27 of function fillStaticRouteData() is high (> 15) (gocyclo)
    • junos/resource_access_address_assignment_pool.go
    • Line 1132: warning: cyclomatic complexity 59 of function readAccessAddressAssignPoolFamily() is high (> 15) (gocyclo)
    • Line 919: warning: cyclomatic complexity 44 of function setAccessAddressAssignPoolFamilyDhcpAttributes() is high (> 15) (gocyclo)
    • Line 771: warning: cyclomatic complexity 41 of function setAccessAddressAssignPoolFamily() is high (> 15) (gocyclo)
    • junos/resource_rip_neighbor.go
    • Line 744: warning: cyclomatic complexity 39 of function readRipNeighbor() is high (> 15) (gocyclo)
    • Line 614: warning: cyclomatic complexity 38 of function setRipNeighbor() is high (> 15) (gocyclo)
    • Line 945: warning: cyclomatic complexity 24 of function fillRipNeighborData() is high (> 15) (gocyclo)
    • Line 277: warning: cyclomatic complexity 23 of function resourceRipNeighborCreate() is high (> 15) (gocyclo)
    • Line 877: warning: cyclomatic complexity 18 of function readRipNeighborBfd() is high (> 15) (gocyclo)
    • junos/resource_firewall_filter.go
    • Line 633: warning: cyclomatic complexity 48 of function setFirewallFilterOptsFrom() is high (> 15) (gocyclo)
    • Line 795: warning: cyclomatic complexity 31 of function readFirewallFilterOptsFrom() is high (> 15) (gocyclo)
    • junos/resource_vstp_interface.go
    • Line 187: warning: cyclomatic complexity 34 of function resourceVstpInterfaceCreate() is high (> 15) (gocyclo)
    • Line 630: warning: cyclomatic complexity 23 of function readVstpInterface() is high (> 15) (gocyclo)
    • junos/resource_security.go
    • Line 1925: warning: cyclomatic complexity 70 of function (*securityOptions).readSecurityFlow() is high (> 15) (gocyclo)
    • Line 1197: warning: cyclomatic complexity 61 of function setSecurityFlow() is high (> 15) (gocyclo)
    • Line 1004: warning: cyclomatic complexity 39 of function setSecurity() is high (> 15) (gocyclo)
    • Line 2397: warning: cyclomatic complexity 30 of function (*securityOptions).readSecurityLog() is high (> 15) (gocyclo)
    • Line 1785: warning: cyclomatic complexity 29 of function readSecurity() is high (> 15) (gocyclo)
    • Line 2230: warning: cyclomatic complexity 28 of function (*securityOptions).readSecurityIdpSensorConfig() is high (> 15) (gocyclo)
    • Line 1568: warning: cyclomatic complexity 24 of function setSecurityLog() is high (> 15) (gocyclo)
    • Line 2328: warning: cyclomatic complexity 19 of function (*securityOptions).readSecurityIkeTraceOptions() is high (> 15) (gocyclo)
    • Line 1454: warning: cyclomatic complexity 18 of function setSecurityIdpSensorConfig() is high (> 15) (gocyclo)
    • Line 1143: warning: cyclomatic complexity 16 of function setSecurityAlg() is high (> 15) (gocyclo)
    • Line 1861: warning: cyclomatic complexity 16 of function (*securityOptions).readSecurityAlg() is high (> 15) (gocyclo)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell99%

Misspell Finds commonly misspelled English words