Advanced Project Status

Generated on 2024-10-25 12:17:11 in 1025 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode
All files without dependencies    
See detail per file type...
71 983 9603 7051 500 951174 822298 1501 027 979
All files of dependencies only    
See detail per file type...
67 721 2753 3341 087 31285 200167 774834 338
Total139 705 2357 0392 588 263260 022465 9241 862 317

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)
$70 831 029
COCOMO effort
(Basic organic model)
6 164 months people

Last security issues (last 3 months)

Commit IDDateReported on
Yogosha
Reported on
GIT
Reported on
CVE
TitleBranch of fix
d1158716…2024-08-31#yogosha23806Fix #yogosha23806 Can update stock without permission20.0, develop
afc31bca…2024-08-31#yogosha23803Fix #yogosha2380320.0, develop
fad8cd11…2024-08-22#yogosha23531Fix #yogosha23531 Can modify invoice line margin without permission on invoice20.0, develop
35d86275…2024-08-22#yogosha23530Fix #yogosha23530 Can record action without permission on donation20.0, develop
706e3a83…2024-08-22#yogosha23523Fix #yogosha23523 Can modify the incoterm on sale order without permission20.0, develop

You can use this URL for RSS notifications: index-security.rss

Technical debt (PHPStan - PHP Static Analysis Tool 1.10.27 - level 6 -> 1559 warnings)

FileLineType
htdocs/accountancy/class/accountancycategory.class.php134Property AccountancyCategory::$sdcpermonth type has no value type specified in iterable type array.
htdocs/adherents/type.php216Unable to resolve the template type T in call to function dol_clone
htdocs/api/class/api.class.php316Unable to resolve the template type T in call to method DolibarrApi::_cleanObjectDatas()
htdocs/api/class/api_access.class.php249Method DolibarrApiAccess::verifyAccess() has parameter $m with no value type specified in iterable type array.
htdocs/api/class/api_documents.class.php677Method Documents::post() has parameter $array_options with no value type specified in iterable type array.
htdocs/api/class/api_setup.class.php826Method Setup::translateLabel() has parameter $dict with no value type specified in iterable type array.
htdocs/api/class/api_setup.class.php1401Method Setup::postExtrafields() has parameter $request_data with no value type specified in iterable type array.
htdocs/api/class/api_setup.class.php1490Method Setup::updateExtrafields() has parameter $request_data with no value type specified in iterable type array.
htdocs/api/class/api_status.class.php46Method Status::index() return type has no value type specified in iterable type array.
htdocs/asset/class/asset.class.php1598Method Asset::getLinesArray() return type has no value type specified in iterable type array.
htdocs/asset/class/assetaccountancycodes.class.php36Property AssetAccountancyCodes::$accountancy_codes_fields type has no value type specified in iterable type array.
htdocs/asset/class/assetaccountancycodes.class.php69Property AssetAccountancyCodes::$accountancy_codes type has no value type specified in iterable type array.
htdocs/asset/class/assetaccountancycodes.class.php86Method AssetAccountancyCodes::setAccountancyCodesFromPost() return type has no value type specified in iterable type array.
htdocs/asset/class/assetdepreciationoptions.class.php76Property AssetDepreciationOptions::$deprecation_options_fields type has no value type specified in iterable type array.
htdocs/asset/class/assetdepreciationoptions.class.php124Property AssetDepreciationOptions::$deprecation_options type has no value type specified in iterable type array.
htdocs/asset/class/assetmodel.class.php388Method AssetModel::fetchAll() return type has no value type specified in iterable type array.
htdocs/asset/class/assetmodel.class.php819Method AssetModel::getLinesArray() return type has no value type specified in iterable type array.
htdocs/asterisk/wrapper.php70Function llxHeader() has parameter $arrayofcss with no value type specified in iterable type array.
htdocs/asterisk/wrapper.php70Function llxHeader() has parameter $arrayofjs with no value type specified in iterable type array.
htdocs/bom/class/api_boms.class.php105Method Boms::index() return type has no value type specified in iterable type array.

