duplicated block id: 1 size: 42 cleaned lines of code in 2 files: - cloudstack/AutoScaleService.go (2908:2951) - cloudstack/NATService.go (535:578) duplicated block id: 2 size: 32 cleaned lines of code in 4 files: - cloudstack/UserService.go (60:93) - cloudstack/NetworkService.go (1469:1502) - cloudstack/VolumeService.go (1331:1364) - cloudstack/UsageService.go (182:215) duplicated block id: 3 size: 31 cleaned lines of code in 2 files: - cloudstack/TemplateService.go (3318:3350) - cloudstack/ISOService.go (2542:2574) duplicated block id: 4 size: 28 cleaned lines of code in 3 files: - cloudstack/PodService.go (470:499) - cloudstack/KubernetesService.go (1341:1370) - cloudstack/ZoneService.go (974:1003) duplicated block id: 5 size: 28 cleaned lines of code in 2 files: - cloudstack/HostService.go (1874:1903) - cloudstack/ClusterService.go (1801:1830) duplicated block id: 6 size: 26 cleaned lines of code in 4 files: - cloudstack/RouterService.go (1124:1151) - cloudstack/InternalLBService.go (237:264) - cloudstack/OvsElementService.go (149:176) - cloudstack/LoadBalancerService.go (3087:3114) duplicated block id: 7 size: 26 cleaned lines of code in 4 files: - cloudstack/PodService.go (54:81) - cloudstack/BaremetalService.go (213:240) - cloudstack/NiciraNVPService.go (41:68) - cloudstack/ConfigurationService.go (733:760) duplicated block id: 8 size: 25 cleaned lines of code in 4 files: - cloudstack/RoleService.go (730:756) - cloudstack/NetworkService.go (4357:4383) - cloudstack/AlertService.go (483:509) - cloudstack/LDAPService.go (1414:1440) duplicated block id: 9 size: 24 cleaned lines of code in 2 files: - cloudstack/ImageStoreService.go (59:84) - cloudstack/VirtualMachineService.go (92:117) duplicated block id: 10 size: 23 cleaned lines of code in 7 files: - cloudstack/TemplateService.go (3519:3543) - cloudstack/StratosphereSSPService.go (39:63) - cloudstack/UsageService.go (1616:1640) - cloudstack/OutofbandManagementService.go (149:173) - cloudstack/ProjectService.go (497:521) - cloudstack/AffinityGroupService.go (50:74) - cloudstack/ClusterService.go (2056:2080) duplicated block id: 11 size: 22 cleaned lines of code in 6 files: - cloudstack/UCSService.go (525:548) - cloudstack/FirewallService.go (2261:2284) - cloudstack/LoadBalancerService.go (4596:4619) - cloudstack/NiciraNVPService.go (316:339) - cloudstack/NetworkService.go (6310:6333) - cloudstack/BigSwitchBCFService.go (281:304) duplicated block id: 12 size: 22 cleaned lines of code in 2 files: - cloudstack/GuestOSService.go (707:730) - cloudstack/HypervisorService.go (44:67) duplicated block id: 13 size: 22 cleaned lines of code in 2 files: - cloudstack/NetworkService.go (4803:4826) - cloudstack/BrocadeVCSService.go (511:534) duplicated block id: 14 size: 21 cleaned lines of code in 2 files: - cloudstack/RoleService.go (58:80) - cloudstack/BigSwitchBCFService.go (41:63) duplicated block id: 15 size: 21 cleaned lines of code in 2 files: - cloudstack/GuestOSService.go (62:84) - cloudstack/ImageStoreService.go (1384:1406) duplicated block id: 16 size: 20 cleaned lines of code in 9 files: - cloudstack/UCSService.go (52:73) - cloudstack/FirewallService.go (131:152) - cloudstack/BaremetalService.go (53:74) - cloudstack/SSHService.go (658:679) - cloudstack/VLANService.go (443:464) - cloudstack/VPNService.go (84:105) - cloudstack/ProjectService.go (200:221) - cloudstack/AffinityGroupService.go (230:251) - cloudstack/SecurityGroupService.go (686:707) duplicated block id: 17 size: 20 cleaned lines of code in 2 files: - cloudstack/NetworkService.go (5047:5068) - cloudstack/VPCService.go (3080:3101) duplicated block id: 18 size: 19 cleaned lines of code in 6 files: - cloudstack/UCSService.go (400:420) - cloudstack/UsageService.go (703:723) - cloudstack/StoragePoolService.go (251:271) - cloudstack/BrocadeVCSService.go (262:282) - cloudstack/HostService.go (1704:1724) - cloudstack/LDAPService.go (1576:1596) duplicated block id: 19 size: 19 cleaned lines of code in 2 files: - cloudstack/NetworkService.go (2432:2452) - cloudstack/PoolService.go (472:492) duplicated block id: 20 size: 18 cleaned lines of code in 2 files: - cloudstack/RoleService.go (1115:1134) - cloudstack/NetworkService.go (120:139) duplicated block id: 21 size: 18 cleaned lines of code in 4 files: - cloudstack/TemplateService.go (70:89) - cloudstack/ISOService.go (330:349) - cloudstack/EventService.go (46:65) - cloudstack/AlertService.go (48:67) duplicated block id: 22 size: 18 cleaned lines of code in 4 files: - cloudstack/SystemVMService.go (672:691) - cloudstack/VolumeService.go (2882:2901) - cloudstack/AnnotationService.go (46:65) - cloudstack/VirtualMachineService.go (4719:4738) duplicated block id: 23 size: 17 cleaned lines of code in 16 files: - cloudstack/RoleService.go (199:217) - cloudstack/AutoScaleService.go (1002:1020) - cloudstack/TemplateService.go (853:871) - cloudstack/VMGroupService.go (48:66) - cloudstack/ISOService.go (887:905) - cloudstack/SwiftService.go (41:59) - cloudstack/SSHService.go (50:68) - cloudstack/LoadBalancerService.go (4748:4766) - cloudstack/NetworkService.go (262:280) - cloudstack/VolumeService.go (1059:1077) - cloudstack/UsageService.go (63:81) - cloudstack/VPNService.go (2856:2874) - cloudstack/NATService.go (392:410) - cloudstack/BrocadeVCSService.go (45:63) - cloudstack/HostService.go (407:425) - cloudstack/DomainService.go (53:71) duplicated block id: 24 size: 16 cleaned lines of code in 6 files: - cloudstack/BaremetalService.go (1145:1162) - cloudstack/ResourcetagsService.go (303:320) - cloudstack/NetworkService.go (2681:2698) - cloudstack/AffinityGroupService.go (377:394) - cloudstack/HostService.go (2053:2070) - cloudstack/ConfigurationService.go (427:444) duplicated block id: 25 size: 16 cleaned lines of code in 3 files: - cloudstack/KubernetesService.go (704:721) - cloudstack/HostService.go (1398:1415) - cloudstack/VirtualMachineService.go (5310:5327) duplicated block id: 26 size: 15 cleaned lines of code in 6 files: - cloudstack/FirewallService.go (2762:2778) - cloudstack/GuestOSService.go (1451:1467) - cloudstack/LoadBalancerService.go (5336:5352) - cloudstack/SnapshotService.go (2361:2377) - cloudstack/VPNService.go (3126:3142) - cloudstack/AddressService.go (980:996) duplicated block id: 27 size: 15 cleaned lines of code in 2 files: - cloudstack/TemplateService.go (740:756) - cloudstack/ISOService.go (61:77) duplicated block id: 28 size: 14 cleaned lines of code in 12 files: - cloudstack/PodService.go (260:275) - cloudstack/UCSService.go (190:205) - cloudstack/TemplateService.go (2149:2164) - cloudstack/ResourcemetadataService.go (536:551) - cloudstack/UsageService.go (578:593) - cloudstack/AccountService.go (748:763) - cloudstack/VPNService.go (2986:3001) - cloudstack/ZoneService.go (432:447) - cloudstack/HostService.go (1276:1291) - cloudstack/NetworkACLService.go (1434:1449) - cloudstack/ClusterService.go (485:500) - cloudstack/DomainService.go (985:1000) duplicated block id: 29 size: 12 cleaned lines of code in 14 files: - cloudstack/RouterService.go (198:211) - cloudstack/InternalLBService.go (53:66) - cloudstack/AutoScaleService.go (1220:1233) - cloudstack/SystemVMService.go (842:855) - cloudstack/ISOService.go (637:650) - cloudstack/OvsElementService.go (42:55) - cloudstack/NetworkService.go (2025:2038) - cloudstack/VolumeService.go (714:727) - cloudstack/VPNService.go (949:962) - cloudstack/ProjectService.go (902:915) - cloudstack/AnnotationService.go (480:493) - cloudstack/PoolService.go (365:378) - cloudstack/VirtualMachineService.go (7053:7066) - cloudstack/DomainService.go (219:232) duplicated block id: 30 size: 12 cleaned lines of code in 2 files: - cloudstack/LoadBalancerService.go (4952:4965) - cloudstack/SnapshotService.go (782:795) duplicated block id: 31 size: 11 cleaned lines of code in 14 files: - cloudstack/RouterService.go (59:71) - cloudstack/NicService.go (43:55) - cloudstack/TemplateService.go (3867:3879) - cloudstack/VMGroupService.go (579:591) - cloudstack/ISOService.go (543:555) - cloudstack/KubernetesService.go (2028:2040) - cloudstack/LoadBalancerService.go (361:373) - cloudstack/NetworkService.go (3989:4001) - cloudstack/VPCService.go (361:373) - cloudstack/AccountService.go (928:940) - cloudstack/OutofbandManagementService.go (41:53) - cloudstack/ProjectService.go (712:724) - cloudstack/HostService.go (845:857) - cloudstack/VirtualMachineService.go (5790:5802) duplicated block id: 32 size: 10 cleaned lines of code in 31 files: - cloudstack/NetworkACLService_mock.go (179:190) - cloudstack/VirtualMachineService_mock.go (218:229) - cloudstack/PoolService_mock.go (143:154) - cloudstack/ServiceOfferingService_mock.go (128:139) - cloudstack/NetworkService_mock.go (386:397) - cloudstack/VPCService_mock.go (260:271) - cloudstack/KubernetesService_mock.go (188:199) - cloudstack/GuestOSService_mock.go (149:160) - cloudstack/AutoScaleService_mock.go (278:289) - cloudstack/VolumeService_mock.go (248:259) - cloudstack/SystemVMService_mock.go (128:139) - cloudstack/PodService_mock.go (143:154) - cloudstack/ClusterService_mock.go (203:214) - cloudstack/ImageStoreService_mock.go (173:184) - cloudstack/HostService_mock.go (278:289) - cloudstack/SnapshotService_mock.go (188:199) - cloudstack/NetworkOfferingService_mock.go (128:139) - cloudstack/SSHService_mock.go (128:139) - cloudstack/AffinityGroupService_mock.go (128:139) - cloudstack/InfrastructureUsageService_mock.go (98:109) - cloudstack/DomainService_mock.go (170:181) - cloudstack/VMGroupService_mock.go (128:139) - cloudstack/DiskOfferingService_mock.go (128:139) - cloudstack/RoleService_mock.go (158:169) - cloudstack/ProjectService_mock.go (248:259) - cloudstack/ZoneService_mock.go (203:214) - cloudstack/AlertService_mock.go (143:154) - cloudstack/LoadBalancerService_mock.go (458:469) - cloudstack/InternalLBService_mock.go (149:160) - cloudstack/RouterService_mock.go (158:169) - cloudstack/AccountService_mock.go (158:169) duplicated block id: 33 size: 10 cleaned lines of code in 2 files: - cloudstack/VirtualMachineService_mock.go (176:187) - cloudstack/LoadBalancerService_mock.go (542:553) duplicated block id: 34 size: 10 cleaned lines of code in 10 files: - cloudstack/UCSService_mock.go (143:154) - cloudstack/SwiftService_mock.go (71:82) - cloudstack/NetworkService_mock.go (365:376) - cloudstack/ResourcetagsService_mock.go (86:97) - cloudstack/KubernetesService_mock.go (251:262) - cloudstack/GuestOSService_mock.go (212:223) - cloudstack/VPNService_mock.go (275:286) - cloudstack/HostService_mock.go (299:310) - cloudstack/SecurityGroupService_mock.go (158:169) - cloudstack/LoadBalancerService_mock.go (353:364) duplicated block id: 35 size: 9 cleaned lines of code in 2 files: - cloudstack/RegionService.go (289:299) - cloudstack/UsageService.go (1527:1537) duplicated block id: 36 size: 8 cleaned lines of code in 53 files: - cloudstack/RouterService.go (410:419) - cloudstack/PodService.go (382:391) - cloudstack/NicService.go (356:365) - cloudstack/InternalLBService.go (155:164) - cloudstack/UCSService.go (312:321) - cloudstack/RoleService.go (323:332) - cloudstack/CloudIdentifierService.go (36:45) - cloudstack/AutoScaleService.go (1144:1153) - cloudstack/FirewallService.go (1255:1264) - cloudstack/TemplateService.go (1463:1472) - cloudstack/SystemVMService.go (193:202) - cloudstack/VMGroupService.go (170:179) - cloudstack/GuestOSService.go (1173:1182) - cloudstack/BaremetalService.go (683:692) - cloudstack/ISOService.go (1035:1044) - cloudstack/StratosphereSSPService.go (194:203) - cloudstack/KubernetesService.go (818:827) - cloudstack/NetworkDeviceService.go (123:132) - cloudstack/APIDiscoveryService.go (36:45) - cloudstack/PortableIPService.go (239:248) - cloudstack/UserService.go (296:305) - cloudstack/ResourcemetadataService.go (181:190) - cloudstack/LoadBalancerService.go (2170:2179) - cloudstack/ServiceOfferingService.go (1029:1038) - cloudstack/NiciraNVPService.go (240:249) - cloudstack/NetworkService.go (2120:2129) - cloudstack/VolumeService.go (626:635) - cloudstack/VPCService.go (1187:1196) - cloudstack/UsageService.go (414:423) - cloudstack/SnapshotService.go (706:715) - cloudstack/VLANService.go (588:597) - cloudstack/AccountService.go (452:461) - cloudstack/VPNService.go (1058:1067) - cloudstack/AddressService.go (326:335) - cloudstack/ProjectService.go (75:84) - cloudstack/BigSwitchBCFService.go (205:214) - cloudstack/ImageStoreService.go (617:626) - cloudstack/AnnotationService.go (407:416) - cloudstack/PoolService.go (985:994) - cloudstack/AsyncjobService.go (266:275) - cloudstack/NATService.go (240:249) - cloudstack/DiskOfferingService.go (713:722) - cloudstack/LimitService.go (347:356) - cloudstack/ZoneService.go (554:563) - cloudstack/StoragePoolService.go (41:50) - cloudstack/NetworkOfferingService.go (622:631) - cloudstack/BrocadeVCSService.go (186:195) - cloudstack/HostService.go (934:943) - cloudstack/NetworkACLService.go (518:527) - cloudstack/HypervisorService.go (223:232) - cloudstack/ClusterService.go (607:616) - cloudstack/SecurityGroupService.go (1384:1393) - cloudstack/VirtualMachineService.go (2577:2586)