Advanced Project Status

Generated on 2025-04-20 04:22:04 in 1318 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode
All files without dependencies    
See detail per file type...
82 218 7593 8171 655 253180 656318 7521 155 845
All files of dependencies only    
See detail per file type...
67 835 7423 2841 086 85784 841167 838834 178
Total150 054 5017 1012 742 110265 497486 5901 990 023

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 970 291
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
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 -> 3722 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.php869Variable $contextpage in empty() always exists and is not falsy.
htdocs/accountancy/bookkeeping/list.php753Variable $contextpage in empty() always exists and is not falsy.
htdocs/accountancy/bookkeeping/list.php1251Variable $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.
htdocs/accountancy/class/accountancycategory.class.php183Property AccountancyCategory::$position (int) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php186Property AccountancyCategory::$fk_country (int) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php189Property AccountancyCategory::$active (int) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php215Property AccountancyCategory::$code (string) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php216Property AccountancyCategory::$label (string) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php217Property AccountancyCategory::$range_account (string) in isset() is not nullable.
htdocs/accountancy/class/accountancycategory.class.php218Property AccountancyCategory::$sens (int) in isset() is not nullable.

Technical debt (PHAN 935 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.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.php942TypeError PhanTypeInvalidDimOffset Invalid offset "pastmonthyear" of $dates of array type array{date_start:int,date_end:int}
htdocs/asset/class/asset.class.php943TypeError PhanTypeInvalidDimOffset Invalid offset "pastmonth" of $dates of array type array{date_start:int,date_end:int}
htdocs/asset/class/asset.class.php1079Plugin 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