Technical debt (PHAN 3536 warnings)

FileLineDetail
htdocs/accountancy/class/accountancyexport.class.php1865UndefError PhanUndeclaredProperty Reference to undeclared property \BookKeepingLine->code_tiers
htdocs/adherents/list.php1597UndefError PhanUndeclaredGlobalVariable Global variable $diroutputmassaction is undeclared
htdocs/admin/fckeditor.php155TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is [$langs->trans('NotAvailable'),$langs->trans('JavascriptDisabled')] of type array{0:string,1:string} but \setEventMessages() takes null|string (no real type) defined at htdocs/core/lib/functions.lib.php:9934 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/api/class/api_access.class.php154UndefError PhanUndeclaredProperty Reference to undeclared property \DoliDB->error_msg
htdocs/api/class/api_documents.class.php510Plugin PhanPluginDuplicateExpressionBinaryOp Both sides of the binary operator && are the same: !DolibarrApiAccess::$user->hasRight('expensereport', 'read')
htdocs/api/class/api_documents.class.php524Plugin PhanPluginDuplicateExpressionBinaryOp Both sides of the binary operator && are the same: !DolibarrApiAccess::$user->hasRight('knowledgemanagement', 'knowledgerecord', 'read')
htdocs/api/class/api_documents.class.php852UndefError PhanPossiblyUndeclaredVariable Variable $relativefile is possibly undeclared
htdocs/asset/admin/setup.php537TypeError PhanTypeMismatchArgumentProbablyReal Argument 4 ($event) is null of type null but \FormAccounting::select_account() takes array|array[] (no real type) defined at htdocs/core/class/html.formaccounting.class.php:371 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/asset/class/asset.class.php1089Plugin PhanPluginUndeclaredVariableIsset undeclared variable $begin_period in isset()
htdocs/asset/class/assetdepreciationoptions.class.php276TypeError PhanTypeInvalidDimOffset Invalid offset GETPOST($html_name) of $tmparraykey of array type array{}
htdocs/asset/class/assetmodel.class.php328UndefError PhanUndeclaredProperty Reference to undeclared property \AssetModel->fk_soc
htdocs/asset/class/assetmodel.class.php328UndefError PhanUndeclaredProperty Reference to undeclared property \AssetModel->socid
htdocs/asset/depreciation.php90Plugin PhanPluginEmptyStatementIf Empty statement list detected for the last if/elseif statement
htdocs/asset/disposal.php80Plugin PhanPluginEmptyStatementIf Empty statement list detected for the last if/elseif statement
htdocs/asset/list.php493TypeError PhanTypeMismatchArgumentProbablyReal Argument 4 ($filter) is null of type null but \FormAdmin::select_language() takes array|string[] (no real type) defined at htdocs/core/class/html.formadmin.class.php:74 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/asset/model/list.php497TypeError PhanTypeMismatchArgumentProbablyReal Argument 4 ($filter) is null of type null but \FormAdmin::select_language() takes array|string[] (no real type) defined at htdocs/core/class/html.formadmin.class.php:74 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/asset/tpl/accountancy_codes_edit.tpl.php69TypeError PhanTypeMismatchArgumentProbablyReal Argument 4 ($event) is null of type null but \FormAccounting::select_account() takes array|array[] (no real type) defined at htdocs/core/class/html.formaccounting.class.php:371 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/asset/tpl/depreciation_options_edit.tpl.php142UndefError PhanUndeclaredProperty Reference to undeclared property \AssetDepreciationOptions->lang
htdocs/asset/tpl/depreciation_options_edit.tpl.php151TypeError PhanTypeMismatchArgumentProbablyReal Argument 4 ($filter) is null of type null but \FormAdmin::select_language() takes array|string[] (no real type) defined at htdocs/core/class/html.formadmin.class.php:74 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/asset/tpl/linkedobjectblock.tpl.php59UndefError PhanUndeclaredProperty Reference to undeclared property \CommonObject->label