mirror of
https://github.com/Dvorinka/Devour.git
synced 2026-06-04 12:33:04 +00:00
11171 lines
445 KiB
JSON
11171 lines
445 KiB
JSON
{
|
|
"findings": [
|
|
{
|
|
"id": "god_struct::internal/quality/enhanced_types.go::LanguagePotentials",
|
|
"type": "god_struct",
|
|
"title": "God struct detected: LanguagePotentials",
|
|
"description": "Struct 'LanguagePotentials' has 20 fields (max: 15). Consider breaking it into smaller, focused structs.",
|
|
"file": "internal/quality/enhanced_types.go",
|
|
"line": 94,
|
|
"severity": 3,
|
|
"score": 10,
|
|
"status": "open",
|
|
"metadata": {
|
|
"field_count": "20",
|
|
"max_fields": "15",
|
|
"struct_name": "LanguagePotentials"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_struct::internal/quality/enhanced_types.go::QualityConfig",
|
|
"type": "god_struct",
|
|
"title": "God struct detected: QualityConfig",
|
|
"description": "Struct 'QualityConfig' has 17 fields (max: 15). Consider breaking it into smaller, focused structs.",
|
|
"file": "internal/quality/enhanced_types.go",
|
|
"line": 249,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"field_count": "17",
|
|
"max_fields": "15",
|
|
"struct_name": "QualityConfig"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_struct::internal/quality/enhanced_types.go::EnhancedStatus",
|
|
"type": "god_struct",
|
|
"title": "God struct detected: EnhancedStatus",
|
|
"description": "Struct 'EnhancedStatus' has 18 fields (max: 15). Consider breaking it into smaller, focused structs.",
|
|
"file": "internal/quality/enhanced_types.go",
|
|
"line": 270,
|
|
"severity": 3,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"field_count": "18",
|
|
"max_fields": "15",
|
|
"struct_name": "EnhancedStatus"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_struct::pkg/godocs/types.go::Package",
|
|
"type": "god_struct",
|
|
"title": "God struct detected: Package",
|
|
"description": "Struct 'Package' has 16 fields (max: 15). Consider breaking it into smaller, focused structs.",
|
|
"file": "pkg/godocs/types.go",
|
|
"line": 8,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"field_count": "16",
|
|
"max_fields": "15",
|
|
"struct_name": "Package"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cleanup_unused.go::cleanupFile",
|
|
"type": "god_function",
|
|
"title": "God function: cleanupFile",
|
|
"description": "Function 'cleanupFile' has issues: 64 lines (max 50)",
|
|
"file": "cleanup_unused.go",
|
|
"line": 47,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "cleanupFile",
|
|
"loc": "64",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/ask.go::runAsk",
|
|
"type": "god_function",
|
|
"title": "God function: runAsk",
|
|
"description": "Function 'runAsk' has issues: 112 lines (max 50)",
|
|
"file": "cmd/ask.go",
|
|
"line": 90,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runAsk",
|
|
"loc": "112",
|
|
"nesting_depth": "3",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/ask.go::resultMatchesLanguage",
|
|
"type": "god_function",
|
|
"title": "God function: resultMatchesLanguage",
|
|
"description": "Function 'resultMatchesLanguage' has issues: 66 lines (max 50)",
|
|
"file": "cmd/ask.go",
|
|
"line": 231,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "resultMatchesLanguage",
|
|
"loc": "66",
|
|
"nesting_depth": "1",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/ask.go::fetchAskDocsFromLive",
|
|
"type": "god_function",
|
|
"title": "God function: fetchAskDocsFromLive",
|
|
"description": "Function 'fetchAskDocsFromLive' has issues: 82 lines (max 50)",
|
|
"file": "cmd/ask.go",
|
|
"line": 298,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "fetchAskDocsFromLive",
|
|
"loc": "82",
|
|
"nesting_depth": "3",
|
|
"params": "5",
|
|
"returns": "3"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/ask.go::deriveSearchTerms",
|
|
"type": "god_function",
|
|
"title": "God function: deriveSearchTerms",
|
|
"description": "Function 'deriveSearchTerms' has issues: 155 lines (max 50)",
|
|
"file": "cmd/ask.go",
|
|
"line": 476,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "deriveSearchTerms",
|
|
"loc": "155",
|
|
"nesting_depth": "2",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/ask.go::extractRecommendedAPI",
|
|
"type": "god_function",
|
|
"title": "God function: extractRecommendedAPI",
|
|
"description": "Function 'extractRecommendedAPI' has issues: 79 lines (max 50)",
|
|
"file": "cmd/ask.go",
|
|
"line": 718,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "extractRecommendedAPI",
|
|
"loc": "79",
|
|
"nesting_depth": "4",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/ask.go::extractSnippet",
|
|
"type": "god_function",
|
|
"title": "God function: extractSnippet",
|
|
"description": "Function 'extractSnippet' has issues: 52 lines (max 50)",
|
|
"file": "cmd/ask.go",
|
|
"line": 891,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "extractSnippet",
|
|
"loc": "52",
|
|
"nesting_depth": "2",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/demo.go::runDemo",
|
|
"type": "god_function",
|
|
"title": "God function: runDemo",
|
|
"description": "Function 'runDemo' has issues: 96 lines (max 50)",
|
|
"file": "cmd/demo.go",
|
|
"line": 29,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runDemo",
|
|
"loc": "96",
|
|
"nesting_depth": "4",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/generate_scorecards/main.go::main",
|
|
"type": "god_function",
|
|
"title": "God function: main",
|
|
"description": "Function 'main' has issues: 145 lines (max 50)",
|
|
"file": "cmd/generate_scorecards/main.go",
|
|
"line": 12,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "main",
|
|
"loc": "145",
|
|
"nesting_depth": "1",
|
|
"params": "0",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/get.go::constructDocURL",
|
|
"type": "god_function",
|
|
"title": "God function: constructDocURL",
|
|
"description": "Function 'constructDocURL' has issues: 144 lines (max 50)",
|
|
"file": "cmd/get.go",
|
|
"line": 60,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "constructDocURL",
|
|
"loc": "144",
|
|
"nesting_depth": "3",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/init.go::runInit",
|
|
"type": "god_function",
|
|
"title": "God function: runInit",
|
|
"description": "Function 'runInit' has issues: 52 lines (max 50)",
|
|
"file": "cmd/init.go",
|
|
"line": 37,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runInit",
|
|
"loc": "52",
|
|
"nesting_depth": "2",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/push.go::runPush",
|
|
"type": "god_function",
|
|
"title": "God function: runPush",
|
|
"description": "Function 'runPush' has issues: 62 lines (max 50)",
|
|
"file": "cmd/push.go",
|
|
"line": 44,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runPush",
|
|
"loc": "62",
|
|
"nesting_depth": "1",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/quality.go::runQualityScan",
|
|
"type": "god_function",
|
|
"title": "God function: runQualityScan",
|
|
"description": "Function 'runQualityScan' has issues: 53 lines (max 50)",
|
|
"file": "cmd/quality.go",
|
|
"line": 173,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runQualityScan",
|
|
"loc": "53",
|
|
"nesting_depth": "2",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/quality.go::runQualityNext",
|
|
"type": "god_function",
|
|
"title": "God function: runQualityNext",
|
|
"description": "Function 'runQualityNext' has issues: 86 lines (max 50)",
|
|
"file": "cmd/quality.go",
|
|
"line": 270,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runQualityNext",
|
|
"loc": "86",
|
|
"nesting_depth": "4",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/quality.go::runQualityResolve",
|
|
"type": "god_function",
|
|
"title": "God function: runQualityResolve",
|
|
"description": "Function 'runQualityResolve' has issues: 90 lines (max 50)",
|
|
"file": "cmd/quality.go",
|
|
"line": 357,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runQualityResolve",
|
|
"loc": "90",
|
|
"nesting_depth": "3",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/quality.go::runQualityFix",
|
|
"type": "god_function",
|
|
"title": "God function: runQualityFix",
|
|
"description": "Function 'runQualityFix' has issues: 95 lines (max 50), nesting depth 5 (max 4)",
|
|
"file": "cmd/quality.go",
|
|
"line": 533,
|
|
"severity": 3,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runQualityFix",
|
|
"loc": "95",
|
|
"nesting_depth": "5",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/realtest/main.go::main",
|
|
"type": "god_function",
|
|
"title": "God function: main",
|
|
"description": "Function 'main' has issues: 110 lines (max 50)",
|
|
"file": "cmd/realtest/main.go",
|
|
"line": 12,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "main",
|
|
"loc": "110",
|
|
"nesting_depth": "3",
|
|
"params": "0",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/scrape.go::runScrape",
|
|
"type": "god_function",
|
|
"title": "God function: runScrape",
|
|
"description": "Function 'runScrape' has issues: 54 lines (max 50)",
|
|
"file": "cmd/scrape.go",
|
|
"line": 87,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runScrape",
|
|
"loc": "54",
|
|
"nesting_depth": "2",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/scrape.go::scrapeFromConfig",
|
|
"type": "god_function",
|
|
"title": "God function: scrapeFromConfig",
|
|
"description": "Function 'scrapeFromConfig' has issues: 69 lines (max 50)",
|
|
"file": "cmd/scrape.go",
|
|
"line": 142,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "scrapeFromConfig",
|
|
"loc": "69",
|
|
"nesting_depth": "4",
|
|
"params": "3",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/scrape.go::scrapeOne",
|
|
"type": "god_function",
|
|
"title": "God function: scrapeOne",
|
|
"description": "Function 'scrapeOne' has issues: 58 lines (max 50)",
|
|
"file": "cmd/scrape.go",
|
|
"line": 212,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "scrapeOne",
|
|
"loc": "58",
|
|
"nesting_depth": "2",
|
|
"params": "4",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/scrape.go::detectSourceType",
|
|
"type": "god_function",
|
|
"title": "God function: detectSourceType",
|
|
"description": "Function 'detectSourceType' has issues: 51 lines (max 50)",
|
|
"file": "cmd/scrape.go",
|
|
"line": 314,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "detectSourceType",
|
|
"loc": "51",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/scrape.go::applySourceProfile",
|
|
"type": "god_function",
|
|
"title": "God function: applySourceProfile",
|
|
"description": "Function 'applySourceProfile' has issues: 61 lines (max 50)",
|
|
"file": "cmd/scrape.go",
|
|
"line": 386,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "applySourceProfile",
|
|
"loc": "61",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/serve.go::handleServeMethod",
|
|
"type": "god_function",
|
|
"title": "God function: handleServeMethod",
|
|
"description": "Function 'handleServeMethod' has issues: 142 lines (max 50)",
|
|
"file": "cmd/serve.go",
|
|
"line": 71,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "handleServeMethod",
|
|
"loc": "142",
|
|
"nesting_depth": "2",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/status.go::runStatus",
|
|
"type": "god_function",
|
|
"title": "God function: runStatus",
|
|
"description": "Function 'runStatus' has issues: 84 lines (max 50)",
|
|
"file": "cmd/status.go",
|
|
"line": 28,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runStatus",
|
|
"loc": "84",
|
|
"nesting_depth": "3",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/sync.go::runSync",
|
|
"type": "god_function",
|
|
"title": "God function: runSync",
|
|
"description": "Function 'runSync' has issues: 158 lines (max 50)",
|
|
"file": "cmd/sync.go",
|
|
"line": 45,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runSync",
|
|
"loc": "158",
|
|
"nesting_depth": "4",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::cmd/verify.go::runVerifySmoke",
|
|
"type": "god_function",
|
|
"title": "God function: runVerifySmoke",
|
|
"description": "Function 'runVerifySmoke' has issues: 113 lines (max 50)",
|
|
"file": "cmd/verify.go",
|
|
"line": 57,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "runVerifySmoke",
|
|
"loc": "113",
|
|
"nesting_depth": "3",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::examples/demo_scrapers.go::main",
|
|
"type": "god_function",
|
|
"title": "God function: main",
|
|
"description": "Function 'main' has issues: 177 lines (max 50)",
|
|
"file": "examples/demo_scrapers.go",
|
|
"line": 21,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "main",
|
|
"loc": "177",
|
|
"nesting_depth": "2",
|
|
"params": "0",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/ai/openai.go::QueryWithContext",
|
|
"type": "god_function",
|
|
"title": "God function: QueryWithContext",
|
|
"description": "Function 'QueryWithContext' has issues: 70 lines (max 50)",
|
|
"file": "internal/ai/openai.go",
|
|
"line": 200,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "QueryWithContext",
|
|
"loc": "70",
|
|
"nesting_depth": "1",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/config/config.go::Default",
|
|
"type": "god_function",
|
|
"title": "God function: Default",
|
|
"description": "Function 'Default' has issues: 56 lines (max 50)",
|
|
"file": "internal/config/config.go",
|
|
"line": 105,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Default",
|
|
"loc": "56",
|
|
"nesting_depth": "0",
|
|
"params": "0",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/config/config.go::ApplyDefaults",
|
|
"type": "god_function",
|
|
"title": "God function: ApplyDefaults",
|
|
"description": "Function 'ApplyDefaults' has issues: 97 lines (max 50)",
|
|
"file": "internal/config/config.go",
|
|
"line": 229,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "ApplyDefaults",
|
|
"loc": "97",
|
|
"nesting_depth": "1",
|
|
"params": "0",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/analyzers/controlflow.go::analyzeFunction",
|
|
"type": "god_function",
|
|
"title": "God function: analyzeFunction",
|
|
"description": "Function 'analyzeFunction' has issues: 82 lines (max 50)",
|
|
"file": "internal/quality/analyzers/controlflow.go",
|
|
"line": 81,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "analyzeFunction",
|
|
"loc": "82",
|
|
"nesting_depth": "2",
|
|
"params": "3",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/analyzers/dataflow.go::analyzeAssignment",
|
|
"type": "god_function",
|
|
"title": "God function: analyzeAssignment",
|
|
"description": "Function 'analyzeAssignment' has issues: nesting depth 5 (max 4)",
|
|
"file": "internal/quality/analyzers/dataflow.go",
|
|
"line": 143,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "analyzeAssignment",
|
|
"loc": "16",
|
|
"nesting_depth": "5",
|
|
"params": "4",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/analyzers/dataflow.go::getTaintSource",
|
|
"type": "god_function",
|
|
"title": "God function: getTaintSource",
|
|
"description": "Function 'getTaintSource' has issues: nesting depth 5 (max 4)",
|
|
"file": "internal/quality/analyzers/dataflow.go",
|
|
"line": 197,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "getTaintSource",
|
|
"loc": "41",
|
|
"nesting_depth": "5",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/analyzers/dataflow.go::Detect",
|
|
"type": "god_function",
|
|
"title": "God function: Detect",
|
|
"description": "Function 'Detect' has issues: 53 lines (max 50)",
|
|
"file": "internal/quality/analyzers/dataflow.go",
|
|
"line": 419,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Detect",
|
|
"loc": "53",
|
|
"nesting_depth": "1",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/analyzers/practices.go::DetectFrameworks",
|
|
"type": "god_function",
|
|
"title": "God function: DetectFrameworks",
|
|
"description": "Function 'DetectFrameworks' has issues: 61 lines (max 50)",
|
|
"file": "internal/quality/analyzers/practices.go",
|
|
"line": 63,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "DetectFrameworks",
|
|
"loc": "61",
|
|
"nesting_depth": "3",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/analyzers/practices.go::getLanguagePractices",
|
|
"type": "god_function",
|
|
"title": "God function: getLanguagePractices",
|
|
"description": "Function 'getLanguagePractices' has issues: 122 lines (max 50)",
|
|
"file": "internal/quality/analyzers/practices.go",
|
|
"line": 177,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "getLanguagePractices",
|
|
"loc": "122",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/analyzers/practices.go::getFrameworkPractices",
|
|
"type": "god_function",
|
|
"title": "God function: getFrameworkPractices",
|
|
"description": "Function 'getFrameworkPractices' has issues: 83 lines (max 50)",
|
|
"file": "internal/quality/analyzers/practices.go",
|
|
"line": 300,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "getFrameworkPractices",
|
|
"loc": "83",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/analyzers/practices.go::getSecurityPractices",
|
|
"type": "god_function",
|
|
"title": "God function: getSecurityPractices",
|
|
"description": "Function 'getSecurityPractices' has issues: 66 lines (max 50)",
|
|
"file": "internal/quality/analyzers/practices.go",
|
|
"line": 384,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "getSecurityPractices",
|
|
"loc": "66",
|
|
"nesting_depth": "0",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/analyzers/practices.go::getPerformancePractices",
|
|
"type": "god_function",
|
|
"title": "God function: getPerformancePractices",
|
|
"description": "Function 'getPerformancePractices' has issues: 71 lines (max 50)",
|
|
"file": "internal/quality/analyzers/practices.go",
|
|
"line": 498,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "getPerformancePractices",
|
|
"loc": "71",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/detectors/complexity.go::analyzeFile",
|
|
"type": "god_function",
|
|
"title": "God function: analyzeFile",
|
|
"description": "Function 'analyzeFile' has issues: 75 lines (max 50)",
|
|
"file": "internal/quality/detectors/complexity.go",
|
|
"line": 138,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "analyzeFile",
|
|
"loc": "75",
|
|
"nesting_depth": "4",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/detectors/duplication.go::Detect",
|
|
"type": "god_function",
|
|
"title": "God function: Detect",
|
|
"description": "Function 'Detect' has issues: 54 lines (max 50)",
|
|
"file": "internal/quality/detectors/duplication.go",
|
|
"line": 47,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Detect",
|
|
"loc": "54",
|
|
"nesting_depth": "2",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/detectors/duplication.go::findDuplicates",
|
|
"type": "god_function",
|
|
"title": "God function: findDuplicates",
|
|
"description": "Function 'findDuplicates' has issues: 57 lines (max 50)",
|
|
"file": "internal/quality/detectors/duplication.go",
|
|
"line": 215,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "findDuplicates",
|
|
"loc": "57",
|
|
"nesting_depth": "3",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/languages.go::GetSupportedLanguages",
|
|
"type": "god_function",
|
|
"title": "God function: GetSupportedLanguages",
|
|
"description": "Function 'GetSupportedLanguages' has issues: 52 lines (max 50)",
|
|
"file": "internal/quality/languages.go",
|
|
"line": 18,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "GetSupportedLanguages",
|
|
"loc": "52",
|
|
"nesting_depth": "0",
|
|
"params": "0",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/languages_test.go::TestGetSupportedLanguages",
|
|
"type": "god_function",
|
|
"title": "God function: TestGetSupportedLanguages",
|
|
"description": "Function 'TestGetSupportedLanguages' has issues: 62 lines (max 50)",
|
|
"file": "internal/quality/languages_test.go",
|
|
"line": 10,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestGetSupportedLanguages",
|
|
"loc": "62",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/languages_test.go::TestDefaultFileFinder_FindFiles",
|
|
"type": "god_function",
|
|
"title": "God function: TestDefaultFileFinder_FindFiles",
|
|
"description": "Function 'TestDefaultFileFinder_FindFiles' has issues: 69 lines (max 50)",
|
|
"file": "internal/quality/languages_test.go",
|
|
"line": 84,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestDefaultFileFinder_FindFiles",
|
|
"loc": "69",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/languages_test.go::TestDetectLanguage",
|
|
"type": "god_function",
|
|
"title": "God function: TestDetectLanguage",
|
|
"description": "Function 'TestDetectLanguage' has issues: 152 lines (max 50)",
|
|
"file": "internal/quality/languages_test.go",
|
|
"line": 252,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestDetectLanguage",
|
|
"loc": "152",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/narrative_test.go::TestNarrativeGenerator_determinePhase",
|
|
"type": "god_function",
|
|
"title": "God function: TestNarrativeGenerator_determinePhase",
|
|
"description": "Function 'TestNarrativeGenerator_determinePhase' has issues: 74 lines (max 50)",
|
|
"file": "internal/quality/narrative_test.go",
|
|
"line": 31,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestNarrativeGenerator_determinePhase",
|
|
"loc": "74",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/narrative_test.go::TestNarrativeGenerator_classifyDimension",
|
|
"type": "god_function",
|
|
"title": "God function: TestNarrativeGenerator_classifyDimension",
|
|
"description": "Function 'TestNarrativeGenerator_classifyDimension' has issues: 59 lines (max 50)",
|
|
"file": "internal/quality/narrative_test.go",
|
|
"line": 157,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestNarrativeGenerator_classifyDimension",
|
|
"loc": "59",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/narrative_test.go::TestNarrativeGenerator_generateActions",
|
|
"type": "god_function",
|
|
"title": "God function: TestNarrativeGenerator_generateActions",
|
|
"description": "Function 'TestNarrativeGenerator_generateActions' has issues: 58 lines (max 50)",
|
|
"file": "internal/quality/narrative_test.go",
|
|
"line": 217,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestNarrativeGenerator_generateActions",
|
|
"loc": "58",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/narrative_test.go::TestNarrativeGenerator_generateStrategy",
|
|
"type": "god_function",
|
|
"title": "God function: TestNarrativeGenerator_generateStrategy",
|
|
"description": "Function 'TestNarrativeGenerator_generateStrategy' has issues: 61 lines (max 50)",
|
|
"file": "internal/quality/narrative_test.go",
|
|
"line": 276,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestNarrativeGenerator_generateStrategy",
|
|
"loc": "61",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/narrative_test.go::TestNarrativeGenerator_identifyRisks",
|
|
"type": "god_function",
|
|
"title": "God function: TestNarrativeGenerator_identifyRisks",
|
|
"description": "Function 'TestNarrativeGenerator_identifyRisks' has issues: 63 lines (max 50)",
|
|
"file": "internal/quality/narrative_test.go",
|
|
"line": 532,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestNarrativeGenerator_identifyRisks",
|
|
"loc": "63",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/narrative_test.go::TestNarrativeGenerator_Generate",
|
|
"type": "god_function",
|
|
"title": "God function: TestNarrativeGenerator_Generate",
|
|
"description": "Function 'TestNarrativeGenerator_Generate' has issues: 61 lines (max 50)",
|
|
"file": "internal/quality/narrative_test.go",
|
|
"line": 694,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestNarrativeGenerator_Generate",
|
|
"loc": "61",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/advanced.go::Detect",
|
|
"type": "god_function",
|
|
"title": "God function: Detect",
|
|
"description": "Function 'Detect' has issues: 154 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 37,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Detect",
|
|
"loc": "154",
|
|
"nesting_depth": "3",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/advanced.go::Detect",
|
|
"type": "god_function",
|
|
"title": "God function: Detect",
|
|
"description": "Function 'Detect' has issues: 79 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 315,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Detect",
|
|
"loc": "79",
|
|
"nesting_depth": "2",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/advanced.go::Detect",
|
|
"type": "god_function",
|
|
"title": "God function: Detect",
|
|
"description": "Function 'Detect' has issues: 161 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 460,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Detect",
|
|
"loc": "161",
|
|
"nesting_depth": "3",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/deadcode.go::Detect",
|
|
"type": "god_function",
|
|
"title": "God function: Detect",
|
|
"description": "Function 'Detect' has issues: 65 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/deadcode.go",
|
|
"line": 58,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Detect",
|
|
"loc": "65",
|
|
"nesting_depth": "4",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/deadcode.go::analyzeFile",
|
|
"type": "god_function",
|
|
"title": "God function: analyzeFile",
|
|
"description": "Function 'analyzeFile' has issues: 63 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/deadcode.go",
|
|
"line": 161,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "analyzeFile",
|
|
"loc": "63",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/detectors.go::analyzeFile",
|
|
"type": "god_function",
|
|
"title": "God function: analyzeFile",
|
|
"description": "Function 'analyzeFile' has issues: 94 lines (max 50), nesting depth 6 (max 4)",
|
|
"file": "internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 109,
|
|
"severity": 3,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "analyzeFile",
|
|
"loc": "94",
|
|
"nesting_depth": "6",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/detectors.go::analyzeFile",
|
|
"type": "god_function",
|
|
"title": "God function: analyzeFile",
|
|
"description": "Function 'analyzeFile' has issues: 92 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 237,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "analyzeFile",
|
|
"loc": "92",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/detectors.go::analyzeFile",
|
|
"type": "god_function",
|
|
"title": "God function: analyzeFile",
|
|
"description": "Function 'analyzeFile' has issues: 74 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 371,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "analyzeFile",
|
|
"loc": "74",
|
|
"nesting_depth": "4",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/security.go::checkAssignStmt",
|
|
"type": "god_function",
|
|
"title": "God function: checkAssignStmt",
|
|
"description": "Function 'checkAssignStmt' has issues: nesting depth 5 (max 4)",
|
|
"file": "internal/quality/plugins/go/analyzers/security.go",
|
|
"line": 160,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "checkAssignStmt",
|
|
"loc": "30",
|
|
"nesting_depth": "5",
|
|
"params": "4",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/security.go::analyzeFile",
|
|
"type": "god_function",
|
|
"title": "God function: analyzeFile",
|
|
"description": "Function 'analyzeFile' has issues: 60 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/security.go",
|
|
"line": 299,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "analyzeFile",
|
|
"loc": "60",
|
|
"nesting_depth": "3",
|
|
"params": "1",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/test_coverage.go::Detect",
|
|
"type": "god_function",
|
|
"title": "God function: Detect",
|
|
"description": "Function 'Detect' has issues: 86 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 35,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Detect",
|
|
"loc": "86",
|
|
"nesting_depth": "2",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/test_coverage.go::Detect",
|
|
"type": "god_function",
|
|
"title": "God function: Detect",
|
|
"description": "Function 'Detect' has issues: 81 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 209,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Detect",
|
|
"loc": "81",
|
|
"nesting_depth": "3",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/test_coverage.go::Detect",
|
|
"type": "god_function",
|
|
"title": "God function: Detect",
|
|
"description": "Function 'Detect' has issues: 67 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 356,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Detect",
|
|
"loc": "67",
|
|
"nesting_depth": "4",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/analyzers/test_coverage.go::Detect",
|
|
"type": "god_function",
|
|
"title": "God function: Detect",
|
|
"description": "Function 'Detect' has issues: 53 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 442,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Detect",
|
|
"loc": "53",
|
|
"nesting_depth": "3",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/fixers/advanced_fixers.go::Fix",
|
|
"type": "god_function",
|
|
"title": "God function: Fix",
|
|
"description": "Function 'Fix' has issues: 71 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/fixers/advanced_fixers.go",
|
|
"line": 35,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Fix",
|
|
"loc": "71",
|
|
"nesting_depth": "4",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/fixers/advanced_fixers.go::Fix",
|
|
"type": "god_function",
|
|
"title": "God function: Fix",
|
|
"description": "Function 'Fix' has issues: 55 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/fixers/advanced_fixers.go",
|
|
"line": 193,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Fix",
|
|
"loc": "55",
|
|
"nesting_depth": "2",
|
|
"params": "3",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/plugins/go/plugin.go::detectCycles",
|
|
"type": "god_function",
|
|
"title": "God function: detectCycles",
|
|
"description": "Function 'detectCycles' has issues: 51 lines (max 50)",
|
|
"file": "internal/quality/plugins/go/plugin.go",
|
|
"line": 282,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "detectCycles",
|
|
"loc": "51",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/review/packet.go::generateQuestions",
|
|
"type": "god_function",
|
|
"title": "God function: generateQuestions",
|
|
"description": "Function 'generateQuestions' has issues: 74 lines (max 50)",
|
|
"file": "internal/quality/review/packet.go",
|
|
"line": 166,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "generateQuestions",
|
|
"loc": "74",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scanner.go::Scan",
|
|
"type": "god_function",
|
|
"title": "God function: Scan",
|
|
"description": "Function 'Scan' has issues: 69 lines (max 50)",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 39,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Scan",
|
|
"loc": "69",
|
|
"nesting_depth": "3",
|
|
"params": "1",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scanner.go::getSourceFiles",
|
|
"type": "god_function",
|
|
"title": "God function: getSourceFiles",
|
|
"description": "Function 'getSourceFiles' has issues: 51 lines (max 50)",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 131,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "getSourceFiles",
|
|
"loc": "51",
|
|
"nesting_depth": "1",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scanner_test.go::TestScanner_Scan_Simple",
|
|
"type": "god_function",
|
|
"title": "God function: TestScanner_Scan_Simple",
|
|
"description": "Function 'TestScanner_Scan_Simple' has issues: 73 lines (max 50)",
|
|
"file": "internal/quality/scanner_test.go",
|
|
"line": 135,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestScanner_Scan_Simple",
|
|
"loc": "73",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scanner_test.go::TestScanner_detectLanguage",
|
|
"type": "god_function",
|
|
"title": "God function: TestScanner_detectLanguage",
|
|
"description": "Function 'TestScanner_detectLanguage' has issues: 75 lines (max 50)",
|
|
"file": "internal/quality/scanner_test.go",
|
|
"line": 325,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestScanner_detectLanguage",
|
|
"loc": "75",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scanner_test.go::TestScanner_calculateScores",
|
|
"type": "god_function",
|
|
"title": "God function: TestScanner_calculateScores",
|
|
"description": "Function 'TestScanner_calculateScores' has issues: 57 lines (max 50)",
|
|
"file": "internal/quality/scanner_test.go",
|
|
"line": 522,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestScanner_calculateScores",
|
|
"loc": "57",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scoring.go::GetStrictHealthMetrics",
|
|
"type": "god_function",
|
|
"title": "God function: GetStrictHealthMetrics",
|
|
"description": "Function 'GetStrictHealthMetrics' has issues: 77 lines (max 50)",
|
|
"file": "internal/quality/scoring.go",
|
|
"line": 183,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "GetStrictHealthMetrics",
|
|
"loc": "77",
|
|
"nesting_depth": "3",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scoring.go::FormatStrictScorecard",
|
|
"type": "god_function",
|
|
"title": "God function: FormatStrictScorecard",
|
|
"description": "Function 'FormatStrictScorecard' has issues: 69 lines (max 50)",
|
|
"file": "internal/quality/scoring.go",
|
|
"line": 355,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "FormatStrictScorecard",
|
|
"loc": "69",
|
|
"nesting_depth": "2",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scoring_test.go::TestScorer_CalculateScore",
|
|
"type": "god_function",
|
|
"title": "God function: TestScorer_CalculateScore",
|
|
"description": "Function 'TestScorer_CalculateScore' has issues: 61 lines (max 50)",
|
|
"file": "internal/quality/scoring_test.go",
|
|
"line": 32,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestScorer_CalculateScore",
|
|
"loc": "61",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scoring_test.go::TestScorer_GenerateScorecard",
|
|
"type": "god_function",
|
|
"title": "God function: TestScorer_GenerateScorecard",
|
|
"description": "Function 'TestScorer_GenerateScorecard' has issues: 51 lines (max 50)",
|
|
"file": "internal/quality/scoring_test.go",
|
|
"line": 94,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestScorer_GenerateScorecard",
|
|
"loc": "51",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scoring_test.go::TestScorer_FormatScorecard",
|
|
"type": "god_function",
|
|
"title": "God function: TestScorer_FormatScorecard",
|
|
"description": "Function 'TestScorer_FormatScorecard' has issues: 56 lines (max 50)",
|
|
"file": "internal/quality/scoring_test.go",
|
|
"line": 361,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestScorer_FormatScorecard",
|
|
"loc": "56",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/scoring_test.go::TestScorer_GetNextPriority",
|
|
"type": "god_function",
|
|
"title": "God function: TestScorer_GetNextPriority",
|
|
"description": "Function 'TestScorer_GetNextPriority' has issues: 56 lines (max 50)",
|
|
"file": "internal/quality/scoring_test.go",
|
|
"line": 443,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestScorer_GetNextPriority",
|
|
"loc": "56",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/state_test.go::TestStateManager_Load",
|
|
"type": "god_function",
|
|
"title": "God function: TestStateManager_Load",
|
|
"description": "Function 'TestStateManager_Load' has issues: 58 lines (max 50)",
|
|
"file": "internal/quality/state_test.go",
|
|
"line": 34,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestStateManager_Load",
|
|
"loc": "58",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/quality/state_test.go::TestStateManager_saveHistory",
|
|
"type": "god_function",
|
|
"title": "God function: TestStateManager_saveHistory",
|
|
"description": "Function 'TestStateManager_saveHistory' has issues: 55 lines (max 50)",
|
|
"file": "internal/quality/state_test.go",
|
|
"line": 330,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestStateManager_saveHistory",
|
|
"loc": "55",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/external/pythondocs.go::Scrape",
|
|
"type": "god_function",
|
|
"title": "God function: Scrape",
|
|
"description": "Function 'Scrape' has issues: 57 lines (max 50)",
|
|
"file": "internal/scraper/external/pythondocs.go",
|
|
"line": 32,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Scrape",
|
|
"loc": "57",
|
|
"nesting_depth": "2",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/external/rustdocs.go::Scrape",
|
|
"type": "god_function",
|
|
"title": "God function: Scrape",
|
|
"description": "Function 'Scrape' has issues: 62 lines (max 50)",
|
|
"file": "internal/scraper/external/rustdocs.go",
|
|
"line": 33,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Scrape",
|
|
"loc": "62",
|
|
"nesting_depth": "1",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/external/rustdocs.go::buildCrateContent",
|
|
"type": "god_function",
|
|
"title": "God function: buildCrateContent",
|
|
"description": "Function 'buildCrateContent' has issues: 57 lines (max 50)",
|
|
"file": "internal/scraper/external/rustdocs.go",
|
|
"line": 170,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "buildCrateContent",
|
|
"loc": "57",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/external/tsdocs_test.go::TestTSDocsSubDocsFallbackToModuleURL",
|
|
"type": "god_function",
|
|
"title": "God function: TestTSDocsSubDocsFallbackToModuleURL",
|
|
"description": "Function 'TestTSDocsSubDocsFallbackToModuleURL' has issues: 57 lines (max 50)",
|
|
"file": "internal/scraper/external/tsdocs_test.go",
|
|
"line": 9,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestTSDocsSubDocsFallbackToModuleURL",
|
|
"loc": "57",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/github.go::Scrape",
|
|
"type": "god_function",
|
|
"title": "God function: Scrape",
|
|
"description": "Function 'Scrape' has issues: 65 lines (max 50)",
|
|
"file": "internal/scraper/github.go",
|
|
"line": 24,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Scrape",
|
|
"loc": "65",
|
|
"nesting_depth": "2",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/local.go::Scrape",
|
|
"type": "god_function",
|
|
"title": "God function: Scrape",
|
|
"description": "Function 'Scrape' has issues: 71 lines (max 50)",
|
|
"file": "internal/scraper/local.go",
|
|
"line": 26,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Scrape",
|
|
"loc": "71",
|
|
"nesting_depth": "2",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/localsearch.go::Scrape",
|
|
"type": "god_function",
|
|
"title": "God function: Scrape",
|
|
"description": "Function 'Scrape' has issues: 86 lines (max 50)",
|
|
"file": "internal/scraper/localsearch.go",
|
|
"line": 64,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Scrape",
|
|
"loc": "86",
|
|
"nesting_depth": "3",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/localsearch_test.go::TestLocalSearchScraperScrape",
|
|
"type": "god_function",
|
|
"title": "God function: TestLocalSearchScraperScrape",
|
|
"description": "Function 'TestLocalSearchScraperScrape' has issues: 63 lines (max 50)",
|
|
"file": "internal/scraper/localsearch_test.go",
|
|
"line": 14,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestLocalSearchScraperScrape",
|
|
"loc": "63",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/localsearch_test.go::TestLocalSearchScraperDomainFilter",
|
|
"type": "god_function",
|
|
"title": "God function: TestLocalSearchScraperDomainFilter",
|
|
"description": "Function 'TestLocalSearchScraperDomainFilter' has issues: 62 lines (max 50)",
|
|
"file": "internal/scraper/localsearch_test.go",
|
|
"line": 78,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestLocalSearchScraperDomainFilter",
|
|
"loc": "62",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/localsearch_test.go::TestLocalSearchScraperDetectChanges",
|
|
"type": "god_function",
|
|
"title": "God function: TestLocalSearchScraperDetectChanges",
|
|
"description": "Function 'TestLocalSearchScraperDetectChanges' has issues: 67 lines (max 50)",
|
|
"file": "internal/scraper/localsearch_test.go",
|
|
"line": 160,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "TestLocalSearchScraperDetectChanges",
|
|
"loc": "67",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "0"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/openapi.go::Scrape",
|
|
"type": "god_function",
|
|
"title": "God function: Scrape",
|
|
"description": "Function 'Scrape' has issues: 77 lines (max 50)",
|
|
"file": "internal/scraper/openapi.go",
|
|
"line": 38,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Scrape",
|
|
"loc": "77",
|
|
"nesting_depth": "3",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/scraper/web.go::Scrape",
|
|
"type": "god_function",
|
|
"title": "God function: Scrape",
|
|
"description": "Function 'Scrape' has issues: 235 lines (max 50)",
|
|
"file": "internal/scraper/web.go",
|
|
"line": 29,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Scrape",
|
|
"loc": "235",
|
|
"nesting_depth": "2",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/search/engine.go::Rebuild",
|
|
"type": "god_function",
|
|
"title": "God function: Rebuild",
|
|
"description": "Function 'Rebuild' has issues: 85 lines (max 50)",
|
|
"file": "internal/search/engine.go",
|
|
"line": 109,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Rebuild",
|
|
"loc": "85",
|
|
"nesting_depth": "2",
|
|
"params": "1",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/search/engine.go::Search",
|
|
"type": "god_function",
|
|
"title": "God function: Search",
|
|
"description": "Function 'Search' has issues: 91 lines (max 50)",
|
|
"file": "internal/search/engine.go",
|
|
"line": 227,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Search",
|
|
"loc": "91",
|
|
"nesting_depth": "2",
|
|
"params": "3",
|
|
"returns": "3"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/server/server.go::Start",
|
|
"type": "god_function",
|
|
"title": "God function: Start",
|
|
"description": "Function 'Start' has issues: 59 lines (max 50)",
|
|
"file": "internal/server/server.go",
|
|
"line": 108,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "Start",
|
|
"loc": "59",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::internal/storage/writer.go::SaveDocuments",
|
|
"type": "god_function",
|
|
"title": "God function: SaveDocuments",
|
|
"description": "Function 'SaveDocuments' has issues: 76 lines (max 50)",
|
|
"file": "internal/storage/writer.go",
|
|
"line": 29,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "SaveDocuments",
|
|
"loc": "76",
|
|
"nesting_depth": "3",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::pkg/godocs/parser.go::ParsePackagePage",
|
|
"type": "god_function",
|
|
"title": "God function: ParsePackagePage",
|
|
"description": "Function 'ParsePackagePage' has issues: 53 lines (max 50)",
|
|
"file": "pkg/godocs/parser.go",
|
|
"line": 25,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "ParsePackagePage",
|
|
"loc": "53",
|
|
"nesting_depth": "1",
|
|
"params": "2",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::pkg/godocs/parser.go::ParseSearchResults",
|
|
"type": "god_function",
|
|
"title": "God function: ParseSearchResults",
|
|
"description": "Function 'ParseSearchResults' has issues: 57 lines (max 50)",
|
|
"file": "pkg/godocs/parser.go",
|
|
"line": 80,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "ParseSearchResults",
|
|
"loc": "57",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::pkg/godocs/parser.go::extractConstants",
|
|
"type": "god_function",
|
|
"title": "God function: extractConstants",
|
|
"description": "Function 'extractConstants' has issues: 52 lines (max 50)",
|
|
"file": "pkg/godocs/parser.go",
|
|
"line": 477,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "extractConstants",
|
|
"loc": "52",
|
|
"nesting_depth": "0",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::pkg/godocs/parser.go::extractVariables",
|
|
"type": "god_function",
|
|
"title": "God function: extractVariables",
|
|
"description": "Function 'extractVariables' has issues: 56 lines (max 50)",
|
|
"file": "pkg/godocs/parser.go",
|
|
"line": 531,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "extractVariables",
|
|
"loc": "56",
|
|
"nesting_depth": "0",
|
|
"params": "1",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::pkg/pythondocs/parser.go::extractClasses",
|
|
"type": "god_function",
|
|
"title": "God function: extractClasses",
|
|
"description": "Function 'extractClasses' has issues: 60 lines (max 50)",
|
|
"file": "pkg/pythondocs/parser.go",
|
|
"line": 165,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "extractClasses",
|
|
"loc": "60",
|
|
"nesting_depth": "0",
|
|
"params": "3",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::pkg/pythondocs/parser.go::extractFunctions",
|
|
"type": "god_function",
|
|
"title": "God function: extractFunctions",
|
|
"description": "Function 'extractFunctions' has issues: 52 lines (max 50)",
|
|
"file": "pkg/pythondocs/parser.go",
|
|
"line": 226,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "extractFunctions",
|
|
"loc": "52",
|
|
"nesting_depth": "0",
|
|
"params": "3",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::pkg/reactdocs/parser.go::extractAPIs",
|
|
"type": "god_function",
|
|
"title": "God function: extractAPIs",
|
|
"description": "Function 'extractAPIs' has issues: 51 lines (max 50)",
|
|
"file": "pkg/reactdocs/parser.go",
|
|
"line": 164,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "extractAPIs",
|
|
"loc": "51",
|
|
"nesting_depth": "0",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::pkg/rustdocs/parser.go::ParseSearchResults",
|
|
"type": "god_function",
|
|
"title": "God function: ParseSearchResults",
|
|
"description": "Function 'ParseSearchResults' has issues: 57 lines (max 50)",
|
|
"file": "pkg/rustdocs/parser.go",
|
|
"line": 70,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "ParseSearchResults",
|
|
"loc": "57",
|
|
"nesting_depth": "1",
|
|
"params": "1",
|
|
"returns": "2"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "god_function::pkg/vuedocs/parser.go::extractCompositionAPI",
|
|
"type": "god_function",
|
|
"title": "God function: extractCompositionAPI",
|
|
"description": "Function 'extractCompositionAPI' has issues: 54 lines (max 50)",
|
|
"file": "pkg/vuedocs/parser.go",
|
|
"line": 126,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.84",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Large multi-responsibility functions usually violate readability and testability guidance.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"function": "extractCompositionAPI",
|
|
"loc": "54",
|
|
"nesting_depth": "0",
|
|
"params": "2",
|
|
"returns": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "coupling_fanout::github.com/yourorg/devour/cmd",
|
|
"type": "coupling",
|
|
"title": "High fan-out coupling: cmd",
|
|
"description": "Package 'github.com/yourorg/devour/cmd' imports 32 packages (max: 20). Consider reducing dependencies.",
|
|
"file": "github.com/yourorg/devour/cmd",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 12,
|
|
"status": "open",
|
|
"metadata": {
|
|
"fan_out": "32",
|
|
"imports": "github.com/spf13/viper,github.com/yourorg/devour/internal/quality,path,github.com/yourorg/devour/internal/scraper/external,sort,time,github.com/yourorg/devour/internal/projectstate,crypto/sha256,encoding/hex,encoding/json,gopkg.in/yaml.v3,fmt,path/filepath,os/exec,github.com/yourorg/devour/internal/quality/plugins,github.com/yourorg/devour/internal/scraper,os,github.com/yourorg/devour/internal/storage,strings,net/url,github.com/yourorg/devour/internal/quality/plugins/go,context,github.com/yourorg/devour/internal/server,github.com/yourorg/devour/internal/ui,github.com/yourorg/devour/internal/config,github.com/yourorg/devour/internal/quality/review,unicode,github.com/yourorg/devour/internal/search,github.com/yourorg/devour/internal/quality/plugins/go/fixers,github.com/spf13/cobra,regexp,github.com/yourorg/devour/internal/quality/detectors",
|
|
"package": "github.com/yourorg/devour/cmd"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "coupling_fanout::github.com/yourorg/devour/internal/scraper/external",
|
|
"type": "coupling",
|
|
"title": "High fan-out coupling: external",
|
|
"description": "Package 'github.com/yourorg/devour/internal/scraper/external' imports 23 packages (max: 20). Consider reducing dependencies.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"fan_out": "23",
|
|
"imports": "context,github.com/yourorg/devour/pkg/nuxtdocs,github.com/yourorg/devour/pkg/javadocs,time,encoding/hex,github.com/yourorg/devour/pkg/cloudflaredocs,github.com/yourorg/devour/pkg/rustdocs,github.com/yourorg/devour/pkg/vuedocs,github.com/yourorg/devour/pkg/springdocs,io,github.com/yourorg/devour/pkg/pythondocs,github.com/yourorg/devour/pkg/dockerdocs,strings,crypto/sha256,encoding/json,github.com/yourorg/devour/pkg/godocs,github.com/yourorg/devour/pkg/mcpdocs,github.com/yourorg/devour/pkg/tsdocs,net/http,github.com/yourorg/devour/pkg/astrodocs,fmt,github.com/yourorg/devour/internal/scraper,github.com/yourorg/devour/pkg/reactdocs",
|
|
"package": "github.com/yourorg/devour/internal/scraper/external"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "coupling_fanout::github.com/yourorg/devour/internal/scraper",
|
|
"type": "coupling",
|
|
"title": "High fan-out coupling: scraper",
|
|
"description": "Package 'github.com/yourorg/devour/internal/scraper' imports 23 packages (max: 20). Consider reducing dependencies.",
|
|
"file": "github.com/yourorg/devour/internal/scraper",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"fan_out": "23",
|
|
"imports": "io/fs,path,encoding/hex,os/exec,sync,time,github.com/gocolly/colly/v2,errors,crypto/sha256,path/filepath,io,encoding/json,strconv,fmt,net/http,regexp,gopkg.in/yaml.v3,strings,net,sort,context,os,net/url",
|
|
"package": "github.com/yourorg/devour/internal/scraper"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/indexer/indexer.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/indexer/indexer.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/markdown/formatter.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/markdown/formatter.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/quality/enhanced_types.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/quality/enhanced_types.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/quality/narrative.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/quality/narrative.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/quality/plugins/go/analyzers/test_coverage.go::io/ioutil",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: io/ioutil",
|
|
"description": "Found deprecated 'io/ioutil'. Use io and os packages instead.",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "io and os packages",
|
|
"deprecated": "io/ioutil"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/quality/plugins/go/analyzers/test_coverage.go::context.WithDeadline",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: context.WithDeadline",
|
|
"description": "Found deprecated 'context.WithDeadline'. Use context.WithTimeout for relative times instead.",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "context.WithTimeout for relative times",
|
|
"deprecated": "context.WithDeadline"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/quality/plugins/go/analyzers/test_coverage.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/quality/plugins/go/fixers/advanced_fixers.go::io/ioutil",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: io/ioutil",
|
|
"description": "Found deprecated 'io/ioutil'. Use io and os packages instead.",
|
|
"file": "internal/quality/plugins/go/fixers/advanced_fixers.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "io and os packages",
|
|
"deprecated": "io/ioutil"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/quality/scoring.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/quality/scoring.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/astrodocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/astrodocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/cloudflaredocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/cloudflaredocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/dockerdocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/dockerdocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/godocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/godocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/javadocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/javadocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/mcpdocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/mcpdocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/nuxtdocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/nuxtdocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/pythondocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/pythondocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/reactdocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/reactdocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/rustdocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/rustdocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/springdocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/springdocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/tsdocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/tsdocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/external/vuedocs.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/external/vuedocs.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/github.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/github.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/local.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/local.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/localsearch.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/localsearch.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/openapi.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/openapi.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/scraper.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/scraper.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::internal/scraper/web.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "internal/scraper/web.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::pkg/client/client.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "pkg/client/client.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::pkg/mcpdocs/types.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "pkg/mcpdocs/types.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "deprecated::pkg/types/types.go::interface{}",
|
|
"type": "deprecated",
|
|
"title": "Deprecated usage: interface{}",
|
|
"description": "Found deprecated 'interface{}'. Use any instead.",
|
|
"file": "pkg/types/types.go",
|
|
"line": 1,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"alternative": "any",
|
|
"deprecated": "interface{}"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cleanup_unused.go::cleanupFile",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in cleanupFile",
|
|
"description": "Function 'cleanupFile' has cyclomatic complexity of 23 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cleanup_unused.go",
|
|
"line": 47,
|
|
"severity": 2,
|
|
"score": 8,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "23",
|
|
"function": "cleanupFile",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/ask.go::runAsk",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in runAsk",
|
|
"description": "Function 'runAsk' has cyclomatic complexity of 38 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/ask.go",
|
|
"line": 90,
|
|
"severity": 2,
|
|
"score": 23,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "38",
|
|
"function": "runAsk",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/ask.go::resultMatchesLanguage",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in resultMatchesLanguage",
|
|
"description": "Function 'resultMatchesLanguage' has cyclomatic complexity of 30 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/ask.go",
|
|
"line": 231,
|
|
"severity": 2,
|
|
"score": 15,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "30",
|
|
"function": "resultMatchesLanguage",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/ask.go::fetchAskDocsFromLive",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in fetchAskDocsFromLive",
|
|
"description": "Function 'fetchAskDocsFromLive' has cyclomatic complexity of 21 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/ask.go",
|
|
"line": 298,
|
|
"severity": 2,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "21",
|
|
"function": "fetchAskDocsFromLive",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/ask.go::topLocalMatchesTerms",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in topLocalMatchesTerms",
|
|
"description": "Function 'topLocalMatchesTerms' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/ask.go",
|
|
"line": 454,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "topLocalMatchesTerms",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/ask.go::deriveSearchTerms",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in deriveSearchTerms",
|
|
"description": "Function 'deriveSearchTerms' has cyclomatic complexity of 58 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/ask.go",
|
|
"line": 476,
|
|
"severity": 2,
|
|
"score": 43,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "58",
|
|
"function": "deriveSearchTerms",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/ask.go::extractRecommendedAPI",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractRecommendedAPI",
|
|
"description": "Function 'extractRecommendedAPI' has cyclomatic complexity of 38 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/ask.go",
|
|
"line": 718,
|
|
"severity": 2,
|
|
"score": 23,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "38",
|
|
"function": "extractRecommendedAPI",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/ask.go::extractExample",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractExample",
|
|
"description": "Function 'extractExample' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/ask.go",
|
|
"line": 798,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "extractExample",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/ask.go::computeConfidence",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in computeConfidence",
|
|
"description": "Function 'computeConfidence' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/ask.go",
|
|
"line": 849,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "computeConfidence",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/ask.go::extractSnippet",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractSnippet",
|
|
"description": "Function 'extractSnippet' has cyclomatic complexity of 26 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/ask.go",
|
|
"line": 891,
|
|
"severity": 2,
|
|
"score": 11,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "26",
|
|
"function": "extractSnippet",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/ask_test.go::TestCandidateDocURLs_FrameworkFallbacks",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestCandidateDocURLs_FrameworkFallbacks",
|
|
"description": "Function 'TestCandidateDocURLs_FrameworkFallbacks' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/ask_test.go",
|
|
"line": 74,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "TestCandidateDocURLs_FrameworkFallbacks",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/auto.go::classifyIntent",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in classifyIntent",
|
|
"description": "Function 'classifyIntent' has cyclomatic complexity of 28 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/auto.go",
|
|
"line": 84,
|
|
"severity": 2,
|
|
"score": 13,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "28",
|
|
"function": "classifyIntent",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/demo.go::runDemo",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in runDemo",
|
|
"description": "Function 'runDemo' has cyclomatic complexity of 23 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/demo.go",
|
|
"line": 29,
|
|
"severity": 2,
|
|
"score": 8,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "23",
|
|
"function": "runDemo",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/generate_scorecards/main.go::main",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in main",
|
|
"description": "Function 'main' has cyclomatic complexity of 23 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/generate_scorecards/main.go",
|
|
"line": 12,
|
|
"severity": 2,
|
|
"score": 8,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "23",
|
|
"function": "main",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/get.go::constructDocURL",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in constructDocURL",
|
|
"description": "Function 'constructDocURL' has cyclomatic complexity of 75 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/get.go",
|
|
"line": 60,
|
|
"severity": 2,
|
|
"score": 60,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "75",
|
|
"function": "constructDocURL",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/get.go::mapLanguageToType",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in mapLanguageToType",
|
|
"description": "Function 'mapLanguageToType' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/get.go",
|
|
"line": 205,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "mapLanguageToType",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/push.go::runPush",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in runPush",
|
|
"description": "Function 'runPush' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/push.go",
|
|
"line": 44,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "runPush",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/quality.go::runQualityNext",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in runQualityNext",
|
|
"description": "Function 'runQualityNext' has cyclomatic complexity of 35 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/quality.go",
|
|
"line": 270,
|
|
"severity": 2,
|
|
"score": 20,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "35",
|
|
"function": "runQualityNext",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/quality.go::runQualityResolve",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in runQualityResolve",
|
|
"description": "Function 'runQualityResolve' has cyclomatic complexity of 26 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/quality.go",
|
|
"line": 357,
|
|
"severity": 2,
|
|
"score": 11,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "26",
|
|
"function": "runQualityResolve",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/quality.go::runQualityFix",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in runQualityFix",
|
|
"description": "Function 'runQualityFix' has cyclomatic complexity of 33 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/quality.go",
|
|
"line": 533,
|
|
"severity": 2,
|
|
"score": 18,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "33",
|
|
"function": "runQualityFix",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "nesting::cmd/quality.go::runQualityFix",
|
|
"type": "complexity",
|
|
"title": "Deep nesting in runQualityFix",
|
|
"description": "Function 'runQualityFix' has nesting depth of 5 (max: 4). Consider extracting logic into helper functions.",
|
|
"file": "cmd/quality.go",
|
|
"line": 533,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"function": "runQualityFix",
|
|
"max_nesting": "4",
|
|
"nesting": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/realtest/main.go::main",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in main",
|
|
"description": "Function 'main' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/realtest/main.go",
|
|
"line": 12,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "main",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/scrape.go::runScrape",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in runScrape",
|
|
"description": "Function 'runScrape' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/scrape.go",
|
|
"line": 87,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "runScrape",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/scrape.go::scrapeFromConfig",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in scrapeFromConfig",
|
|
"description": "Function 'scrapeFromConfig' has cyclomatic complexity of 32 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/scrape.go",
|
|
"line": 142,
|
|
"severity": 2,
|
|
"score": 17,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "32",
|
|
"function": "scrapeFromConfig",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/scrape.go::scrapeOne",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in scrapeOne",
|
|
"description": "Function 'scrapeOne' has cyclomatic complexity of 22 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/scrape.go",
|
|
"line": 212,
|
|
"severity": 2,
|
|
"score": 7,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "22",
|
|
"function": "scrapeOne",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/scrape.go::detectSourceType",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in detectSourceType",
|
|
"description": "Function 'detectSourceType' has cyclomatic complexity of 46 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/scrape.go",
|
|
"line": 314,
|
|
"severity": 2,
|
|
"score": 31,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "46",
|
|
"function": "detectSourceType",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/scrape.go::applySourceProfile",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in applySourceProfile",
|
|
"description": "Function 'applySourceProfile' has cyclomatic complexity of 28 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/scrape.go",
|
|
"line": 386,
|
|
"severity": 2,
|
|
"score": 13,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "28",
|
|
"function": "applySourceProfile",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/serve.go::handleServeMethod",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in handleServeMethod",
|
|
"description": "Function 'handleServeMethod' has cyclomatic complexity of 39 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/serve.go",
|
|
"line": 71,
|
|
"severity": 2,
|
|
"score": 24,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "39",
|
|
"function": "handleServeMethod",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/status.go::runStatus",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in runStatus",
|
|
"description": "Function 'runStatus' has cyclomatic complexity of 23 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/status.go",
|
|
"line": 28,
|
|
"severity": 2,
|
|
"score": 8,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "23",
|
|
"function": "runStatus",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/sync.go::runSync",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in runSync",
|
|
"description": "Function 'runSync' has cyclomatic complexity of 60 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/sync.go",
|
|
"line": 45,
|
|
"severity": 2,
|
|
"score": 45,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "60",
|
|
"function": "runSync",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::cmd/verify.go::runVerifySmoke",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in runVerifySmoke",
|
|
"description": "Function 'runVerifySmoke' has cyclomatic complexity of 29 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "cmd/verify.go",
|
|
"line": 57,
|
|
"severity": 2,
|
|
"score": 14,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "29",
|
|
"function": "runVerifySmoke",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/ai/openai.go::embedBatch",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in embedBatch",
|
|
"description": "Function 'embedBatch' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/ai/openai.go",
|
|
"line": 118,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "embedBatch",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/ai/openai.go::QueryWithContext",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in QueryWithContext",
|
|
"description": "Function 'QueryWithContext' has cyclomatic complexity of 24 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/ai/openai.go",
|
|
"line": 200,
|
|
"severity": 2,
|
|
"score": 9,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "24",
|
|
"function": "QueryWithContext",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/config/config.go::ApplyDefaults",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in ApplyDefaults",
|
|
"description": "Function 'ApplyDefaults' has cyclomatic complexity of 62 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/config/config.go",
|
|
"line": 229,
|
|
"severity": 2,
|
|
"score": 47,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "62",
|
|
"function": "ApplyDefaults",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/indexer/indexer.go::chunkDocument",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in chunkDocument",
|
|
"description": "Function 'chunkDocument' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/indexer/indexer.go",
|
|
"line": 124,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "chunkDocument",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/projectstate/state.go::CollectDocsStats",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in CollectDocsStats",
|
|
"description": "Function 'CollectDocsStats' has cyclomatic complexity of 24 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/projectstate/state.go",
|
|
"line": 81,
|
|
"severity": 2,
|
|
"score": 9,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "24",
|
|
"function": "CollectDocsStats",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/analyzers/controlflow.go::analyzeFunction",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in analyzeFunction",
|
|
"description": "Function 'analyzeFunction' has cyclomatic complexity of 21 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/analyzers/controlflow.go",
|
|
"line": 81,
|
|
"severity": 2,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "21",
|
|
"function": "analyzeFunction",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "nesting::internal/quality/analyzers/dataflow.go::analyzeAssignment",
|
|
"type": "complexity",
|
|
"title": "Deep nesting in analyzeAssignment",
|
|
"description": "Function 'analyzeAssignment' has nesting depth of 5 (max: 4). Consider extracting logic into helper functions.",
|
|
"file": "internal/quality/analyzers/dataflow.go",
|
|
"line": 143,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"function": "analyzeAssignment",
|
|
"max_nesting": "4",
|
|
"nesting": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "nesting::internal/quality/analyzers/dataflow.go::getTaintSource",
|
|
"type": "complexity",
|
|
"title": "Deep nesting in getTaintSource",
|
|
"description": "Function 'getTaintSource' has nesting depth of 5 (max: 4). Consider extracting logic into helper functions.",
|
|
"file": "internal/quality/analyzers/dataflow.go",
|
|
"line": 197,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"function": "getTaintSource",
|
|
"max_nesting": "4",
|
|
"nesting": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/analyzers/dataflow.go::Detect",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Detect",
|
|
"description": "Function 'Detect' has cyclomatic complexity of 34 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/analyzers/dataflow.go",
|
|
"line": 419,
|
|
"severity": 2,
|
|
"score": 19,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "34",
|
|
"function": "Detect",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/analyzers/practices.go::DetectFrameworks",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in DetectFrameworks",
|
|
"description": "Function 'DetectFrameworks' has cyclomatic complexity of 23 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/analyzers/practices.go",
|
|
"line": 63,
|
|
"severity": 2,
|
|
"score": 8,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "23",
|
|
"function": "DetectFrameworks",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/detectors/complexity.go::analyzeFile",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in analyzeFile",
|
|
"description": "Function 'analyzeFile' has cyclomatic complexity of 26 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/detectors/complexity.go",
|
|
"line": 138,
|
|
"severity": 2,
|
|
"score": 11,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "26",
|
|
"function": "analyzeFile",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/detectors/duplication.go::levenshteinDistance",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in levenshteinDistance",
|
|
"description": "Function 'levenshteinDistance' has cyclomatic complexity of 21 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/detectors/duplication.go",
|
|
"line": 290,
|
|
"severity": 2,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "21",
|
|
"function": "levenshteinDistance",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/detectors/naming.go::classifyConvention",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in classifyConvention",
|
|
"description": "Function 'classifyConvention' has cyclomatic complexity of 25 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/detectors/naming.go",
|
|
"line": 147,
|
|
"severity": 2,
|
|
"score": 10,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "25",
|
|
"function": "classifyConvention",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/languages.go::FindFiles",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in FindFiles",
|
|
"description": "Function 'FindFiles' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/languages.go",
|
|
"line": 80,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "FindFiles",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/languages_test.go::TestGetSupportedLanguages",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestGetSupportedLanguages",
|
|
"description": "Function 'TestGetSupportedLanguages' has cyclomatic complexity of 22 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/languages_test.go",
|
|
"line": 10,
|
|
"severity": 2,
|
|
"score": 7,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "22",
|
|
"function": "TestGetSupportedLanguages",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/narrative.go::determinePhase",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in determinePhase",
|
|
"description": "Function 'determinePhase' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/narrative.go",
|
|
"line": 47,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "determinePhase",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/narrative.go::generateActions",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in generateActions",
|
|
"description": "Function 'generateActions' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/narrative.go",
|
|
"line": 159,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "generateActions",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/narrative.go::identifyRisks",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in identifyRisks",
|
|
"description": "Function 'identifyRisks' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/narrative.go",
|
|
"line": 376,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "identifyRisks",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/narrative_test.go::TestNarrativeGenerator_identifyRisks",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestNarrativeGenerator_identifyRisks",
|
|
"description": "Function 'TestNarrativeGenerator_identifyRisks' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/narrative_test.go",
|
|
"line": 532,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "TestNarrativeGenerator_identifyRisks",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/narrative_test.go::TestNarrativeGenerator_Generate",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestNarrativeGenerator_Generate",
|
|
"description": "Function 'TestNarrativeGenerator_Generate' has cyclomatic complexity of 22 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/narrative_test.go",
|
|
"line": 694,
|
|
"severity": 2,
|
|
"score": 7,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "22",
|
|
"function": "TestNarrativeGenerator_Generate",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/advanced.go::Detect",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Detect",
|
|
"description": "Function 'Detect' has cyclomatic complexity of 51 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 37,
|
|
"severity": 2,
|
|
"score": 36,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "51",
|
|
"function": "Detect",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/advanced.go::findEntryPoints",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in findEntryPoints",
|
|
"description": "Function 'findEntryPoints' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 192,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "findEntryPoints",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/advanced.go::Detect",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Detect",
|
|
"description": "Function 'Detect' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 315,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "Detect",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/advanced.go::Detect",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Detect",
|
|
"description": "Function 'Detect' has cyclomatic complexity of 68 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 460,
|
|
"severity": 2,
|
|
"score": 53,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "68",
|
|
"function": "Detect",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/deadcode.go::Detect",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Detect",
|
|
"description": "Function 'Detect' has cyclomatic complexity of 25 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/deadcode.go",
|
|
"line": 58,
|
|
"severity": 2,
|
|
"score": 10,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "25",
|
|
"function": "Detect",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/deadcode.go::analyzeFile",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in analyzeFile",
|
|
"description": "Function 'analyzeFile' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/deadcode.go",
|
|
"line": 161,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "analyzeFile",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/detectors.go::analyzeFile",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in analyzeFile",
|
|
"description": "Function 'analyzeFile' has cyclomatic complexity of 29 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 109,
|
|
"severity": 2,
|
|
"score": 14,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "29",
|
|
"function": "analyzeFile",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "nesting::internal/quality/plugins/go/analyzers/detectors.go::analyzeFile",
|
|
"type": "complexity",
|
|
"title": "Deep nesting in analyzeFile",
|
|
"description": "Function 'analyzeFile' has nesting depth of 6 (max: 4). Consider extracting logic into helper functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 109,
|
|
"severity": 3,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"function": "analyzeFile",
|
|
"max_nesting": "4",
|
|
"nesting": "6"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/detectors.go::analyzeFile",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in analyzeFile",
|
|
"description": "Function 'analyzeFile' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 237,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "analyzeFile",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/detectors.go::analyzeFile",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in analyzeFile",
|
|
"description": "Function 'analyzeFile' has cyclomatic complexity of 25 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 371,
|
|
"severity": 2,
|
|
"score": 10,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "25",
|
|
"function": "analyzeFile",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/detectors.go::calculateNesting",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in calculateNesting",
|
|
"description": "Function 'calculateNesting' has cyclomatic complexity of 22 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 446,
|
|
"severity": 2,
|
|
"score": 7,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "22",
|
|
"function": "calculateNesting",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "nesting::internal/quality/plugins/go/analyzers/security.go::checkAssignStmt",
|
|
"type": "complexity",
|
|
"title": "Deep nesting in checkAssignStmt",
|
|
"description": "Function 'checkAssignStmt' has nesting depth of 5 (max: 4). Consider extracting logic into helper functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/security.go",
|
|
"line": 160,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"function": "checkAssignStmt",
|
|
"max_nesting": "4",
|
|
"nesting": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/security.go::calculateNestingDepth",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in calculateNestingDepth",
|
|
"description": "Function 'calculateNestingDepth' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/security.go",
|
|
"line": 378,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "calculateNestingDepth",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/test_coverage.go::Detect",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Detect",
|
|
"description": "Function 'Detect' has cyclomatic complexity of 28 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 35,
|
|
"severity": 2,
|
|
"score": 13,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "28",
|
|
"function": "Detect",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/test_coverage.go::parseCoverageFile",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in parseCoverageFile",
|
|
"description": "Function 'parseCoverageFile' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 122,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "parseCoverageFile",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/test_coverage.go::Detect",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Detect",
|
|
"description": "Function 'Detect' has cyclomatic complexity of 27 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 209,
|
|
"severity": 2,
|
|
"score": 12,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "27",
|
|
"function": "Detect",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/test_coverage.go::findFuncAtLine",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in findFuncAtLine",
|
|
"description": "Function 'findFuncAtLine' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 305,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "findFuncAtLine",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/analyzers/test_coverage.go::Detect",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Detect",
|
|
"description": "Function 'Detect' has cyclomatic complexity of 21 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 356,
|
|
"severity": 2,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "21",
|
|
"function": "Detect",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/fixers/advanced_fixers.go::Fix",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Fix",
|
|
"description": "Function 'Fix' has cyclomatic complexity of 27 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/fixers/advanced_fixers.go",
|
|
"line": 35,
|
|
"severity": 2,
|
|
"score": 12,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "27",
|
|
"function": "Fix",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/plugins/go/fixers/advanced_fixers.go::Fix",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Fix",
|
|
"description": "Function 'Fix' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/plugins/go/fixers/advanced_fixers.go",
|
|
"line": 193,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "Fix",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/scanner.go::getSourceFiles",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in getSourceFiles",
|
|
"description": "Function 'getSourceFiles' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 131,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "getSourceFiles",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/scanner_test.go::TestScanner_Scan_Simple",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestScanner_Scan_Simple",
|
|
"description": "Function 'TestScanner_Scan_Simple' has cyclomatic complexity of 20 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/scanner_test.go",
|
|
"line": 135,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "20",
|
|
"function": "TestScanner_Scan_Simple",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/scoring.go::getScorePercentage",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in getScorePercentage",
|
|
"description": "Function 'getScorePercentage' has cyclomatic complexity of 24 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/scoring.go",
|
|
"line": 154,
|
|
"severity": 2,
|
|
"score": 9,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "24",
|
|
"function": "getScorePercentage",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/scoring.go::GetStrictHealthMetrics",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in GetStrictHealthMetrics",
|
|
"description": "Function 'GetStrictHealthMetrics' has cyclomatic complexity of 27 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/scoring.go",
|
|
"line": 183,
|
|
"severity": 2,
|
|
"score": 12,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "27",
|
|
"function": "GetStrictHealthMetrics",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/scoring.go::GetStrictGrade",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in GetStrictGrade",
|
|
"description": "Function 'GetStrictGrade' has cyclomatic complexity of 26 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/scoring.go",
|
|
"line": 262,
|
|
"severity": 2,
|
|
"score": 11,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "26",
|
|
"function": "GetStrictGrade",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/scoring_test.go::TestScorer_GenerateScorecard",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestScorer_GenerateScorecard",
|
|
"description": "Function 'TestScorer_GenerateScorecard' has cyclomatic complexity of 21 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/scoring_test.go",
|
|
"line": 94,
|
|
"severity": 2,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "21",
|
|
"function": "TestScorer_GenerateScorecard",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/state.go::findingsEqual",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in findingsEqual",
|
|
"description": "Function 'findingsEqual' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/state.go",
|
|
"line": 316,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "findingsEqual",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/state.go::FormatDiff",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in FormatDiff",
|
|
"description": "Function 'FormatDiff' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/state.go",
|
|
"line": 328,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "FormatDiff",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/state_test.go::TestStateManager_Load",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestStateManager_Load",
|
|
"description": "Function 'TestStateManager_Load' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/state_test.go",
|
|
"line": 34,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "TestStateManager_Load",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/quality/state_test.go::TestStateManager_saveHistory",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestStateManager_saveHistory",
|
|
"description": "Function 'TestStateManager_saveHistory' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/quality/state_test.go",
|
|
"line": 330,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "TestStateManager_saveHistory",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/external/pythondocs.go::buildClassContent",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in buildClassContent",
|
|
"description": "Function 'buildClassContent' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/external/pythondocs.go",
|
|
"line": 221,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "buildClassContent",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/external/rustdocs.go::buildCrateContent",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in buildCrateContent",
|
|
"description": "Function 'buildCrateContent' has cyclomatic complexity of 23 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/external/rustdocs.go",
|
|
"line": 170,
|
|
"severity": 2,
|
|
"score": 8,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "23",
|
|
"function": "buildCrateContent",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/github.go::Scrape",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Scrape",
|
|
"description": "Function 'Scrape' has cyclomatic complexity of 20 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/github.go",
|
|
"line": 24,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "20",
|
|
"function": "Scrape",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/github.go::DetectChanges",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in DetectChanges",
|
|
"description": "Function 'DetectChanges' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/github.go",
|
|
"line": 91,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "DetectChanges",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/github.go::resolveRepo",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in resolveRepo",
|
|
"description": "Function 'resolveRepo' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/github.go",
|
|
"line": 123,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "resolveRepo",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/local.go::Scrape",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Scrape",
|
|
"description": "Function 'Scrape' has cyclomatic complexity of 32 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/local.go",
|
|
"line": 26,
|
|
"severity": 2,
|
|
"score": 17,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "32",
|
|
"function": "Scrape",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/local.go::DetectChanges",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in DetectChanges",
|
|
"description": "Function 'DetectChanges' has cyclomatic complexity of 25 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/local.go",
|
|
"line": 99,
|
|
"severity": 2,
|
|
"score": 10,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "25",
|
|
"function": "DetectChanges",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/local_test.go::TestLocalScraperDetectChanges",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestLocalScraperDetectChanges",
|
|
"description": "Function 'TestLocalScraperDetectChanges' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/local_test.go",
|
|
"line": 33,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "TestLocalScraperDetectChanges",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/localsearch.go::Scrape",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Scrape",
|
|
"description": "Function 'Scrape' has cyclomatic complexity of 39 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/localsearch.go",
|
|
"line": 64,
|
|
"severity": 2,
|
|
"score": 24,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "39",
|
|
"function": "Scrape",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/localsearch.go::search",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in search",
|
|
"description": "Function 'search' has cyclomatic complexity of 21 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/localsearch.go",
|
|
"line": 188,
|
|
"severity": 2,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "21",
|
|
"function": "search",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/localsearch_test.go::TestLocalSearchScraperScrape",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestLocalSearchScraperScrape",
|
|
"description": "Function 'TestLocalSearchScraperScrape' has cyclomatic complexity of 21 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/localsearch_test.go",
|
|
"line": 14,
|
|
"severity": 2,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "21",
|
|
"function": "TestLocalSearchScraperScrape",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/localsearch_test.go::TestLocalSearchScraperDomainFilter",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestLocalSearchScraperDomainFilter",
|
|
"description": "Function 'TestLocalSearchScraperDomainFilter' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/localsearch_test.go",
|
|
"line": 78,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "TestLocalSearchScraperDomainFilter",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/localsearch_test.go::TestLocalSearchScraperDetectChanges",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestLocalSearchScraperDetectChanges",
|
|
"description": "Function 'TestLocalSearchScraperDetectChanges' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/localsearch_test.go",
|
|
"line": 160,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "TestLocalSearchScraperDetectChanges",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/openapi.go::Scrape",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Scrape",
|
|
"description": "Function 'Scrape' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/openapi.go",
|
|
"line": 38,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "Scrape",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/openapi.go::readSpec",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in readSpec",
|
|
"description": "Function 'readSpec' has cyclomatic complexity of 25 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/openapi.go",
|
|
"line": 129,
|
|
"severity": 2,
|
|
"score": 10,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "25",
|
|
"function": "readSpec",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/openapi.go::buildOperationContent",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in buildOperationContent",
|
|
"description": "Function 'buildOperationContent' has cyclomatic complexity of 22 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/openapi.go",
|
|
"line": 260,
|
|
"severity": 2,
|
|
"score": 7,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "22",
|
|
"function": "buildOperationContent",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/web.go::Scrape",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Scrape",
|
|
"description": "Function 'Scrape' has cyclomatic complexity of 64 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/web.go",
|
|
"line": 29,
|
|
"severity": 2,
|
|
"score": 49,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "64",
|
|
"function": "Scrape",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/scraper/wrapper.go::Scrape",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Scrape",
|
|
"description": "Function 'Scrape' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/scraper/wrapper.go",
|
|
"line": 24,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "Scrape",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/search/engine.go::Rebuild",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Rebuild",
|
|
"description": "Function 'Rebuild' has cyclomatic complexity of 23 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/search/engine.go",
|
|
"line": 109,
|
|
"severity": 2,
|
|
"score": 8,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "23",
|
|
"function": "Rebuild",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/search/engine.go::Search",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Search",
|
|
"description": "Function 'Search' has cyclomatic complexity of 30 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/search/engine.go",
|
|
"line": 227,
|
|
"severity": 2,
|
|
"score": 15,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "30",
|
|
"function": "Search",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/search/engine.go::bestSnippet",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in bestSnippet",
|
|
"description": "Function 'bestSnippet' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/search/engine.go",
|
|
"line": 458,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "bestSnippet",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/server/server.go::Start",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Start",
|
|
"description": "Function 'Start' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/server/server.go",
|
|
"line": 108,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "Start",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/server/server.go::Start",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in Start",
|
|
"description": "Function 'Start' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/server/server.go",
|
|
"line": 188,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "Start",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/storage/writer.go::SaveDocuments",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in SaveDocuments",
|
|
"description": "Function 'SaveDocuments' has cyclomatic complexity of 30 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/storage/writer.go",
|
|
"line": 29,
|
|
"severity": 2,
|
|
"score": 15,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "30",
|
|
"function": "SaveDocuments",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::internal/ui/character.go::PrintStatusWithCharacter",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in PrintStatusWithCharacter",
|
|
"description": "Function 'PrintStatusWithCharacter' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "internal/ui/character.go",
|
|
"line": 148,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "PrintStatusWithCharacter",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/cloudflaredocs/parser_test.go::TestParsePage",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestParsePage",
|
|
"description": "Function 'TestParsePage' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/cloudflaredocs/parser_test.go",
|
|
"line": 27,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "TestParsePage",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/dockerdocs/parser_test.go::TestParsePage",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestParsePage",
|
|
"description": "Function 'TestParsePage' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/dockerdocs/parser_test.go",
|
|
"line": 26,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "TestParsePage",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/godocs/parser.go::extractConstants",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractConstants",
|
|
"description": "Function 'extractConstants' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/godocs/parser.go",
|
|
"line": 477,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "extractConstants",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/godocs/parser.go::extractVariables",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractVariables",
|
|
"description": "Function 'extractVariables' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/godocs/parser.go",
|
|
"line": 531,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "extractVariables",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/godocs/parser_test.go::TestParsePackagePage",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in TestParsePackagePage",
|
|
"description": "Function 'TestParsePackagePage' has cyclomatic complexity of 21 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/godocs/parser_test.go",
|
|
"line": 101,
|
|
"severity": 2,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "21",
|
|
"function": "TestParsePackagePage",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/pythondocs/parser.go::ParseSearchResults",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in ParseSearchResults",
|
|
"description": "Function 'ParseSearchResults' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/pythondocs/parser.go",
|
|
"line": 48,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "ParseSearchResults",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/pythondocs/parser.go::extractClasses",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractClasses",
|
|
"description": "Function 'extractClasses' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/pythondocs/parser.go",
|
|
"line": 165,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "extractClasses",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/pythondocs/parser.go::extractFunctions",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractFunctions",
|
|
"description": "Function 'extractFunctions' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/pythondocs/parser.go",
|
|
"line": 226,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "extractFunctions",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/pythondocs/parser.go::parseMethod",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in parseMethod",
|
|
"description": "Function 'parseMethod' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/pythondocs/parser.go",
|
|
"line": 403,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "parseMethod",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/reactdocs/parser.go::extractHooks",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractHooks",
|
|
"description": "Function 'extractHooks' has cyclomatic complexity of 16 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/reactdocs/parser.go",
|
|
"line": 75,
|
|
"severity": 2,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "16",
|
|
"function": "extractHooks",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/reactdocs/parser.go::extractComponents",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractComponents",
|
|
"description": "Function 'extractComponents' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/reactdocs/parser.go",
|
|
"line": 118,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "extractComponents",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/reactdocs/parser.go::extractAPIs",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractAPIs",
|
|
"description": "Function 'extractAPIs' has cyclomatic complexity of 21 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/reactdocs/parser.go",
|
|
"line": 164,
|
|
"severity": 2,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "21",
|
|
"function": "extractAPIs",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/rustdocs/parser.go::extractItemKind",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractItemKind",
|
|
"description": "Function 'extractItemKind' has cyclomatic complexity of 21 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/rustdocs/parser.go",
|
|
"line": 233,
|
|
"severity": 2,
|
|
"score": 6,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "21",
|
|
"function": "extractItemKind",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/tsdocs/parser.go::extractInterfaces",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractInterfaces",
|
|
"description": "Function 'extractInterfaces' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/tsdocs/parser.go",
|
|
"line": 92,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "extractInterfaces",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/tsdocs/parser.go::extractFunctions",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractFunctions",
|
|
"description": "Function 'extractFunctions' has cyclomatic complexity of 19 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/tsdocs/parser.go",
|
|
"line": 164,
|
|
"severity": 2,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "19",
|
|
"function": "extractFunctions",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/vuedocs/parser.go::extractGlobalAPI",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractGlobalAPI",
|
|
"description": "Function 'extractGlobalAPI' has cyclomatic complexity of 18 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/vuedocs/parser.go",
|
|
"line": 79,
|
|
"severity": 2,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "18",
|
|
"function": "extractGlobalAPI",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/vuedocs/parser.go::extractCompositionAPI",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractCompositionAPI",
|
|
"description": "Function 'extractCompositionAPI' has cyclomatic complexity of 28 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/vuedocs/parser.go",
|
|
"line": 126,
|
|
"severity": 2,
|
|
"score": 13,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "28",
|
|
"function": "extractCompositionAPI",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "complexity::pkg/vuedocs/parser.go::extractSpecialAttrs",
|
|
"type": "complexity",
|
|
"title": "High cyclomatic complexity in extractSpecialAttrs",
|
|
"description": "Function 'extractSpecialAttrs' has cyclomatic complexity of 17 (max: 15). Consider breaking it into smaller functions.",
|
|
"file": "pkg/vuedocs/parser.go",
|
|
"line": 283,
|
|
"severity": 2,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"complexity": "17",
|
|
"function": "extractSpecialAttrs",
|
|
"max_complexity": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::cmd/ask.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 980 lines",
|
|
"description": "File 'ask.go' has 980 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "cmd/ask.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 9,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "980",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::cmd/quality.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 735 lines",
|
|
"description": "File 'quality.go' has 735 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "cmd/quality.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "735",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::internal/quality/analyzers/practices.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 601 lines",
|
|
"description": "File 'practices.go' has 601 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "internal/quality/analyzers/practices.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "601",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::internal/quality/narrative_test.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 755 lines",
|
|
"description": "File 'narrative_test.go' has 755 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "internal/quality/narrative_test.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "755",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::internal/quality/plugins/go/analyzers/advanced.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 633 lines",
|
|
"description": "File 'advanced.go' has 633 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "633",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::internal/quality/plugins/go/analyzers/detectors.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 505 lines",
|
|
"description": "File 'detectors.go' has 505 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 0,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "505",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 538 lines",
|
|
"description": "File 'test_coverage.go' has 538 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 0,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "538",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::internal/quality/scanner_test.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 603 lines",
|
|
"description": "File 'scanner_test.go' has 603 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "internal/quality/scanner_test.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "603",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::internal/quality/scoring_test.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 568 lines",
|
|
"description": "File 'scoring_test.go' has 568 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "internal/quality/scoring_test.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "568",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::internal/quality/state_test.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 602 lines",
|
|
"description": "File 'state_test.go' has 602 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "internal/quality/state_test.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "602",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::internal/scraper/external/rustdocs.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 564 lines",
|
|
"description": "File 'rustdocs.go' has 564 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "internal/scraper/external/rustdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "564",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::internal/search/engine.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 529 lines",
|
|
"description": "File 'engine.go' has 529 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "internal/search/engine.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 0,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "529",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::pkg/godocs/parser.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 686 lines",
|
|
"description": "File 'parser.go' has 686 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "pkg/godocs/parser.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "686",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::pkg/pythondocs/parser.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 543 lines",
|
|
"description": "File 'parser.go' has 543 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "pkg/pythondocs/parser.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 0,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "543",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "large_file::pkg/rustdocs/parser.go",
|
|
"type": "large_file",
|
|
"title": "Large file detected: 621 lines",
|
|
"description": "File 'parser.go' has 621 lines (max: 500). Consider splitting into smaller, focused files.",
|
|
"file": "pkg/rustdocs/parser.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"loc": "621",
|
|
"max_loc": "500"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::cleanup_unused.go::19",
|
|
"type": "debug_log",
|
|
"title": "Potential debug print in non-CLI code",
|
|
"description": "Found 'fmt.Println' in library code. Consider using structured logging or returning errors.",
|
|
"file": "cleanup_unused.go",
|
|
"line": 19,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "fmt.Println"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::cleanup_unused.go::43",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Fatal' statement. Consider using structured logging instead.",
|
|
"file": "cleanup_unused.go",
|
|
"line": 43,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Fatal"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::cleanup_unused.go::51",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "cleanup_unused.go",
|
|
"line": 51,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::cleanup_unused.go::106",
|
|
"type": "debug_log",
|
|
"title": "Potential debug print in non-CLI code",
|
|
"description": "Found 'fmt.Printf' in library code. Consider using structured logging or returning errors.",
|
|
"file": "cleanup_unused.go",
|
|
"line": 106,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "fmt.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/indexer/indexer.go::239",
|
|
"type": "debug_log",
|
|
"title": "Potential debug print in non-CLI code",
|
|
"description": "Found 'fmt.Printf' in library code. Consider using structured logging or returning errors.",
|
|
"file": "internal/indexer/indexer.go",
|
|
"line": 239,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "fmt.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/quality/detectors/complexity.go::127",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "internal/quality/detectors/complexity.go",
|
|
"line": 127,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/quality/detectors/duplication.go::62",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "internal/quality/detectors/duplication.go",
|
|
"line": 62,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/quality/scanner.go::42",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 42,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/quality/scanner.go::51",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 51,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/quality/scanner.go::61",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 61,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/quality/scanner.go::65",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 65,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/quality/scanner.go::71",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 71,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/quality/scanner.go::78",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 78,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/quality/scanner.go::86",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 86,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/quality/scanner.go::103",
|
|
"type": "debug_log",
|
|
"title": "Debug log statement detected",
|
|
"description": "Found 'log.Printf' statement. Consider using structured logging instead.",
|
|
"file": "internal/quality/scanner.go",
|
|
"line": 103,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "log.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/scraper/web.go::104",
|
|
"type": "debug_log",
|
|
"title": "Potential debug print in non-CLI code",
|
|
"description": "Found 'fmt.Printf' in library code. Consider using structured logging or returning errors.",
|
|
"file": "internal/scraper/web.go",
|
|
"line": 104,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "fmt.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "debug_log::internal/scraper/web.go::239",
|
|
"type": "debug_log",
|
|
"title": "Potential debug print in non-CLI code",
|
|
"description": "Found 'fmt.Printf' in library code. Consider using structured logging or returning errors.",
|
|
"file": "internal/scraper/web.go",
|
|
"line": 239,
|
|
"severity": 1,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"call": "fmt.Printf"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go::buildOperationContent",
|
|
"type": "single_use",
|
|
"title": "Single-use function: buildOperationContent",
|
|
"description": "Function 'buildOperationContent' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go",
|
|
"line": 260,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "50",
|
|
"name": "buildOperationContent",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/search/engine.go::lexicalScore",
|
|
"type": "single_use",
|
|
"title": "Single-use function: lexicalScore",
|
|
"description": "Function 'lexicalScore' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/search/engine.go",
|
|
"line": 426,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "31",
|
|
"name": "lexicalScore",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/pkg/pythondocs/parser.go::extractPathFromURL",
|
|
"type": "single_use",
|
|
"title": "Single-use function: extractPathFromURL",
|
|
"description": "Function 'extractPathFromURL' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/pkg/pythondocs/parser.go",
|
|
"line": 521,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "18",
|
|
"name": "extractPathFromURL",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/wrapper.go::isRetriableScrapeError",
|
|
"type": "single_use",
|
|
"title": "Single-use function: isRetriableScrapeError",
|
|
"description": "Function 'isRetriableScrapeError' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/wrapper.go",
|
|
"line": 66,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "21",
|
|
"name": "isRetriableScrapeError",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/search/engine.go::parseDocFile",
|
|
"type": "single_use",
|
|
"title": "Single-use function: parseDocFile",
|
|
"description": "Function 'parseDocFile' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/search/engine.go",
|
|
"line": 356,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "22",
|
|
"name": "parseDocFile",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/pkg/rustdocs/parser.go::extractKindFromClasses",
|
|
"type": "single_use",
|
|
"title": "Single-use function: extractKindFromClasses",
|
|
"description": "Function 'extractKindFromClasses' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/pkg/rustdocs/parser.go",
|
|
"line": 593,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "18",
|
|
"name": "extractKindFromClasses",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/normalize.go::inferTitleFromURL",
|
|
"type": "single_use",
|
|
"title": "Single-use function: inferTitleFromURL",
|
|
"description": "Function 'inferTitleFromURL' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/normalize.go",
|
|
"line": 62,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "27",
|
|
"name": "inferTitleFromURL",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/search/engine.go::bestSnippet",
|
|
"type": "single_use",
|
|
"title": "Single-use function: bestSnippet",
|
|
"description": "Function 'bestSnippet' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/search/engine.go",
|
|
"line": 458,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "33",
|
|
"name": "bestSnippet",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/config/config.go::findConfigPath",
|
|
"type": "single_use",
|
|
"title": "Single-use function: findConfigPath",
|
|
"description": "Function 'findConfigPath' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/config/config.go",
|
|
"line": 327,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "28",
|
|
"name": "findConfigPath",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/storage/writer.go::uniqueName",
|
|
"type": "single_use",
|
|
"title": "Single-use function: uniqueName",
|
|
"description": "Function 'uniqueName' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/storage/writer.go",
|
|
"line": 136,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "14",
|
|
"name": "uniqueName",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/web.go::pathScopePrefix",
|
|
"type": "single_use",
|
|
"title": "Single-use function: pathScopePrefix",
|
|
"description": "Function 'pathScopePrefix' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/web.go",
|
|
"line": 423,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "22",
|
|
"name": "pathScopePrefix",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/pkg/springdocs/parser.go::extractSpringMethodName",
|
|
"type": "single_use",
|
|
"title": "Single-use function: extractSpringMethodName",
|
|
"description": "Function 'extractSpringMethodName' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/pkg/springdocs/parser.go",
|
|
"line": 273,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "11",
|
|
"name": "extractSpringMethodName",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/localsearch.go::normalizeDomain",
|
|
"type": "single_use",
|
|
"title": "Single-use function: normalizeDomain",
|
|
"description": "Function 'normalizeDomain' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/localsearch.go",
|
|
"line": 390,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "13",
|
|
"name": "normalizeDomain",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/web.go::cleanText",
|
|
"type": "single_use",
|
|
"title": "Single-use function: cleanText",
|
|
"description": "Function 'cleanText' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/web.go",
|
|
"line": 393,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "29",
|
|
"name": "cleanText",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/web.go::pathScopeLeaf",
|
|
"type": "single_use",
|
|
"title": "Single-use function: pathScopeLeaf",
|
|
"description": "Function 'pathScopeLeaf' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/web.go",
|
|
"line": 446,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "11",
|
|
"name": "pathScopeLeaf",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/storage/writer.go::slugify",
|
|
"type": "single_use",
|
|
"title": "Single-use function: slugify",
|
|
"description": "Function 'slugify' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/storage/writer.go",
|
|
"line": 114,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "21",
|
|
"name": "slugify",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/markdown/formatter.go::titleCase",
|
|
"type": "single_use",
|
|
"title": "Single-use function: titleCase",
|
|
"description": "Function 'titleCase' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/markdown/formatter.go",
|
|
"line": 17,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "12",
|
|
"name": "titleCase",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/localsearch.go::buildLocalSearchURL",
|
|
"type": "single_use",
|
|
"title": "Single-use function: buildLocalSearchURL",
|
|
"description": "Function 'buildLocalSearchURL' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/localsearch.go",
|
|
"line": 233,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "21",
|
|
"name": "buildLocalSearchURL",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/localsearch.go::pickFloat",
|
|
"type": "single_use",
|
|
"title": "Single-use function: pickFloat",
|
|
"description": "Function 'pickFloat' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/localsearch.go",
|
|
"line": 315,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "29",
|
|
"name": "pickFloat",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/search/engine.go::markdownTitle",
|
|
"type": "single_use",
|
|
"title": "Single-use function: markdownTitle",
|
|
"description": "Function 'markdownTitle' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/search/engine.go",
|
|
"line": 379,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "13",
|
|
"name": "markdownTitle",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go::buildMainSpecContent",
|
|
"type": "single_use",
|
|
"title": "Single-use function: buildMainSpecContent",
|
|
"description": "Function 'buildMainSpecContent' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go",
|
|
"line": 234,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "25",
|
|
"name": "buildMainSpecContent",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go::parseOpenAPISpec",
|
|
"type": "single_use",
|
|
"title": "Single-use function: parseOpenAPISpec",
|
|
"description": "Function 'parseOpenAPISpec' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go",
|
|
"line": 213,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "20",
|
|
"name": "parseOpenAPISpec",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/detectors/duplication.go::min",
|
|
"type": "single_use",
|
|
"title": "Single-use function: min",
|
|
"description": "Function 'min' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/detectors/duplication.go",
|
|
"line": 339,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "12",
|
|
"name": "min",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/normalize.go::normalizeTitle",
|
|
"type": "single_use",
|
|
"title": "Single-use function: normalizeTitle",
|
|
"description": "Function 'normalizeTitle' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/normalize.go",
|
|
"line": 42,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "11",
|
|
"name": "normalizeTitle",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/vector/store.go::cosineSimilarity",
|
|
"type": "single_use",
|
|
"title": "Single-use function: cosineSimilarity",
|
|
"description": "Function 'cosineSimilarity' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/vector/store.go",
|
|
"line": 253,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "18",
|
|
"name": "cosineSimilarity",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/pkg/javadocs/parser.go::extractMethodName",
|
|
"type": "single_use",
|
|
"title": "Single-use function: extractMethodName",
|
|
"description": "Function 'extractMethodName' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/pkg/javadocs/parser.go",
|
|
"line": 341,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "11",
|
|
"name": "extractMethodName",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/wrapper.go::sleepWithContext",
|
|
"type": "single_use",
|
|
"title": "Single-use function: sleepWithContext",
|
|
"description": "Function 'sleepWithContext' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/wrapper.go",
|
|
"line": 88,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "11",
|
|
"name": "sleepWithContext",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go::sanitizeFragment",
|
|
"type": "single_use",
|
|
"title": "Single-use function: sanitizeFragment",
|
|
"description": "Function 'sanitizeFragment' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go",
|
|
"line": 311,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "11",
|
|
"name": "sanitizeFragment",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/localsearch.go::decodeLocalSearchResults",
|
|
"type": "single_use",
|
|
"title": "Single-use function: decodeLocalSearchResults",
|
|
"description": "Function 'decodeLocalSearchResults' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/localsearch.go",
|
|
"line": 255,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "39",
|
|
"name": "decodeLocalSearchResults",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_func::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/search/engine.go::bestTitle",
|
|
"type": "single_use",
|
|
"title": "Single-use function: bestTitle",
|
|
"description": "Function 'bestTitle' is only used once. Consider inlining it or documenting its purpose.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/search/engine.go",
|
|
"line": 496,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"loc": "14",
|
|
"name": "bestTitle",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_type::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go::openAPIParameter",
|
|
"type": "single_use",
|
|
"title": "Single-use type: openAPIParameter",
|
|
"description": "Type 'openAPIParameter' is only used once. Consider if this abstraction is necessary.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go",
|
|
"line": 202,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"name": "openAPIParameter",
|
|
"underlying": "struct{Name string \"json:\\\"name\\\" yaml:\\\"name\\\"\"; In string \"json:\\\"in\\\" yaml:\\\"in\\\"\"; Description string \"json:\\\"description\\\" yaml:\\\"description\\\"\"; Required bool \"json:\\\"required\\\" yaml:\\\"required\\\"\"}",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_type::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/projectstate/state.go::docSummary",
|
|
"type": "single_use",
|
|
"title": "Single-use type: docSummary",
|
|
"description": "Type 'docSummary' is only used once. Consider if this abstraction is necessary.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/projectstate/state.go",
|
|
"line": 35,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"name": "docSummary",
|
|
"underlying": "struct{Source string \"json:\\\"source\\\"\"}",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_type::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go::response",
|
|
"type": "single_use",
|
|
"title": "Single-use type: response",
|
|
"description": "Type 'response' is only used once. Consider if this abstraction is necessary.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go",
|
|
"line": 209,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"name": "response",
|
|
"underlying": "struct{Description string \"json:\\\"description\\\" yaml:\\\"description\\\"\"}",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_type::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go::openAPIInfo",
|
|
"type": "single_use",
|
|
"title": "Single-use type: openAPIInfo",
|
|
"description": "Type 'openAPIInfo' is only used once. Consider if this abstraction is necessary.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go",
|
|
"line": 177,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"name": "openAPIInfo",
|
|
"underlying": "struct{Title string \"json:\\\"title\\\" yaml:\\\"title\\\"\"; Version string \"json:\\\"version\\\" yaml:\\\"version\\\"\"; Description string \"json:\\\"description\\\" yaml:\\\"description\\\"\"}",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_type::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go::openAPIServer",
|
|
"type": "single_use",
|
|
"title": "Single-use type: openAPIServer",
|
|
"description": "Type 'openAPIServer' is only used once. Consider if this abstraction is necessary.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/openapi.go",
|
|
"line": 183,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"name": "openAPIServer",
|
|
"underlying": "struct{URL string \"json:\\\"url\\\" yaml:\\\"url\\\"\"; Description string \"json:\\\"description\\\" yaml:\\\"description\\\"\"}",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "single_use_type::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/docs_evidence.go::docsEvidence",
|
|
"type": "single_use",
|
|
"title": "Single-use type: docsEvidence",
|
|
"description": "Type 'docsEvidence' is only used once. Consider if this abstraction is necessary.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/docs_evidence.go",
|
|
"line": 5,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.74",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Single-use abstractions can reduce clarity unless they encode reusable domain behavior.",
|
|
"docs_evidence_urls": "https://go.dev/doc/effective_go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "false",
|
|
"name": "docsEvidence",
|
|
"underlying": "struct{URLs []string; Rationale string; Confidence string}",
|
|
"usage_count": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/plugins/go/plugin.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: plugin.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/plugins/go/plugin.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/plugins/go/plugin.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "308"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/register.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: register.go (26.4%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/register.go' has only 26.4% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/register.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "26.4",
|
|
"covered_lines": "14",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "53"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/openapi.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: openapi.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/openapi.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/openapi.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/godocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: godocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/godocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/godocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "384"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: test_coverage.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/plugins/go/analyzers/test_coverage.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "438"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/plugins/go/fixers/fixers.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: fixers.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/plugins/go/fixers/fixers.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/plugins/go/fixers/fixers.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "93"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/push.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: push.go (17.4%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/push.go' has only 17.4% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/push.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "17.4",
|
|
"covered_lines": "4",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "23"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/quality.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: quality.go (6.8%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/quality.go' has only 6.8% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/quality.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "6.8",
|
|
"covered_lines": "36",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "529"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/nuxtdocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: nuxtdocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/nuxtdocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/nuxtdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "266"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/ui/character.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: character.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/ui/character.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/ui/character.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "83"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/server/server.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: server.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/server/server.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/server/server.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "26"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/markdown/formatter.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: formatter.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/markdown/formatter.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/markdown/formatter.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "147"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/detectors/naming.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: naming.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/detectors/naming.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/detectors/naming.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "184"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/serve.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: serve.go (18.5%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/serve.go' has only 18.5% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/serve.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "18.5",
|
|
"covered_lines": "5",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "27"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/pkg/springdocs/parser.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: parser.go (38.5%)",
|
|
"description": "File 'github.com/yourorg/devour/pkg/springdocs/parser.go' has only 38.5% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/pkg/springdocs/parser.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "38.5",
|
|
"covered_lines": "105",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "273"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/javadocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: javadocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/javadocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/javadocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "221"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/wrapper.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: wrapper.go (37.3%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/wrapper.go' has only 37.3% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/wrapper.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "37.3",
|
|
"covered_lines": "28",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "75"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/query.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: query.go (17.9%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/query.go' has only 17.9% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/query.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "17.9",
|
|
"covered_lines": "5",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "28"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/scorecard.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: scorecard.go (11.3%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/scorecard.go' has only 11.3% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/scorecard.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 3,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "11.3",
|
|
"covered_lines": "6",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "53"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/status.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: status.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/status.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/status.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "37"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/detectors/complexity.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: complexity.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/detectors/complexity.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/detectors/complexity.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "166"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/realtest/main.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: main.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/realtest/main.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/realtest/main.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "109"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/local.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: local.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/local.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/local.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/indexer/indexer.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: indexer.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/indexer/indexer.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/indexer/indexer.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "184"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/analyzers/dataflow.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: dataflow.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/analyzers/dataflow.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/analyzers/dataflow.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "393"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/vuedocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: vuedocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/vuedocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/vuedocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "212"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/vector/store.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: store.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/vector/store.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/vector/store.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "173"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/ui/banner.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: banner.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/ui/banner.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/ui/banner.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "126"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/ask.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: ask.go (31.2%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/ask.go' has only 31.2% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/ask.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "31.2",
|
|
"covered_lines": "183",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "587"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/github.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: github.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/github.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/github.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "15"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/rustdocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: rustdocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/rustdocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/rustdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "518"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/plugins/go/analyzers/deadcode.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: deadcode.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/plugins/go/analyzers/deadcode.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/plugins/go/analyzers/deadcode.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "284"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/review/packet.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: packet.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/review/packet.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/review/packet.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "236"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/plugins/registry.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: registry.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/plugins/registry.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/plugins/registry.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "79"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/ai/ai.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: ai.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/ai/ai.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/ai/ai.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "8"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/pkg/javadocs/parser.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: parser.go (39.8%)",
|
|
"description": "File 'github.com/yourorg/devour/pkg/javadocs/parser.go' has only 39.8% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/pkg/javadocs/parser.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 1,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "39.8",
|
|
"covered_lines": "131",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "329"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/cloudflaredocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: cloudflaredocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/cloudflaredocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/cloudflaredocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "164"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/pythondocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: pythondocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/pythondocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/pythondocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "417"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/plugins/go/analyzers/security.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: security.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/plugins/go/analyzers/security.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/plugins/go/analyzers/security.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "347"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/analyzers/practices.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: practices.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/analyzers/practices.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/analyzers/practices.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "555"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/pkg/client/client.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: client.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/pkg/client/client.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/pkg/client/client.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "18"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/ai/openai.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: openai.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/ai/openai.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/ai/openai.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "192"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/dockerdocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: dockerdocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/dockerdocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/dockerdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "127"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/scrape.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: scrape.go (23.9%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/scrape.go' has only 23.9% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/scrape.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "23.9",
|
|
"covered_lines": "49",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "205"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/examples/demo_scrapers.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: demo_scrapers.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/examples/demo_scrapers.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/examples/demo_scrapers.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "179"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/tsdocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: tsdocs.go (42.8%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/tsdocs.go' has only 42.8% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/tsdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 0,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "42.8",
|
|
"covered_lines": "104",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "243"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/plugins/go/analyzers/advanced.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: advanced.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/plugins/go/analyzers/advanced.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "493"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/plugins/go/analyzers/detectors.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: detectors.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/plugins/go/analyzers/detectors.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "430"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/analyzers/controlflow.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: controlflow.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/analyzers/controlflow.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/analyzers/controlflow.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "379"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/mcpdocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: mcpdocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/mcpdocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/mcpdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "191"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/reactdocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: reactdocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/reactdocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/reactdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "183"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/init.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: init.go (3.5%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/init.go' has only 3.5% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/init.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "3.5",
|
|
"covered_lines": "4",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "113"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/detectors/duplication.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: duplication.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/detectors/duplication.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/detectors/duplication.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "279"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scheduler/scheduler.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: scheduler.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scheduler/scheduler.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scheduler/scheduler.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "37"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/quality/plugins/go/fixers/advanced_fixers.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: advanced_fixers.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/quality/plugins/go/fixers/advanced_fixers.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/quality/plugins/go/fixers/advanced_fixers.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "231"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/demo.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: demo.go (3.1%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/demo.go' has only 3.1% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/demo.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "3.1",
|
|
"covered_lines": "3",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "97"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/sync.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: sync.go (22.7%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/sync.go' has only 22.7% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/sync.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "22.7",
|
|
"covered_lines": "5",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "22"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/devour/main.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: main.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/devour/main.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/devour/main.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "3"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/main.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: main.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/main.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/main.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "3"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/languages.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: languages.go (2.5%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/languages.go' has only 2.5% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/languages.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "2.5",
|
|
"covered_lines": "3",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "121"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/astrodocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: astrodocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/astrodocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/astrodocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "127"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/internal/scraper/external/springdocs.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: springdocs.go (0.0%)",
|
|
"description": "File 'github.com/yourorg/devour/internal/scraper/external/springdocs.go' has only 0.0% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/internal/scraper/external/springdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "0.0",
|
|
"covered_lines": "0",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "190"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "test_coverage::github.com/yourorg/devour/cmd/root.go",
|
|
"type": "test_coverage",
|
|
"title": "Low test coverage: root.go (43.8%)",
|
|
"description": "File 'github.com/yourorg/devour/cmd/root.go' has only 43.8% test coverage (minimum: 50.0%). Add more tests.",
|
|
"file": "github.com/yourorg/devour/cmd/root.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 0,
|
|
"status": "open",
|
|
"metadata": {
|
|
"coverage_percent": "43.8",
|
|
"covered_lines": "21",
|
|
"docs_evidence_confidence": "0.78",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Coverage gaps on changed code increase regression probability.",
|
|
"docs_evidence_urls": "https://go.dev/doc/tutorial/add-a-test | https://pkg.go.dev/testing",
|
|
"min_coverage": "50.0",
|
|
"total_lines": "48"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/auto.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: auto.go",
|
|
"description": "File 'cmd/auto.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/auto.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/demo.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: demo.go",
|
|
"description": "File 'cmd/demo.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/demo.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/init.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: init.go",
|
|
"description": "File 'cmd/init.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/init.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/languages.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: languages.go",
|
|
"description": "File 'cmd/languages.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/languages.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/push.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: push.go",
|
|
"description": "File 'cmd/push.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/push.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/quality.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: quality.go",
|
|
"description": "File 'cmd/quality.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/quality.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/query.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: query.go",
|
|
"description": "File 'cmd/query.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/query.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/runtime_helpers.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: runtime_helpers.go",
|
|
"description": "File 'cmd/runtime_helpers.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/runtime_helpers.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/scorecard.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: scorecard.go",
|
|
"description": "File 'cmd/scorecard.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/scorecard.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/serve.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: serve.go",
|
|
"description": "File 'cmd/serve.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/serve.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/status.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: status.go",
|
|
"description": "File 'cmd/status.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/status.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/sync.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: sync.go",
|
|
"description": "File 'cmd/sync.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/sync.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::cmd/verify.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: verify.go",
|
|
"description": "File 'cmd/verify.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "cmd/verify.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "17",
|
|
"sibling_tests": "5"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/quality/docs_evidence.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: docs_evidence.go",
|
|
"description": "File 'internal/quality/docs_evidence.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/quality/docs_evidence.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "9",
|
|
"sibling_tests": "7"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/quality/enhanced_types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: enhanced_types.go",
|
|
"description": "File 'internal/quality/enhanced_types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/quality/enhanced_types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "9",
|
|
"sibling_tests": "7"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/quality/plugins/go/analyzers/advanced.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: advanced.go",
|
|
"description": "File 'internal/quality/plugins/go/analyzers/advanced.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "5",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/quality/plugins/go/analyzers/detectors.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: detectors.go",
|
|
"description": "File 'internal/quality/plugins/go/analyzers/detectors.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/quality/plugins/go/analyzers/detectors.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "5",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/quality/plugins/go/analyzers/security.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: security.go",
|
|
"description": "File 'internal/quality/plugins/go/analyzers/security.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/quality/plugins/go/analyzers/security.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "5",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: test_coverage.go",
|
|
"description": "File 'internal/quality/plugins/go/analyzers/test_coverage.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "5",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/quality/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'internal/quality/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/quality/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "9",
|
|
"sibling_tests": "7"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/astrodocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: astrodocs.go",
|
|
"description": "File 'internal/scraper/external/astrodocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/astrodocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/cloudflaredocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: cloudflaredocs.go",
|
|
"description": "File 'internal/scraper/external/cloudflaredocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/cloudflaredocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/dockerdocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: dockerdocs.go",
|
|
"description": "File 'internal/scraper/external/dockerdocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/dockerdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/godocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: godocs.go",
|
|
"description": "File 'internal/scraper/external/godocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/godocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/javadocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: javadocs.go",
|
|
"description": "File 'internal/scraper/external/javadocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/javadocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/mcpdocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: mcpdocs.go",
|
|
"description": "File 'internal/scraper/external/mcpdocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/mcpdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/nuxtdocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: nuxtdocs.go",
|
|
"description": "File 'internal/scraper/external/nuxtdocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/nuxtdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/pythondocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: pythondocs.go",
|
|
"description": "File 'internal/scraper/external/pythondocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/pythondocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/reactdocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: reactdocs.go",
|
|
"description": "File 'internal/scraper/external/reactdocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/reactdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/register.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: register.go",
|
|
"description": "File 'internal/scraper/external/register.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/register.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/rustdocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: rustdocs.go",
|
|
"description": "File 'internal/scraper/external/rustdocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/rustdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/springdocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: springdocs.go",
|
|
"description": "File 'internal/scraper/external/springdocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/springdocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'internal/scraper/external/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/external/vuedocs.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: vuedocs.go",
|
|
"description": "File 'internal/scraper/external/vuedocs.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/external/vuedocs.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "15",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/github.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: github.go",
|
|
"description": "File 'internal/scraper/github.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/github.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "10",
|
|
"sibling_tests": "7"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/register_core.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: register_core.go",
|
|
"description": "File 'internal/scraper/register_core.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/register_core.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "10",
|
|
"sibling_tests": "7"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/registry_simple.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: registry_simple.go",
|
|
"description": "File 'internal/scraper/registry_simple.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/registry_simple.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "10",
|
|
"sibling_tests": "7"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/scraper.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: scraper.go",
|
|
"description": "File 'internal/scraper/scraper.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/scraper.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "10",
|
|
"sibling_tests": "7"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::internal/scraper/web.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: web.go",
|
|
"description": "File 'internal/scraper/web.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "internal/scraper/web.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "10",
|
|
"sibling_tests": "7"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/astrodocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/astrodocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/astrodocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/cloudflaredocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/cloudflaredocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/cloudflaredocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/dockerdocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/dockerdocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/dockerdocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/godocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/godocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/godocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/javadocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/javadocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/javadocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/mcpdocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/mcpdocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/mcpdocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/nuxtdocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/nuxtdocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/nuxtdocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/pythondocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/pythondocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/pythondocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/reactdocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/reactdocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/reactdocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/rustdocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/rustdocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/rustdocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/springdocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/springdocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/springdocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/tsdocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/tsdocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/tsdocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "orphaned_file::pkg/vuedocs/types.go",
|
|
"type": "orphaned_file",
|
|
"title": "File without dedicated tests: types.go",
|
|
"description": "File 'pkg/vuedocs/types.go' has no corresponding _test.go file, but sibling files do. Consider adding tests.",
|
|
"file": "pkg/vuedocs/types.go",
|
|
"line": 1,
|
|
"severity": 3,
|
|
"score": 2,
|
|
"status": "open",
|
|
"metadata": {
|
|
"sibling_go": "2",
|
|
"sibling_tests": "1"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go::GetColoredCharacter",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetColoredCharacter",
|
|
"description": "The exported function 'GetColoredCharacter' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go",
|
|
"line": 138,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetColoredCharacter",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/scoring.go::GetProgressMetrics",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetProgressMetrics",
|
|
"description": "The exported function 'GetProgressMetrics' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/scoring.go",
|
|
"line": 463,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetProgressMetrics",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::DefaultBoxStyle",
|
|
"type": "dead_code",
|
|
"title": "Unused exported variable: DefaultBoxStyle",
|
|
"description": "The exported variable 'DefaultBoxStyle' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 154,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "DefaultBoxStyle",
|
|
"obj_type": "variable",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/analyzers/advanced.go::Detect",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Detect",
|
|
"description": "The exported function 'Detect' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/analyzers/advanced.go",
|
|
"line": 37,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Detect",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go/analyzers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::PrintVersionInfo",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintVersionInfo",
|
|
"description": "The exported function 'PrintVersionInfo' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 125,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintVersionInfo",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go::BuildDependencyGraph",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: BuildDependencyGraph",
|
|
"description": "The exported function 'BuildDependencyGraph' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go",
|
|
"line": 36,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "BuildDependencyGraph",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go::Diff",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Diff",
|
|
"description": "The exported function 'Diff' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go",
|
|
"line": 168,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Diff",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go::Name",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Name",
|
|
"description": "The exported function 'Name' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go",
|
|
"line": 27,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Name",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go::GetFindingsByTier",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetFindingsByTier",
|
|
"description": "The exported function 'GetFindingsByTier' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go",
|
|
"line": 299,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetFindingsByTier",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go::GetOpenFindings",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetOpenFindings",
|
|
"description": "The exported function 'GetOpenFindings' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go",
|
|
"line": 288,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetOpenFindings",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/analyzers/test_coverage.go::ParseGoTestJSON",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: ParseGoTestJSON",
|
|
"description": "The exported function 'ParseGoTestJSON' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/analyzers/test_coverage.go",
|
|
"line": 496,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "ParseGoTestJSON",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go/analyzers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go::DefaultSrcDir",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: DefaultSrcDir",
|
|
"description": "The exported function 'DefaultSrcDir' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go",
|
|
"line": 24,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "DefaultSrcDir",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::PrintWarning",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintWarning",
|
|
"description": "The exported function 'PrintWarning' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 109,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintWarning",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go::GetTrend",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetTrend",
|
|
"description": "The exported function 'GetTrend' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go",
|
|
"line": 308,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetTrend",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/server/server.go::Stop",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Stop",
|
|
"description": "The exported function 'Stop' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/server/server.go",
|
|
"line": 168,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Stop",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/server"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/registry.go::GetForExtension",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetForExtension",
|
|
"description": "The exported function 'GetForExtension' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/registry.go",
|
|
"line": 98,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetForExtension",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/indexer/indexer.go::Stats",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Stats",
|
|
"description": "The exported function 'Stats' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/indexer/indexer.go",
|
|
"line": 248,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Stats",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/indexer"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/dataflow.go::Detect",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Detect",
|
|
"description": "The exported function 'Detect' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/dataflow.go",
|
|
"line": 99,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Detect",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/analyzers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go::DefaultSrcDir",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: DefaultSrcDir",
|
|
"description": "The exported function 'DefaultSrcDir' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go",
|
|
"line": 39,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "DefaultSrcDir",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/narrative.go::Generate",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Generate",
|
|
"description": "The exported function 'Generate' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/narrative.go",
|
|
"line": 19,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Generate",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/registry.go::All",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: All",
|
|
"description": "The exported function 'All' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/registry.go",
|
|
"line": 44,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "All",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/external/reactdocs.go::DetectChanges",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: DetectChanges",
|
|
"description": "The exported function 'DetectChanges' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/external/reactdocs.go",
|
|
"line": 70,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "DetectChanges",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/scraper/external"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scheduler/scheduler.go::Start",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Start",
|
|
"description": "The exported function 'Start' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scheduler/scheduler.go",
|
|
"line": 42,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Start",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/scheduler"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/indexer/indexer.go::Search",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Search",
|
|
"description": "The exported function 'Search' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/indexer/indexer.go",
|
|
"line": 194,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Search",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/indexer"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go::PrintWithColor",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintWithColor",
|
|
"description": "The exported function 'PrintWithColor' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go",
|
|
"line": 126,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintWithColor",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ai/openai.go::QueryWithContext",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: QueryWithContext",
|
|
"description": "The exported function 'QueryWithContext' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ai/openai.go",
|
|
"line": 296,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "QueryWithContext",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ai"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ai/ai.go::Embed",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Embed",
|
|
"description": "The exported function 'Embed' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ai/ai.go",
|
|
"line": 22,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Embed",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ai"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/server/server.go::QueryRequest",
|
|
"type": "dead_code",
|
|
"title": "Unused exported type: QueryRequest",
|
|
"description": "The exported type 'QueryRequest' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/server/server.go",
|
|
"line": 40,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "QueryRequest",
|
|
"obj_type": "type",
|
|
"package": "github.com/yourorg/devour/internal/server"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/indexer/indexer.go::Delete",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Delete",
|
|
"description": "The exported function 'Delete' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/indexer/indexer.go",
|
|
"line": 227,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Delete",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/indexer"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go::ASTInfo",
|
|
"type": "dead_code",
|
|
"title": "Unused exported type: ASTInfo",
|
|
"description": "The exported type 'ASTInfo' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go",
|
|
"line": 158,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "ASTInfo",
|
|
"obj_type": "type",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/practices.go::DetectLanguage",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: DetectLanguage",
|
|
"description": "The exported function 'DetectLanguage' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/practices.go",
|
|
"line": 38,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "DetectLanguage",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/analyzers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go::PrintLogo",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintLogo",
|
|
"description": "The exported function 'PrintLogo' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go",
|
|
"line": 88,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintLogo",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/detector.go::ExtractClasses",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: ExtractClasses",
|
|
"description": "The exported function 'ExtractClasses' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/detector.go",
|
|
"line": 31,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "ExtractClasses",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go::Extensions",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Extensions",
|
|
"description": "The exported function 'Extensions' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go",
|
|
"line": 31,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Extensions",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::PrintSuccess",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintSuccess",
|
|
"description": "The exported function 'PrintSuccess' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 93,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintSuccess",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::PrintInBox",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintInBox",
|
|
"description": "The exported function 'PrintInBox' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 174,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintInBox",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/practices.go::FetchPractices",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: FetchPractices",
|
|
"description": "The exported function 'FetchPractices' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/practices.go",
|
|
"line": 142,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "FetchPractices",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/analyzers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/fixers/fixers.go::Fix",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Fix",
|
|
"description": "The exported function 'Fix' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/fixers/fixers.go",
|
|
"line": 35,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Fix",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go/fixers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::PrintDivider",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintDivider",
|
|
"description": "The exported function 'PrintDivider' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 197,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintDivider",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/practices.go::GetPracticesByCategory",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetPracticesByCategory",
|
|
"description": "The exported function 'GetPracticesByCategory' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/practices.go",
|
|
"line": 570,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetPracticesByCategory",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/analyzers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go::GetCharacterSmall",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetCharacterSmall",
|
|
"description": "The exported function 'GetCharacterSmall' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go",
|
|
"line": 103,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetCharacterSmall",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/detector.go::IsSourceFile",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: IsSourceFile",
|
|
"description": "The exported function 'IsSourceFile' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/detector.go",
|
|
"line": 40,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "IsSourceFile",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::PrintHelpBanner",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintHelpBanner",
|
|
"description": "The exported function 'PrintHelpBanner' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 134,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintHelpBanner",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go::ResolveFinding",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: ResolveFinding",
|
|
"description": "The exported function 'ResolveFinding' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go",
|
|
"line": 261,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "ResolveFinding",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go::Description",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Description",
|
|
"description": "The exported function 'Description' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go",
|
|
"line": 131,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Description",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/enhanced_types.go::EnhancedStatus",
|
|
"type": "dead_code",
|
|
"title": "Unused exported type: EnhancedStatus",
|
|
"description": "The exported type 'EnhancedStatus' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/enhanced_types.go",
|
|
"line": 270,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "EnhancedStatus",
|
|
"obj_type": "type",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::Colorize",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Colorize",
|
|
"description": "The exported function 'Colorize' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 42,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Colorize",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go::GetLogo",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetLogo",
|
|
"description": "The exported function 'GetLogo' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go",
|
|
"line": 108,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetLogo",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/scraper.go::DetectSourceType",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: DetectSourceType",
|
|
"description": "The exported function 'DetectSourceType' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/scraper.go",
|
|
"line": 92,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "DetectSourceType",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/scraper"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/indexer/indexer.go::Index",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Index",
|
|
"description": "The exported function 'Index' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/indexer/indexer.go",
|
|
"line": 68,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Index",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/indexer"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go::Load",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Load",
|
|
"description": "The exported function 'Load' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go",
|
|
"line": 61,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Load",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go::BuildDependencyGraph",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: BuildDependencyGraph",
|
|
"description": "The exported function 'BuildDependencyGraph' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go",
|
|
"line": 97,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "BuildDependencyGraph",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go::CreateFixers",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: CreateFixers",
|
|
"description": "The exported function 'CreateFixers' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go",
|
|
"line": 30,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "CreateFixers",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go::MarkerFiles",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: MarkerFiles",
|
|
"description": "The exported function 'MarkerFiles' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go",
|
|
"line": 35,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "MarkerFiles",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go::GetBanner",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetBanner",
|
|
"description": "The exported function 'GetBanner' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go",
|
|
"line": 113,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetBanner",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/fixers/advanced_fixers.go::Description",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Description",
|
|
"description": "The exported function 'Description' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/fixers/advanced_fixers.go",
|
|
"line": 259,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Description",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go/fixers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go::AnalyzeFile",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: AnalyzeFile",
|
|
"description": "The exported function 'AnalyzeFile' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go",
|
|
"line": 74,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "AnalyzeFile",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::DoubleBoxStyle",
|
|
"type": "dead_code",
|
|
"title": "Unused exported variable: DoubleBoxStyle",
|
|
"description": "The exported variable 'DoubleBoxStyle' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 164,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "DoubleBoxStyle",
|
|
"obj_type": "variable",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go::LoadTypesInfo",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: LoadTypesInfo",
|
|
"description": "The exported function 'LoadTypesInfo' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go",
|
|
"line": 334,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "LoadTypesInfo",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go::GetFinding",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetFinding",
|
|
"description": "The exported function 'GetFinding' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go",
|
|
"line": 278,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetFinding",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/detector.go::ExtractFunctions",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: ExtractFunctions",
|
|
"description": "The exported function 'ExtractFunctions' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/detector.go",
|
|
"line": 28,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "ExtractFunctions",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/server/server.go::QueryResponse",
|
|
"type": "dead_code",
|
|
"title": "Unused exported type: QueryResponse",
|
|
"description": "The exported type 'QueryResponse' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/server/server.go",
|
|
"line": 47,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "QueryResponse",
|
|
"obj_type": "type",
|
|
"package": "github.com/yourorg/devour/internal/server"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/detectors/complexity.go::Detect",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Detect",
|
|
"description": "The exported function 'Detect' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/detectors/complexity.go",
|
|
"line": 112,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Detect",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/detectors"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/fixers/fixers.go::Name",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Name",
|
|
"description": "The exported function 'Name' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/fixers/fixers.go",
|
|
"line": 23,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Name",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go/fixers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/registry.go::Names",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Names",
|
|
"description": "The exported function 'Names' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/registry.go",
|
|
"line": 62,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Names",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go::Save",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Save",
|
|
"description": "The exported function 'Save' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go",
|
|
"line": 82,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Save",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go::AnalyzeFile",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: AnalyzeFile",
|
|
"description": "The exported function 'AnalyzeFile' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/plugin.go",
|
|
"line": 33,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "AnalyzeFile",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go::FormatDiff",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: FormatDiff",
|
|
"description": "The exported function 'FormatDiff' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go",
|
|
"line": 328,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "FormatDiff",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/external/springdocs.go::Scrape",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Scrape",
|
|
"description": "The exported function 'Scrape' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/external/springdocs.go",
|
|
"line": 32,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Scrape",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/scraper/external"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/registry.go::DetectLanguage",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: DetectLanguage",
|
|
"description": "The exported function 'DetectLanguage' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/registry.go",
|
|
"line": 75,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "DetectLanguage",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/practices.go::DetectFrameworks",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: DetectFrameworks",
|
|
"description": "The exported function 'DetectFrameworks' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/practices.go",
|
|
"line": 63,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "DetectFrameworks",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/analyzers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::PrintStartupBanner",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintStartupBanner",
|
|
"description": "The exported function 'PrintStartupBanner' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 139,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintStartupBanner",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go::CreateFixers",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: CreateFixers",
|
|
"description": "The exported function 'CreateFixers' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go",
|
|
"line": 63,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "CreateFixers",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go::GetCharacter",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetCharacter",
|
|
"description": "The exported function 'GetCharacter' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go",
|
|
"line": 98,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetCharacter",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go::Merge",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Merge",
|
|
"description": "The exported function 'Merge' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/state.go",
|
|
"line": 118,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Merge",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go::PrintStatusWithCharacter",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintStatusWithCharacter",
|
|
"description": "The exported function 'PrintStatusWithCharacter' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/character.go",
|
|
"line": 148,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintStatusWithCharacter",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/fixers/advanced_fixers.go::CanFix",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: CanFix",
|
|
"description": "The exported function 'CanFix' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/fixers/advanced_fixers.go",
|
|
"line": 121,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "CanFix",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go/fixers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/indexer/indexer.go::SetEmbedder",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: SetEmbedder",
|
|
"description": "The exported function 'SetEmbedder' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/indexer/indexer.go",
|
|
"line": 63,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "SetEmbedder",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/indexer"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/vector/store.go::Get",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Get",
|
|
"description": "The exported function 'Get' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/vector/store.go",
|
|
"line": 54,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Get",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/vector"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/vector/store.go::Clear",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Clear",
|
|
"description": "The exported function 'Clear' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/vector/store.go",
|
|
"line": 60,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Clear",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/vector"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go::CreateDetectors",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: CreateDetectors",
|
|
"description": "The exported function 'CreateDetectors' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/plugins/go/plugin.go",
|
|
"line": 43,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "CreateDetectors",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/plugins/go"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/external/types.go::SourceType",
|
|
"type": "dead_code",
|
|
"title": "Unused exported type: SourceType",
|
|
"description": "The exported type 'SourceType' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scraper/external/types.go",
|
|
"line": 10,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "SourceType",
|
|
"obj_type": "type",
|
|
"package": "github.com/yourorg/devour/internal/scraper/external"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scheduler/scheduler.go::AddSource",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: AddSource",
|
|
"description": "The exported function 'AddSource' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scheduler/scheduler.go",
|
|
"line": 37,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "AddSource",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/scheduler"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/practices.go::GetAllPractices",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: GetAllPractices",
|
|
"description": "The exported function 'GetAllPractices' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/practices.go",
|
|
"line": 585,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "GetAllPractices",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/quality/analyzers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scheduler/scheduler.go::Stop",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: Stop",
|
|
"description": "The exported function 'Stop' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/scheduler/scheduler.go",
|
|
"line": 64,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "Stop",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/scheduler"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/dataflow.go::DataFlowFinding",
|
|
"type": "dead_code",
|
|
"title": "Unused exported type: DataFlowFinding",
|
|
"description": "The exported type 'DataFlowFinding' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/quality/analyzers/dataflow.go",
|
|
"line": 33,
|
|
"severity": 3,
|
|
"score": 4,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "DataFlowFinding",
|
|
"obj_type": "type",
|
|
"package": "github.com/yourorg/devour/internal/quality/analyzers"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
},
|
|
{
|
|
"id": "dead_code::/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go::PrintError",
|
|
"type": "dead_code",
|
|
"title": "Unused exported function: PrintError",
|
|
"description": "The exported function 'PrintError' is never used. Consider removing it or if it's part of a public API, document it.",
|
|
"file": "/home/tdvorak/Desktop/PROG_projekty/GOLANG/Devour/internal/ui/banner.go",
|
|
"line": 104,
|
|
"severity": 2,
|
|
"score": 5,
|
|
"status": "open",
|
|
"metadata": {
|
|
"docs_evidence_confidence": "0.90",
|
|
"docs_evidence_language": "go",
|
|
"docs_evidence_rationale": "Unreachable or unused symbols increase maintenance overhead with no runtime value.",
|
|
"docs_evidence_urls": "https://pkg.go.dev/cmd/go | https://go.dev/wiki/CodeReviewComments",
|
|
"exported": "true",
|
|
"name": "PrintError",
|
|
"obj_type": "function",
|
|
"package": "github.com/yourorg/devour/internal/ui"
|
|
},
|
|
"created_at": "0001-01-01T00:00:00Z",
|
|
"updated_at": "0001-01-01T00:00:00Z"
|
|
}
|
|
],
|
|
"timestamp": "2026-02-23T11:37:13.750190523+01:00"
|
|
} |