Advanced Project Status

Generated on 2025-03-28 04:11:02 in 654 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode
All files without dependencies    
See detail per file type...
81 788 6953 7941 644 151179 552316 4851 148 114
All files of dependencies only    
See detail per file type...
67 835 5243 2841 086 85384 841167 837834 175
Total149 624 2197 0782 731 004264 393484 3221 982 289

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)
$75 658 217
COCOMO effort
(Basic organic model)
6 573 months people

Last security issues (last 3 months)

Commit IDDateReported on
Yogosha
Reported on
GIT
Reported on
CVE
TitleBranch of fix
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
9aa24d9d… 2025-01-09CVE-2024-55227FIX CVE-2024-55227 and CVE-2024-55228 CSRF when MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY is on (hidden option not on by default)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 944 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.php518Plugin PhanPluginDuplicateExpressionBinaryOp Both sides of the binary operator && are the same: !DolibarrApiAccess::$user->hasRight('expensereport', 'read')
htdocs/api/class/api_documents.class.php532Plugin PhanPluginDuplicateExpressionBinaryOp Both sides of the binary operator && are the same: !DolibarrApiAccess::$user->hasRight('knowledgemanagement', 'knowledgerecord', 'read')
htdocs/api/class/api_setup.class.php2824TypeError 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:839
htdocs/api/class/api_setup.class.php2824TypeError PhanTypeMismatchReturn Returning $this->_cleanObjectDatas($conf->modules) of type object but getModules() is declared to return array
htdocs/asset/class/asset.class.php931TypeError PhanTypeInvalidDimOffset Invalid offset "pastmonthyear" of $dates of array type array{date_start:int,date_end:int}
htdocs/asset/class/asset.class.php932TypeError PhanTypeInvalidDimOffset Invalid offset "pastmonth" of $dates of array type array{date_start:int,date_end:int}
htdocs/asset/class/asset.class.php1068Plugin 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