id: 1 unit: func convertOccurrence() file: pkg/vul/convert/grype/grype.go start line: 64 end line: 150 size: 74 LOC McCabe index: 12 number of parameters: 3 id: 2 unit: func convertNote() file: pkg/vul/convert/grype/grype.go start line: 152 end line: 225 size: 63 LOC McCabe index: 10 number of parameters: 2 id: 3 unit: func convertOccurrence() file: pkg/vul/convert/snyk/snyk.go start line: 124 end line: 192 size: 58 LOC McCabe index: 6 number of parameters: 3 id: 4 unit: func updateDiscoveryOcc() file: pkg/vul/discovery.go start line: 70 end line: 130 size: 55 LOC McCabe index: 8 number of parameters: 5 id: 5 unit: func convertNote() file: pkg/vul/convert/trivy/trivy.go start line: 64 end line: 126 size: 53 LOC McCabe index: 5 number of parameters: 2 id: 6 unit: func convertOccurrence() file: pkg/vul/convert/trivy/trivy.go start line: 129 end line: 194 size: 53 LOC McCabe index: 5 number of parameters: 4 id: 7 unit: func newApp() file: cmd/aactl/cli/cmd.go start line: 47 end line: 101 size: 52 LOC McCabe index: 7 number of parameters: 3 id: 8 unit: func convertNote() file: pkg/vul/convert/snyk/snyk.go start line: 64 end line: 122 size: 49 LOC McCabe index: 6 number of parameters: 2 id: 9 unit: func createOrUpdateOccurrence() file: pkg/vul/import.go start line: 177 end line: 224 size: 42 LOC McCabe index: 8 number of parameters: 5 id: 10 unit: func Convert() file: pkg/attestation/convert/provenance02/convert.go start line: 31 end line: 71 size: 38 LOC McCabe index: 3 number of parameters: 3 id: 11 unit: func deleteNoteOccurrences() file: pkg/vul/delete.go start line: 30 end line: 72 size: 35 LOC McCabe index: 6 number of parameters: 3 id: 12 unit: func postNoteOccurrences() file: pkg/vul/import.go start line: 114 end line: 155 size: 33 LOC McCabe index: 7 number of parameters: 4 id: 13 unit: func Import() file: pkg/vul/import.go start line: 35 end line: 77 size: 32 LOC McCabe index: 9 number of parameters: 2 id: 14 unit: func deleteNoteOccurrences() file: pkg/attestation/import.go start line: 149 end line: 186 size: 31 LOC McCabe index: 5 number of parameters: 3 id: 15 unit: func ToCVSSv3() file: pkg/utils/grafeas.go start line: 180 end line: 212 size: 30 LOC McCabe index: 11 number of parameters: 2 id: 16 unit: func ToCVSS() file: pkg/utils/grafeas.go start line: 214 end line: 246 size: 30 LOC McCabe index: 11 number of parameters: 2 id: 17 unit: func Import() file: pkg/attestation/import.go start line: 37 end line: 70 size: 27 LOC McCabe index: 7 number of parameters: 2 id: 18 unit: func Convert() file: pkg/vul/convert/grype/grype.go start line: 28 end line: 62 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 19 unit: func Convert() file: pkg/vul/convert/trivy/trivy.go start line: 28 end line: 62 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 20 unit: func importEnvelopes() file: pkg/attestation/import.go start line: 72 end line: 102 size: 26 LOC McCabe index: 8 number of parameters: 4 id: 21 unit: func Convert() file: pkg/vul/convert/snyk/snyk.go start line: 28 end line: 62 size: 25 LOC McCabe index: 8 number of parameters: 1 id: 22 unit: func post() file: pkg/vul/import.go start line: 79 end line: 110 size: 25 LOC McCabe index: 5 number of parameters: 3 id: 23 unit: func getPredicateInvocation() file: pkg/attestation/convert/provenance02/convert.go start line: 96 end line: 126 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 24 unit: func ToFloat32() file: pkg/utils/num.go start line: 17 end line: 41 size: 24 LOC McCabe index: 10 number of parameters: 1 id: 25 unit: func GetVerifiedEnvelopes() file: pkg/provenance/envelopes.go start line: 34 end line: 64 size: 24 LOC McCabe index: 6 number of parameters: 2 id: 26 unit: func getCosignOptions() file: pkg/container/attestations.go start line: 28 end line: 54 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 27 unit: func updateDiscoveryNote() file: pkg/vul/discovery.go start line: 44 end line: 68 size: 23 LOC McCabe index: 3 number of parameters: 4 id: 28 unit: func NewFileSource() file: pkg/utils/file.go start line: 24 end line: 47 size: 20 LOC McCabe index: 4 number of parameters: 3 id: 29 unit: func updateDiscoveryNoteAndOcc() file: pkg/vul/discovery.go start line: 19 end line: 42 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 30 unit: func ToGrafeasSeverity() file: pkg/utils/grafeas.go start line: 23 end line: 42 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 31 unit: func() file: pkg/types/vuln.go start line: 42 end line: 63 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 32 unit: func getPredicate() file: pkg/attestation/convert/provenance02/convert.go start line: 73 end line: 94 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: func postNote() file: pkg/attestation/import.go start line: 104 end line: 124 size: 18 LOC McCabe index: 3 number of parameters: 4 id: 34 unit: func postOccurrence() file: pkg/attestation/import.go start line: 126 end line: 145 size: 17 LOC McCabe index: 3 number of parameters: 4 id: 35 unit: func getBasePackageIssue() file: pkg/vul/convert/grype/grype.go start line: 227 end line: 242 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: func getBasePackageIssue() file: pkg/vul/convert/trivy/trivy.go start line: 222 end line: 237 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: func discoverFormat() file: pkg/utils/file.go start line: 63 end line: 85 size: 16 LOC McCabe index: 9 number of parameters: 1 id: 38 unit: func() file: pkg/types/attest.go start line: 37 end line: 56 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 39 unit: func getEnvelope() file: pkg/provenance/envelopes.go start line: 66 end line: 81 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: func VerifyAndGetAttestations() file: pkg/container/attestations.go start line: 56 end line: 75 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 41 unit: func getPredicateMetadata() file: pkg/attestation/convert/provenance02/convert.go start line: 128 end line: 143 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: func initLogging() file: cmd/aactl/main.go start line: 43 end line: 60 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 43 unit: func mergeOccurrences() file: pkg/vul/import.go start line: 157 end line: 175 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 44 unit: func ToGRPCTime() file: pkg/utils/time.go start line: 24 end line: 39 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 45 unit: func toCVSSv3AttackVector() file: pkg/utils/grafeas.go start line: 44 end line: 56 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 46 unit: func toCVSSAttackVector() file: pkg/utils/grafeas.go start line: 58 end line: 70 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 47 unit: func vulnerabilityCmd() file: cmd/aactl/cli/vuln.go start line: 38 end line: 53 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: func GetConverter() file: pkg/vul/convert/convert.go start line: 30 end line: 41 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 49 unit: func ParsePackageType() file: pkg/utils/lang.go start line: 20 end line: 34 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 50 unit: func GetNoteResource() file: pkg/utils/resource.go start line: 27 end line: 39 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: func() file: pkg/types/format.go start line: 35 end line: 46 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 52 unit: func ParseSourceFormat() file: pkg/types/format.go start line: 49 end line: 60 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 53 unit: func attestationCmd() file: cmd/aactl/cli/attest.go start line: 37 end line: 51 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: func toCVSSv3PrivilegesRequired() file: pkg/utils/grafeas.go start line: 92 end line: 102 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 55 unit: func toCVSSPrivilegesRequired() file: pkg/utils/grafeas.go start line: 104 end line: 114 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 56 unit: func toCVSSv3Impact() file: pkg/utils/grafeas.go start line: 156 end line: 166 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 57 unit: func toCVSSImpact() file: pkg/utils/grafeas.go start line: 168 end line: 178 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 58 unit: func AttestationToEnvelope() file: pkg/dsse/dsse.go start line: 31 end line: 43 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 59 unit: func GetDecodedEnvelope() file: pkg/dsse/dsse.go start line: 45 end line: 57 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 60 unit: func getPredicateMaterials() file: pkg/attestation/convert/provenance02/convert.go start line: 145 end line: 155 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: func ToString() file: pkg/utils/string.go start line: 21 end line: 32 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 62 unit: func GetConverter() file: pkg/attestation/convert/convert.go start line: 29 end line: 38 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 63 unit: func getSubject() file: pkg/attestation/convert/provenance02/convert.go start line: 157 end line: 166 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: func getSignatures() file: pkg/attestation/convert/provenance02/convert.go start line: 168 end line: 177 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 65 unit: func Execute() file: cmd/aactl/cli/cmd.go start line: 35 end line: 45 size: 10 LOC McCabe index: 3 number of parameters: 4 id: 66 unit: func makeCPE() file: pkg/vul/convert/trivy/trivy.go start line: 200 end line: 209 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: func toCVSSv3AttackComplexity() file: pkg/utils/grafeas.go start line: 72 end line: 80 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 68 unit: func toCVSSAttackComplexity() file: pkg/utils/grafeas.go start line: 82 end line: 90 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 69 unit: func toCVSSv3UserInteraction() file: pkg/utils/grafeas.go start line: 116 end line: 124 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 70 unit: func toCVSSUserInteraction() file: pkg/utils/grafeas.go start line: 126 end line: 134 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 71 unit: func toCVSSv3Scope() file: pkg/utils/grafeas.go start line: 136 end line: 144 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 72 unit: func toCVSSScope() file: pkg/utils/grafeas.go start line: 146 end line: 154 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 73 unit: func makeCPE() file: pkg/vul/convert/snyk/snyk.go start line: 198 end line: 206 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: func() file: pkg/types/format-sigstore.go start line: 31 end line: 38 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: func ParseSigstoreFormat() file: pkg/types/format-sigstore.go start line: 41 end line: 48 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: func GetSourceFormats() file: pkg/types/format.go start line: 63 end line: 69 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: func GetSourceFormatNames() file: pkg/types/format.go start line: 72 end line: 78 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: func getProvenance() file: pkg/attestation/convert/provenance02/convert.go start line: 179 end line: 186 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: func isQuiet() file: cmd/aactl/cli/cmd.go start line: 103 end line: 110 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: func main() file: cmd/aactl/main.go start line: 35 end line: 41 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 81 unit: func getPackageType() file: pkg/vul/convert/trivy/trivy.go start line: 214 end line: 220 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 82 unit: func GetSigstoreFormats() file: pkg/types/format-sigstore.go start line: 51 end line: 55 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: func GetSigstoreFormatNames() file: pkg/types/format-sigstore.go start line: 58 end line: 62 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: func() file: pkg/utils/resource.go start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: func GetPrefixNoteName() file: pkg/utils/resource.go start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: func printVersion() file: cmd/aactl/cli/cmd.go start line: 112 end line: 114 size: 3 LOC McCabe index: 1 number of parameters: 1