inc/Abilities/File/AgentFileAbilities.php |
Duplicate function filename_to_label — also in inc/Engine/AI/MemoryFileRegistry.php |
Function filename_to_label has identical body in 2 files. Extract to a shared module and import it. |
inc/Core/OAuth/OAuth1Handler.php |
Duplicate function redirect_with_error — also in inc/Core/OAuth/OAuth2Handler.php |
Function redirect_with_error has identical body in 2 files. Extract to a shared module and import it. |
inc/Core/OAuth/OAuth1Handler.php |
Duplicate function redirect_with_success — also in inc/Core/OAuth/OAuth2Handler.php |
Function redirect_with_success has identical body in 2 files. Extract to a shared module and import it. |
inc/Core/OAuth/OAuth2Handler.php |
Duplicate function redirect_with_error — also in inc/Core/OAuth/OAuth1Handler.php |
Function redirect_with_error has identical body in 2 files. Extract to a shared module and import it. |
inc/Core/OAuth/OAuth2Handler.php |
Duplicate function redirect_with_success — also in inc/Core/OAuth/OAuth1Handler.php |
Function redirect_with_success has identical body in 2 files. Extract to a shared module and import it. |
inc/Core/Steps/Fetch/Handlers/FetchHandler.php |
Duplicate function httpDelete — also in inc/Core/Steps/Publish/Handlers/PublishHandler.php |
Function httpDelete has identical body in 2 files. Extract to a shared module and import it. |
inc/Core/Steps/Fetch/Handlers/FetchHandler.php |
Duplicate function httpPost — also in inc/Core/Steps/Publish/Handlers/PublishHandler.php |
Function httpPost has identical body in 2 files. Extract to a shared module and import it. |
inc/Core/Steps/Fetch/Handlers/FetchHandler.php |
Duplicate function httpRequest — also in inc/Core/Steps/Publish/Handlers/PublishHandler.php |
Function httpRequest has identical body in 2 files. Extract to a shared module and import it. |
inc/Core/Steps/Publish/Handlers/PublishHandler.php |
Duplicate function httpDelete — also in inc/Core/Steps/Fetch/Handlers/FetchHandler.php |
Function httpDelete has identical body in 2 files. Extract to a shared module and import it. |
inc/Core/Steps/Publish/Handlers/PublishHandler.php |
Duplicate function httpPost — also in inc/Core/Steps/Fetch/Handlers/FetchHandler.php |
Function httpPost has identical body in 2 files. Extract to a shared module and import it. |
inc/Core/Steps/Publish/Handlers/PublishHandler.php |
Duplicate function httpRequest — also in inc/Core/Steps/Fetch/Handlers/FetchHandler.php |
Function httpRequest has identical body in 2 files. Extract to a shared module and import it. |
inc/Engine/AI/MemoryFileRegistry.php |
Duplicate function filename_to_label — also in inc/Abilities/File/AgentFileAbilities.php |
Function filename_to_label has identical body in 2 files. Extract to a shared module and import it. |
tests/daily-memory-conservation-smoke.php |
Duplicate function do_action — also in tests/queueable-trait-smoke.php |
Function do_action has identical body in 2 files. Extract to a shared module and import it. |
tests/queueable-trait-smoke.php |
Duplicate function do_action — also in tests/daily-memory-conservation-smoke.php |
Function do_action has identical body in 2 files. Extract to a shared module and import it. |
Audit: duplicate function
Component:
data-machineCount: 14 findings
Last run: https://github.com/Extra-Chill/data-machine/actions/runs/24934063030
Updated: 2026-04-25T15:43:22Z
Homeboy:
homeboy 0.93.0+3fb3fc16| Action:Extra-Chill/homeboy-action@v2Findings
inc/Abilities/File/AgentFileAbilities.phpfilename_to_label— also in inc/Engine/AI/MemoryFileRegistry.phpfilename_to_labelhas identical body in 2 files. Extract to a shared module and import it.inc/Core/OAuth/OAuth1Handler.phpredirect_with_error— also in inc/Core/OAuth/OAuth2Handler.phpredirect_with_errorhas identical body in 2 files. Extract to a shared module and import it.inc/Core/OAuth/OAuth1Handler.phpredirect_with_success— also in inc/Core/OAuth/OAuth2Handler.phpredirect_with_successhas identical body in 2 files. Extract to a shared module and import it.inc/Core/OAuth/OAuth2Handler.phpredirect_with_error— also in inc/Core/OAuth/OAuth1Handler.phpredirect_with_errorhas identical body in 2 files. Extract to a shared module and import it.inc/Core/OAuth/OAuth2Handler.phpredirect_with_success— also in inc/Core/OAuth/OAuth1Handler.phpredirect_with_successhas identical body in 2 files. Extract to a shared module and import it.inc/Core/Steps/Fetch/Handlers/FetchHandler.phphttpDelete— also in inc/Core/Steps/Publish/Handlers/PublishHandler.phphttpDeletehas identical body in 2 files. Extract to a shared module and import it.inc/Core/Steps/Fetch/Handlers/FetchHandler.phphttpPost— also in inc/Core/Steps/Publish/Handlers/PublishHandler.phphttpPosthas identical body in 2 files. Extract to a shared module and import it.inc/Core/Steps/Fetch/Handlers/FetchHandler.phphttpRequest— also in inc/Core/Steps/Publish/Handlers/PublishHandler.phphttpRequesthas identical body in 2 files. Extract to a shared module and import it.inc/Core/Steps/Publish/Handlers/PublishHandler.phphttpDelete— also in inc/Core/Steps/Fetch/Handlers/FetchHandler.phphttpDeletehas identical body in 2 files. Extract to a shared module and import it.inc/Core/Steps/Publish/Handlers/PublishHandler.phphttpPost— also in inc/Core/Steps/Fetch/Handlers/FetchHandler.phphttpPosthas identical body in 2 files. Extract to a shared module and import it.inc/Core/Steps/Publish/Handlers/PublishHandler.phphttpRequest— also in inc/Core/Steps/Fetch/Handlers/FetchHandler.phphttpRequesthas identical body in 2 files. Extract to a shared module and import it.inc/Engine/AI/MemoryFileRegistry.phpfilename_to_label— also in inc/Abilities/File/AgentFileAbilities.phpfilename_to_labelhas identical body in 2 files. Extract to a shared module and import it.tests/daily-memory-conservation-smoke.phpdo_action— also in tests/queueable-trait-smoke.phpdo_actionhas identical body in 2 files. Extract to a shared module and import it.tests/queueable-trait-smoke.phpdo_action— also in tests/daily-memory-conservation-smoke.phpdo_actionhas identical body in 2 files. Extract to a shared module and import it.Autofix status
✅ 266/14 findings auto-fixable
Run:
homeboy refactor data-machine --from audit --write --only duplicate_functionUpdated automatically by Homeboy Action on each CI run until resolved.