AI Slop Code Risk Monitor

TencentBlueKing/bk-cmdb

SlopCodeMonitor badge for TencentBlueKing/bk-cmdb Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

蓝鲸智云配置平台(BlueKing CMDB)

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for TencentBlueKing/bk-cmdb, a Go project with 5,762 GitHub stars. SynthScan examined 680,566 lines of code across 3956 source files, recording 555 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.2 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-22
Last Push
5.8K
Stars
Go
Language
680.6K
Lines of Code
4.0K
Files
555
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 1.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 290 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.0/100 · LOW

Are imports declared and package/API names verified? 265 finding(s).

Agent Over-Engineering Ratio 0.2/100 · LOW

Are wrappers, guards, and repeated structures necessary? 18 finding(s).

PR Review Velocity Impact 5.9/100 · LOW

Which changes need focused human review? 555 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 2HIGH 51MEDIUM 0LOW 502

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 555 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Cross-Language Confusion (JS/TS)51 hits · 360 pts
SeverityFileLineSnippetContext
HIGH⚡src/tools/mongo_script/fix_module_missed_fields.js29 print('defaultServiceCategoryID: ', defaultServiceCategoryID);CODE
HIGH⚡src/tools/mongo_script/fix_module_missed_fields.js34 print('service_category_id:0 count: ', count);CODE
HIGH⚡src/tools/mongo_script/fix_module_missed_fields.js39 print('module to be fix: biz', JSON.stringify(module));CODE
HIGH⚡src/tools/mongo_script/fix_module_missed_fields.js41 print('\n\n');CODE
HIGH⚡src/tools/mongo_script/fix_module_missed_fields.js45 print('update result: ', updateResult);CODE
HIGH⚡src/tools/mongo_script/fix_module_missed_fields.js48 print('service_category_id:0 count: ', count);CODE
HIGHsrc/tools/mongo_script/fix_module_missed_fields.js65 print('update process attribute ', key, 'result: ', updateResult);CODE
HIGHsrc/tools/mongo_script/fix_module_missed_fields.js70 print('updateResult: ', updateResult);CODE
HIGHsrc/tools/mongo_script/fix_module_missed_fields.js90 print('deleteResult: ', deleteResult);CODE
HIGH⚡…tools/mongo_script/clear_redundancy_servicetemplate.js23 print("------------------------ 华丽分割线 ----------------------------")CODE
HIGH⚡…tools/mongo_script/clear_redundancy_servicetemplate.js24 print("业务: ", biz.bk_biz_name) ;CODE
HIGH⚡…tools/mongo_script/clear_redundancy_servicetemplate.js27 print("\n\n\n") ;CODE
HIGH…tools/mongo_script/clear_redundancy_servicetemplate.js40 print(logPrefix, "模块: ", module.bk_module_name) ;CODE
HIGH…tools/mongo_script/clear_redundancy_servicetemplate.js42 print("\n") ;CODE
HIGH⚡…tools/mongo_script/clear_redundancy_servicetemplate.js54 print(logPrefix, "模块下有 ", count, " 个进程,不需要清理服务模板") ;CODE
HIGH⚡…tools/mongo_script/clear_redundancy_servicetemplate.js64 print(logPrefix, "Warning: 模块下有 ", count, " 个进程模板(升级到3.5后添加的进程模板),不需要清理服务模板") ;CODE
HIGH⚡…tools/mongo_script/clear_redundancy_servicetemplate.js73 print(logPrefix, "Warning: 服务模板有 ", serviceInstanceCount, " 个实例,不需要清理服务模板");CODE
HIGH⚡…tools/mongo_script/clear_redundancy_servicetemplate.js87 print(logPrefix, "删除服务实例返回:", removeServiceInstanceResult) ;CODE
HIGH⚡…tools/mongo_script/clear_redundancy_servicetemplate.js97 print(logPrefix, "更新模块属性字段返回:", moduleUpdateResult) ;CODE
HIGH⚡…tools/mongo_script/clear_redundancy_servicetemplate.js104 print(logPrefix, "服务模板删除返回:", serviceTemplateDeleteResult) ;CODE
HIGH⚡src/tools/mongo_script/fix_max_primary_id.js18 print("processTemplateMax:") ;CODE
HIGH⚡src/tools/mongo_script/fix_max_primary_id.js20 print("serviceInstanceMax: ") ;CODE
HIGH⚡src/tools/mongo_script/fix_max_primary_id.js28 print('fix cc_ProcessTemplate from ', processTemplateMax.SequenceID, ' to ', maxID) ;CODE
HIGH⚡src/tools/mongo_script/fix_max_primary_id.js32 print('fix cc_ServiceInstance from ', serviceInstanceMax.SequenceID, ' to ', maxID) ;CODE
HIGH⚡src/tools/mongo_script/fix_max_primary_id.js34 print('max primary id doesn\'t need change') ;CODE
HIGH…ols/mongo_script/fix_duplicated_service_instance_id.js40 print(topoPath + "==> ServiceInstanceID:" + item.id);CODE
HIGH…ols/mongo_script/fix_duplicated_service_instance_id.js53 print("update instance result:", r1, "update relation result:", r2, "\n");CODE
HIGH⚡src/tools/mongo_script/fix_service_category_field.js17 print("defaultServiceCategoryID: ", defaultServiceCategoryID);CODE
HIGH⚡src/tools/mongo_script/fix_service_category_field.js22 print("service_category_id:0 count: ", count);CODE
HIGH⚡src/tools/mongo_script/fix_service_category_field.js27 print("module to be fix: biz", JSON.stringify(module));CODE
HIGH⚡src/tools/mongo_script/fix_service_category_field.js29 print("\n\n");CODE
HIGH⚡src/tools/mongo_script/fix_service_category_field.js33 print("update result: ", update_result);CODE
HIGH⚡src/tools/mongo_script/fix_service_category_field.js36 print("service_category_id:0 count: ", count);CODE
HIGH⚡src/tools/mongo_script/migrate_time_field.js21 print(startStr);CODE
HIGH⚡src/tools/mongo_script/migrate_time_field.js25 print("field: ", field)CODE
HIGH⚡src/tools/mongo_script/migrate_time_field.js30 print(before.toLocaleString(), " ===> ", uniformTime.toISOString(), "\n");CODE
HIGH⚡src/tools/mongo_script/migrate_time_field.js38 print(endStr, "\n".repeat(2));CODE
HIGH⚡src/tools/mongo_script/fix_inner_model.js1931 print("model ", model.bk_obj_id, " already exist") ;CODE
HIGH⚡src/tools/mongo_script/fix_inner_model.js1938 print('insert model [', model.bk_obj_id, '] result is: ', result) ;CODE
HIGH⚡src/tools/mongo_script/fix_inner_model.js1952 print('model [', attribute.bk_obj_id, '] \'s attribute [', attribute.bk_property_id, '] already exist') ;CODE
HIGH⚡src/tools/mongo_script/fix_inner_model.js1959 print('insert model attribute [', attribute.bk_obj_id, '-', attribute.bk_property_id, '] result is: ', result) ;CODE
HIGH⚡src/tools/mongo_script/fix_inner_model.js1973 print('model attribute group [', group.bk_obj_id, ' - ', group.bk_group_id, '] already exist') ;CODE
HIGH⚡src/tools/mongo_script/fix_inner_model.js1978 print('insert model attribute group [', group.bk_obj_id, ' - ', group.bk_group_id, '] result is: ', result) ;CODE
HIGH⚡src/scene_server/admin_server/fixes_topo.js3 print("delete cc_ObjAsst for ", myDoc.bk_obj_id, " result: ", ret)CODE
HIGH⚡src/scene_server/admin_server/fixes_topo.js5 print("delete cc_ObjAttDes for ", myDoc.bk_obj_id, " result: ", ret)CODE
HIGH⚡src/scene_server/admin_server/fixes_topo.js7 print("delete cc_ObjectBase for ", myDoc.bk_obj_id, " result: ", ret)CODE
HIGH⚡src/scene_server/admin_server/fixes_topo.js11print("update cc_ObjAsst for ", "set", " result: ", ret)CODE
HIGH⚡src/scene_server/admin_server/fixes_topo.js15 print("update cc_SetBase for ", myDoc.bk_set_id, " result: ", ret)CODE
HIGH⚡src/scene_server/admin_server/fixes_topo.js18print("done")CODE
HIGHsrc/scene_server/admin_server/fixes_att_id.js14 print("nid: " + nid);CODE
HIGHsrc/scene_server/admin_server/fixes_inst_association.js15 print(ret)CODE
Over-Commented Block263 hits · 199 pts
SeverityFileLineSnippetContext
LOW.code.yml1source:COMMENT
LOW…/support-file/config/templates/server#conf#common.yaml101 # 当主机快照数据属性,如cpu,bk_cpu_mhz,bk_disk,bk_mem这些数值型数据变动的范围大于该配置的值时,进行db数据的更新COMMENT
LOWdocs/support-file/helm/web/values.yaml1## @section Global parametersCOMMENT
LOWdocs/support-file/helm/web/values.yaml21COMMENT
LOWdocs/support-file/helm/web/values.yaml41 ##COMMENT
LOWdocs/support-file/helm/web/values.yaml61 ## @param webserver.ingress.hostname Default host for the ingress recordCOMMENT
LOWdocs/support-file/helm/web/values.yaml101 ##COMMENT
LOWdocs/support-file/helm/web/values.yaml121 ## @param podAnnotations Annotations for bk-panel podsCOMMENT
LOWdocs/support-file/helm/web/values.yaml181## @section bk-cmdb common config parametersCOMMENT
LOWdocs/support-file/helm/web/values.yaml201 certFile:COMMENT
LOWdocs/support-file/helm/web/values.yaml241 multipleOwner: "0"COMMENT
LOWdocs/support-file/helm/web/values.yaml261 ##COMMENT
LOWdocs/support-file/helm/web/values.yaml281 monitor:COMMENT
LOWdocs/support-file/helm/web/values.yaml301 ## 采集数据用的gsecmdline命令绝对路径,默认版本需要大于等于2.0.2 ,默认路径:/usr/local/gse/plugins/bin/gsecmdlineCOMMENT
LOWdocs/support-file/helm/web/values.yaml321 ## 表示是否开启openTelemetry跟踪链接入相关功能,布尔值, 默认值为false不开启COMMENT
LOWdocs/support-file/helm/web/values.yaml401 ##COMMENT
LOWdocs/support-file/helm/web/values.yaml421 size: 10GiCOMMENT
LOWdocs/support-file/helm/web/values.yaml441 database: cmdbCOMMENT
LOWdocs/support-file/helm/web/values.yaml461 ##COMMENT
LOWdocs/support-file/helm/web/values.yaml481 ## @param mongodb.externalMongodb.tls.caFile redis TLS CA fileCOMMENT
LOWdocs/support-file/helm/web/values.yaml501## @param certPath cert path.COMMENT
LOWdocs/support-file/helm/web/values.yaml541 password:COMMENT
LOWdocs/support-file/helm/web/values.yaml561 ##COMMENT
LOWdocs/support-file/helm/web/values.yaml581COMMENT
LOWdocs/support-file/helm/backend/values.yaml1## @section Global parametersCOMMENT
LOWdocs/support-file/helm/backend/values.yaml21## @section bk-cmdb image parametersCOMMENT
LOWdocs/support-file/helm/backend/values.yaml41 ## @param adminserver.image.repository bk-cmdb adminserver image repositoryCOMMENT
LOWdocs/support-file/helm/backend/values.yaml61 errors: /data/cmdb/cmdb_adminserver/conf/errorsCOMMENT
LOWdocs/support-file/helm/backend/values.yaml81 ##COMMENT
LOWdocs/support-file/helm/backend/values.yaml101 memory: 512MiCOMMENT
LOWdocs/support-file/helm/backend/values.yaml121 ##COMMENT
LOWdocs/support-file/helm/backend/values.yaml141 ## - Relay on cert-manager to create it by setting the corresponding annotationsCOMMENT
LOWdocs/support-file/helm/backend/values.yaml161 externalPort: 80COMMENT
LOWdocs/support-file/helm/backend/values.yaml181 ## @param affinity Affinity for pod assignmentCOMMENT
LOWdocs/support-file/helm/backend/values.yaml221 ##COMMENT
LOWdocs/support-file/helm/backend/values.yaml241 ## @param authserver.ingress.tls Enable TLS configuration for the host defined at `ingress.host` parameterCOMMENT
LOWdocs/support-file/helm/backend/values.yaml261 targetPort: 80COMMENT
LOWdocs/support-file/helm/backend/values.yaml281 ## @param podAnnotations Annotations for bk-panel podsCOMMENT
LOWdocs/support-file/helm/backend/values.yaml321 image:COMMENT
LOWdocs/support-file/helm/backend/values.yaml341 logToStdErr: falseCOMMENT
LOWdocs/support-file/helm/backend/values.yaml381 ##COMMENT
LOWdocs/support-file/helm/backend/values.yaml401 logDir: /data/cmdb/cmdb_cloudserver/logsCOMMENT
LOWdocs/support-file/helm/backend/values.yaml441 ## bk-cmdb coreservice image parametersCOMMENT
LOWdocs/support-file/helm/backend/values.yaml461 ##COMMENT
LOWdocs/support-file/helm/backend/values.yaml501 ##COMMENT
LOWdocs/support-file/helm/backend/values.yaml521 ## @param datacollection.command.logLevel bk-cmdb datacollection log levelCOMMENT
LOWdocs/support-file/helm/backend/values.yaml561 ## @param eventserver.enabled Enable eventserver deploymentCOMMENT
LOWdocs/support-file/helm/backend/values.yaml581 ## @param eventserver.command.logDir bk-cmdb eventserver log directoryCOMMENT
LOWdocs/support-file/helm/backend/values.yaml621hostserver:COMMENT
LOWdocs/support-file/helm/backend/values.yaml641 ## bk-cmdb hostserver start command parametersCOMMENT
LOWdocs/support-file/helm/backend/values.yaml681##COMMENT
LOWdocs/support-file/helm/backend/values.yaml701 workDir: /data/cmdb/cmdb_operationserverCOMMENT
LOWdocs/support-file/helm/backend/values.yaml741## @section bk-cmdb procserver parametersCOMMENT
LOWdocs/support-file/helm/backend/values.yaml761 ##COMMENT
LOWdocs/support-file/helm/backend/values.yaml781 ## @param nodeSelector Node labels for pod assignmentCOMMENT
LOWdocs/support-file/helm/backend/values.yaml801COMMENT
LOWdocs/support-file/helm/backend/values.yaml821 ## @param synchronizeserver.workDir bk-cmdb synchronizeserver work directoryCOMMENT
LOWdocs/support-file/helm/backend/values.yaml841 affinity: {}COMMENT
LOWdocs/support-file/helm/backend/values.yaml861 cpu: 200mCOMMENT
LOWdocs/support-file/helm/backend/values.yaml881 port: 80COMMENT
203 more matches not shown…
Fake / Example Data212 hits · 180 pts
SeverityFileLineSnippetContext
LOWresources/language/default/common.json5 "placeholder":"提示",CODE
LOWresources/language/en/common.json5 "placeholder": "Prompt",CODE
LOWdocs/apidoc/apigw/open/zh/update_object_attribute.md31 "placeholder":"test",CODE
LOWdocs/apidoc/apigw/open/zh/update_object_attribute.md51 "placeholder":"test",CODE
LOWdocs/apidoc/apigw/open/zh/update_object_attribute.md70 "placeholder":"test",CODE
LOWdocs/apidoc/apigw/open/zh/update_biz_custom_field.md32 "placeholder":"test",CODE
LOWdocs/apidoc/apigw/open/zh/search_object_attribute.md47 "placeholder": "",CODE
LOWdocs/apidoc/apigw/open/zh/search_object_attribute.md67 "placeholder": "",CODE
LOWdocs/apidoc/apigw/open/zh/create_object_attribute.md40 "placeholder": "test",CODE
LOWdocs/apidoc/apigw/open/zh/create_object_attribute.md69 "placeholder": "test",CODE
LOWdocs/apidoc/apigw/open/zh/create_biz_custom_field.md47 "placeholder": "test",CODE
LOWdocs/apidoc/apigw/open/zh/create_biz_custom_field.md75 "placeholder": "test",CODE
LOWdocs/apidoc/apigw/open/en/update_object_attribute.md31 "placeholder":"test",CODE
LOWdocs/apidoc/apigw/open/en/update_object_attribute.md51 "placeholder":"test",CODE
LOWdocs/apidoc/apigw/open/en/update_object_attribute.md70 "placeholder":"test",CODE
LOWdocs/apidoc/apigw/open/en/update_biz_custom_field.md32 "placeholder": "test",CODE
LOWdocs/apidoc/apigw/open/en/search_object_attribute.md48 "placeholder": "",CODE
LOWdocs/apidoc/apigw/open/en/search_object_attribute.md68 "placeholder": "",CODE
LOWdocs/apidoc/apigw/open/en/create_object_attribute.md40 "placeholder": "test",CODE
LOWdocs/apidoc/apigw/open/en/create_object_attribute.md69 "placeholder": "test",CODE
LOWdocs/apidoc/apigw/open/en/create_biz_custom_field.md50 "placeholder": "test",CODE
LOWdocs/apidoc/apigw/open/en/create_biz_custom_field.md78 "placeholder": "test",CODE
LOWdocs/apidoc/cc/zh_hans/update_object_attribute.md39 "placeholder":"test",CODE
LOWdocs/apidoc/cc/zh_hans/update_object_attribute.md63 "placeholder":"test",CODE
LOWdocs/apidoc/cc/zh_hans/update_object_attribute.md86 "placeholder":"test",CODE
LOWdocs/apidoc/cc/zh_hans/update_biz_custom_field.md40 "placeholder":"test",CODE
LOWdocs/apidoc/cc/zh_hans/search_object_attribute.md56 "placeholder": "",CODE
LOWdocs/apidoc/cc/zh_hans/search_object_attribute.md76 "placeholder": "",CODE
LOWdocs/apidoc/cc/zh_hans/create_object_attribute.md48 "placeholder": "test",CODE
LOWdocs/apidoc/cc/zh_hans/create_object_attribute.md78 "placeholder": "test",CODE
LOWdocs/apidoc/cc/zh_hans/create_biz_custom_field.md55 "placeholder": "test",CODE
LOWdocs/apidoc/cc/zh_hans/create_biz_custom_field.md84 "placeholder": "test",CODE
LOWdocs/apidoc/cc/en/update_object_attribute.md39 "placeholder":"test",CODE
LOWdocs/apidoc/cc/en/update_object_attribute.md63 "placeholder":"test",CODE
LOWdocs/apidoc/cc/en/update_object_attribute.md86 "placeholder":"test",CODE
LOWdocs/apidoc/cc/en/update_biz_custom_field.md40 "placeholder": "test",CODE
LOWdocs/apidoc/cc/en/search_object_attribute.md56 "placeholder": "",CODE
LOWdocs/apidoc/cc/en/search_object_attribute.md76 "placeholder": "",CODE
LOWdocs/apidoc/cc/en/create_object_attribute.md48 "placeholder": "test",CODE
LOWdocs/apidoc/cc/en/create_object_attribute.md78 "placeholder": "test",CODE
LOWdocs/apidoc/cc/en/create_biz_custom_field.md55 "placeholder": "test",CODE
LOWdocs/apidoc/cc/en/create_biz_custom_field.md84 "placeholder": "test",CODE
LOWdocs/apidoc/archived/topo/object_model_property.md157 "placeholder":"",CODE
LOWdocs/apidoc/archived/topo/object_model_property.md295 "placeholder": "",CODE
LOWsrc/ui/src/components/ui/selector/selector.vue17 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/selector/selector.vue42 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/selector/service-category.vue22 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/form/time.vue22 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/form/list.vue21 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/form/enum.vue21 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/form/timezone.vue24 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/form/enummulti.vue23 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/form/date.vue20 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/form/organization.vue41 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/form/input.vue17 :placeholder="placeholder"CODE
LOWsrc/ui/src/components/ui/form/form.vue36 v-if="property['placeholder']"CODE
LOWsrc/ui/src/components/ui/form/form.vue40 content: htmlEncode(property['placeholder'])CODE
LOWsrc/ui/src/components/ui/tag-input/tag-input.vue32 :data-placeholder="placeholder"CODE
LOW…/components/model-manage/field-group/preview-field.vue33 v-if="property['placeholder']"CODE
LOW…/components/model-manage/field-group/preview-field.vue36 content: htmlEncode(property['placeholder'])CODE
152 more matches not shown…
Hyper-Verbose Identifiers18 hits · 22 pts
SeverityFileLineSnippetContext
LOWsrc/ui/src/utils/tools.js65function getDefaultOptionMultiValue(property) {CODE
LOWsrc/ui/src/utils/tools.js70function getDefaultOptionEnumQuoteValue(property) {CODE
LOWsrc/ui/src/utils/tools.js285export function getDefaultHeaderProperties(properties) {CODE
LOWsrc/ui/src/utils/tools.js295export function getCustomHeaderProperties(properties, customColumns) {CODE
LOWsrc/ui/src/utils/tools.js341export function getHeaderPropertyMinWidth(property, options = {}) {CODE
LOWsrc/ui/src/utils/tools.js459export function transformHostSearchParams(params) {CODE
LOWsrc/ui/src/utils/tools.js489export function getDefaultPaginationConfig(customConfig = {}, useQuery = true) {CODE
LOWsrc/ui/src/utils/tools.js669export function getPropertyDefaultEmptyValue(_property) {CODE
LOWsrc/ui/src/components/filters/utils.js232export function transformGeneralModelCondition(condition, properties) {CODE
LOWsrc/ui/src/components/filters/utils.js339export function transformContainerCondition(condition, properties, header) {CODE
LOWsrc/ui/src/components/filters/utils.js348export function transformContainerNodeCondition(condition, properties, header) {CODE
LOW⚡src/tools/mongo_script/fix_module_missed_fields.js21function getDefaultServiceCategory () {CODE
LOW⚡src/tools/mongo_script/fix_module_missed_fields.js27function fixModuleServiceCategoryField () {CODE
LOW⚡…tools/mongo_script/clear_redundancy_servicetemplate.js18function clearRedundancyServiceTemplate () {CODE
LOW⚡src/tools/mongo_script/fix_service_category_field.js10function getDefaultServiceCategory() {CODE
LOW⚡src/tools/mongo_script/fix_service_category_field.js15function fixModuleServiceCategoryField() {CODE
LOW⚡src/tools/mongo_script/fix_inner_model.js1942function fixMissingModelAttributes() {CODE
LOW⚡src/tools/mongo_script/fix_inner_model.js1963function fixMissingModelAttributeGroup() {CODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICAL…topology/service-instance/instance/list-sticky-row.vue64 return this.table.store.states.selection.includes(this.row)CODE
CRITICAL…topology/service-instance/instance/list-sticky-row.vue67 return this.table.store.states.expandRows.includes(this.row)CODE
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/scene_server/auth_server/sdk/auth/calculate.go285// authWithPath if a user has a path based auth policy, then we need to check if the user's path is matched withCOMMENT
LOWsrc/scene_server/auth_server/sdk/auth/calculate.go351// if a user has a path based auth policy, then we need to check if the user's path is matched with policy's path orCOMMENT
LOWsrc/scene_server/admin_server/service/dataid.go160 // if old data id has channels, we need to check if they are registered by cc or by other system like bk-monitorCOMMENT
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/generate.py58CODE
LOWscripts/init.py874CODE
LOWscripts/init.py938CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/ac/parser/servicetemplate.go171 // TODO: implement authorization on scene serverCOMMENT
LOWsrc/common/errors/defaultError_test.go110 // TODO: Add test cases.COMMENT
Redundant / Tautological Comments1 hit · 0 pts
SeverityFileLineSnippetContext
LOWscripts/init.py933 # Write the file out againSTRING