Advanced Project Status

Generated on 2025-04-04 00:23:12 in 1385 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode
All files without dependencies    
See detail per file type...
82 015 5963 8101 650 009180 244317 5971 152 168
All files of dependencies only    
See detail per file type...
67 835 7393 2841 086 85784 841167 838834 178
Total149 851 3357 0942 736 866265 085485 4351 986 346

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 821 906
COCOMO effort
(Basic organic model)
6 640 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 -> 3753 warnings)

FileLineType
htdocs/accountancy/admin/categories.php203Unable to resolve the template type T in call to function dol_sort_array
htdocs/accountancy/admin/productaccount.php207Variable $toselect in empty() always exists and is not falsy.
htdocs/accountancy/admin/subaccount.php316Variable $contextpage in empty() always exists and is not falsy.
htdocs/accountancy/bookkeeping/export.php543Variable $filter might not be defined.
htdocs/accountancy/bookkeeping/export.php544Variable $filter might not be defined.
htdocs/accountancy/bookkeeping/export.php646Variable $filter might not be defined.
htdocs/accountancy/bookkeeping/export.php873Variable $contextpage in empty() always exists and is not falsy.
htdocs/accountancy/bookkeeping/export.php895Variable $filter might not be defined.
htdocs/accountancy/bookkeeping/list.php630Variable $filter might not be defined.
htdocs/accountancy/bookkeeping/list.php631Variable $filter might not be defined.
htdocs/accountancy/bookkeeping/list.php757Variable $contextpage in empty() always exists and is not falsy.
htdocs/accountancy/bookkeeping/list.php791Variable $filter might not be defined.
htdocs/accountancy/bookkeeping/list.php1255Variable $documentlink might not be defined.
htdocs/accountancy/bookkeeping/listbyaccount.php823Variable $contextpage in empty() always exists and is not falsy.
htdocs/accountancy/class/accountancycategory.class.php165Property AccountancyCategory::$code (string) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php168Property AccountancyCategory::$label (string) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php171Property AccountancyCategory::$range_account (string) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php174Property AccountancyCategory::$sens (int) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php177Property AccountancyCategory::$category_type (int) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php180Property AccountancyCategory::$formula (string) in isset() is not nullable.

Technical debt (PHAN 930 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