Skip to content

PR #947

PR #947 #163

Triggered via dynamic January 10, 2025 17:50
Status Success
Total duration 3m 51s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

100 errors and 1 warning
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:53:10: unused global variable 'AddSharedAccount'
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:128:10: value assigned to variable 'money' is unused
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:14:30: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:23:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:30:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:43:34: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:60:16: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:63:28: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:93:10: unused global variable 'AddSharedInventory'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:126:31: unused variable 'elements2'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:126:31: shadowing upvalue 'elements2' on line 47
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:143:31: accessing undefined variable 'Medic'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:199:10: variable 'seconds' was previously defined as an argument on line 198
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:199:19: unused variable 'hours'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:199:26: unused variable 'mins'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:199:32: unused variable 'secs'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:204:15: shadowing definition of variable 'hours' on line 199
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:205:15: shadowing definition of variable 'mins' on line 199
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:206:15: shadowing definition of variable 'secs' on line 199
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:350:1101: line is too long (2430 > 1100)
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:20:21: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:53:25: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:142:23: accessing undefined variable 'IsBusy'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:286:14: accessing undefined variable 'sleep'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:42:24: shadowing definition of variable 'xPlayer' on line 24
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:374:20: shadowing definition of variable 'xPlayer' on line 366
lua.server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:75:21: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:87:25: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:33:86: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:35:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:41:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:130:102: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:37: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:89: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:73:7: variable 'CurrentActionData' is never accessed
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:82:7: unused variable 'CurrentVehicleData'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:85:7: unused variable 'PlayerData'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:216:15: shadowing upvalue 'playerPed' on line 143
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:230:15: shadowing upvalue 'playerPed' on line 143
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:3:7: variable 'CurrentActionData' is never accessed
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:297:32: accessing undefined variable 'HasAlreadyEnteredMarker'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:297:76: accessing undefined variable 'LastZone'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:303:31: accessing undefined variable 'HasAlreadyEnteredMarker'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:305:59: accessing undefined variable 'LastZone'
lua.server-data/resources/[bpt_addons]/bpt_hud/client/carhud.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_hud/client/carhud.lua:37:7: unused variable 'locationColorText'
lua.server-data/resources/[bpt_addons]/bpt_hud/client/carhud.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_hud/client/carhud.lua:41:7: unused variable 'timeText'
lua.server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:5:1: unused global variable 'HUD'
lua.server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:31:10: unused global variable 'Roundxx'
lua.server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:36:10: unused global variable 'DrawRct2'
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:53:10: unused global variable 'AddSharedAccount'
lua.server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addonaccount/server/main.lua:128:10: value assigned to variable 'money' is unused
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:14:30: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:23:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:30:27: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:43:34: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:60:16: accessing undefined variable 'item'
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/classes/addoninventory.lua:63:28: shadowing upvalue 'name' on line 1
lua.server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_addoninventory/server/main.lua:93:10: unused global variable 'AddSharedInventory'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:126:31: unused variable 'elements2'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/job.lua:126:31: shadowing upvalue 'elements2' on line 47
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:143:31: accessing undefined variable 'Medic'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:199:10: variable 'seconds' was previously defined as an argument on line 198
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:199:19: unused variable 'hours'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:199:26: unused variable 'mins'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:199:32: unused variable 'secs'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:6: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:204:15: shadowing definition of variable 'hours' on line 199
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:7: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:205:15: shadowing definition of variable 'mins' on line 199
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:8: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:206:15: shadowing definition of variable 'secs' on line 199
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:9: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/main.lua:350:1101: line is too long (2430 > 1100)
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:20:21: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:53:25: unused loop variable 'k'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:142:23: accessing undefined variable 'IsBusy'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/client/vehicle.lua:286:14: accessing undefined variable 'sleep'
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:42:24: shadowing definition of variable 'xPlayer' on line 24
lua.server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_ambulancejob/server/main.lua:374:20: shadowing definition of variable 'xPlayer' on line 366
lua.server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:75:21: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_backpack/server/server.lua:87:25: unused loop variable 'i'
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:33:86: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:35:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_basicneeds/client/main.lua:41:19: shadowing upvalue argument 'status' on line 32
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:130:102: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:37: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_boat/client/marker.lua:131:89: accessing undefined variable 'LastZoneNum'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:73:7: variable 'CurrentActionData' is never accessed
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:82:7: unused variable 'CurrentVehicleData'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:85:7: unused variable 'PlayerData'
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:216:15: shadowing upvalue 'playerPed' on line 143
lua.server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_carshowroom/client/main.lua:230:15: shadowing upvalue 'playerPed' on line 143
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:3:7: variable 'CurrentActionData' is never accessed
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:297:32: accessing undefined variable 'HasAlreadyEnteredMarker'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:297:76: accessing undefined variable 'LastZone'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:4: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:303:31: accessing undefined variable 'HasAlreadyEnteredMarker'
lua.server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:5: lua#L1
server-data/resources/[bpt_addons]/bpt_dmvschool/client/main.lua:305:59: accessing undefined variable 'LastZone'
lua.server-data/resources/[bpt_addons]/bpt_hud/client/carhud.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_hud/client/carhud.lua:37:7: unused variable 'locationColorText'
lua.server-data/resources/[bpt_addons]/bpt_hud/client/carhud.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_hud/client/carhud.lua:41:7: unused variable 'timeText'
lua.server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:1: lua#L1
server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:5:1: unused global variable 'HUD'
lua.server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:2: lua#L1
server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:31:10: unused global variable 'Roundxx'
lua.server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:3: lua#L1
server-data/resources/[bpt_addons]/bpt_hud/client/hud.lua:36:10: unused global variable 'DrawRct2'
Analyze (javascript-typescript)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636