Advanced Project Status

Generated on 2025-05-12 20:10:54 in 648 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode
All files without dependencies    
See detail per file type...
82 587 5853 8311 662 653181 488320 1441 161 021
All files of dependencies only    
See detail per file type...
67 816 5623 2831 086 25184 755167 743833 753
Total150 404 1477 1142 748 904266 243487 8871 994 774

Contributions

Pushes and Commits of Dolibarr/dolibarr Pull Request Size of Dolibarr/dolibarr

Contributors


Thumbs of most active contributors

Dolibarr


Star History of Dolibarr/dolibarr

Project value

COCOMO value
(Basic organic model)
$76 162 333
COCOMO effort
(Basic organic model)
6 698 months people

Last security issues (last 3 months)

Commit IDDateReported on
Yogosha
Reported on
GIT
Reported on
CVE
TitleBranch of fix
f1a6ae1b… 2025-04-09#33727FIX #33727 Sec21.0, develop
63dd269d…2025-03-11SEC FIX Reflected XSS reported by 柏天浩21.0, develop
f511e2e5…2025-02-17#33099Merge pull request #33099 from Easya-Solutions/18_fix_cve_2024-3405118.0, 19.0, 20.0, 21.0, develop
bd9bf8b5… 2025-02-17CVE-2024-34051FIX #CVE-2024-3405118.0, 19.0, 20.0, 21.0, develop

Note:Search is done in git repository on regexstring #yogosha|CVE|Sec:|Sec\s
You can use this URL for RSS notifications: index-security.rss

Technical debt (PHPStan - PHP Static Analysis Tool 1.10.27 - level 9 -> 0 warnings)

FileLineType

Technical debt (PHAN 928 warnings)

FileLineDetail
htdocs/accountancy/class/accountancyexport.class.php192TypeError PhanTypeMismatchArgument Argument 3 ($object) is $listofexporttypes of type non-empty-array|non-empty-associative-array|non-empty-associative-array|non-empty-associative-array|non-empty-associative-array but \HookManager::executeHooks() takes null|object|string defined at htdocs/core/class/hookmanager.class.php:199
htdocs/accountancy/class/accountancyexport.class.php333TypeError PhanTypeMismatchArgument Argument 3 ($object) is $exporttypes of type array{param:non-empty-associative-array|non-empty-associative-array|non-empty-associative-array|non-empty-associative-array,cr:array{1:string,2:string},format:array{csv:string,txt:string}} but \HookManager::executeHooks() takes null|object|string defined at htdocs/core/class/hookmanager.class.php:199
htdocs/accountancy/class/accountancyexport.class.php546TypeError PhanTypeMismatchArgument Argument 3 ($object) is $TData of type \BookKeepingLine[]|\CommonObjectLine[]|\CommonObject[]|\DolDeprecationHandler[] but \HookManager::executeHooks() takes null|object|string defined at htdocs/core/class/hookmanager.class.php:199
htdocs/accountancy/class/accountancyexport.class.php546TypeError PhanTypeMismatchArgument Argument 3 ($object) is $TData of type \BookKeepingLine[]|\CommonObjectLine[]|\CommonObject[]|\DolDeprecationHandler[]|non-empty-array|non-empty-array|non-empty-array|non-empty-array but \HookManager::executeHooks() takes null|object|string defined at htdocs/core/class/hookmanager.class.php:199
htdocs/accountancy/class/accountancyexport.class.php1879UndefError PhanUndeclaredProperty Reference to undeclared property \BookKeepingLine->code_tiers
htdocs/adherents/list.php1601UndefError PhanUndeclaredGlobalVariable Global variable $diroutputmassaction is undeclared
htdocs/admin/agenda_other.php104TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.page'=>'comm/action/card.php','t.param'=>'complete','t.user_id'=>'0','t.type'=>'createform','t.entity'=>(string)($conf->entity)] of type array{t.page:'comm/action/card.php',t.param:'complete',t.user_id:'0',t.type:'createform',t.entity:string} but \DefaultValues::fetchAll() takes string (no real type) defined at htdocs/core/class/defaultvalues.class.php:248 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/admin/agenda_other.php394TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.page'=>'comm/action/card.php','t.param'=>'complete','t.user_id'=>'0','t.type'=>'createform','t.entity'=>(string)($conf->entity)] of type array{t.page:'comm/action/card.php',t.param:'complete',t.user_id:'0',t.type:'createform',t.entity:string} but \DefaultValues::fetchAll() takes string (no real type) defined at htdocs/core/class/defaultvalues.class.php:248 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/admin/bom.php272TypeError PhanTypeMismatchArgument Argument 1 ($objprod) is $mysoc of type \CommonIncoterm|\CommonObject|\CommonPeople|\CommonSocialNetworks|\DolDeprecationHandler|\Societe but \ModeleNumRefBoms::getNextValue() takes \Product defined at htdocs/core/modules/bom/modules_bom.php:95
htdocs/admin/defaultvalues.php372TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.type'=>$mode,'t.entity'=>[$user->entity,$conf->entity]] of type array{t.type:'createform'|'focus'|'mandatory'|'sortorder'|mixed[]|string,t.entity:array{0:int,1:int}} but \DefaultValues::fetchAll() takes string (no real type) defined at htdocs/core/class/defaultvalues.class.php:248 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/admin/defaultvalues.php372TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.type'=>$mode,'t.entity'=>[$user->entity,$conf->entity]] of type array{t.type:'createform'|'focus'|'mandatory'|'sortorder'|mixed[]|string,t.entity:array{0:int|non-zero-int,1:int|non-zero-int}} but \DefaultValues::fetchAll() takes string (no real type) defined at htdocs/core/class/defaultvalues.class.php:248 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/api/class/api_documents.class.php519Plugin PhanPluginDuplicateExpressionBinaryOp Both sides of the binary operator && are the same: !DolibarrApiAccess::$user->hasRight('expensereport', 'read')
htdocs/api/class/api_documents.class.php533Plugin PhanPluginDuplicateExpressionBinaryOp Both sides of the binary operator && are the same: !DolibarrApiAccess::$user->hasRight('knowledgemanagement', 'knowledgerecord', 'read')
htdocs/api/class/api_setup.class.php2825TypeError PhanTypeMismatchArgument Argument 1 ($object) is $conf->modules of type array|array|array but \Setup::_cleanObjectDatas() takes object defined at htdocs/api/class/api_setup.class.php:840
htdocs/api/class/api_setup.class.php2825TypeError PhanTypeMismatchReturn Returning $this->_cleanObjectDatas($conf->modules) of type object but getModules() is declared to return array
htdocs/asset/class/asset.class.php978TypeError PhanTypeInvalidDimOffset Invalid offset "pastmonthyear" of $dates of array type array{date_start:int,date_end:int}
htdocs/asset/class/asset.class.php979TypeError PhanTypeInvalidDimOffset Invalid offset "pastmonth" of $dates of array type array{date_start:int,date_end:int}
htdocs/asset/class/asset.class.php1115Plugin PhanPluginUndeclaredVariableIsset undeclared variable $begin_period in isset()
htdocs/asset/class/assetdepreciationoptions.class.php277TypeError PhanTypeInvalidDimOffset Invalid offset GETPOST($html_name) of $tmparraykey of array type array{}
htdocs/asset/class/assetmodel.class.php322UndefError PhanUndeclaredProperty Reference to undeclared property \AssetModel->fk_soc