Advanced Project Status

Generated on 2024-11-20 20:16:51 in 1004 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode
All files without dependencies    
See detail per file type...
72 642 6273 7251 523 116176 876311 1661 035 074
All files of dependencies only    
See detail per file type...
67 565 6123 2831 084 88884 768167 749832 371
Total140 208 2397 0082 608 004261 644478 9151 867 445

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)
$71 037 648
COCOMO effort
(Basic organic model)
6 219 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

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

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

FileLineType
htdocs/accountancy/admin/accountmodel.php201If condition is always false.
htdocs/accountancy/admin/accountmodel.php216Left side of && is always false.
htdocs/accountancy/admin/accountmodel.php224Left side of && is always false.
htdocs/accountancy/admin/accountmodel.php262If condition is always false.
htdocs/accountancy/admin/accountmodel.php271Left side of && is always false.
htdocs/accountancy/admin/accountmodel.php305If condition is always false.
htdocs/accountancy/admin/accountmodel.php620If condition is always true.
htdocs/accountancy/admin/accountmodel.php628If condition is always true.
htdocs/accountancy/admin/accountmodel.php635If condition is always true.
htdocs/accountancy/admin/accountmodel.php703If condition is always true.
htdocs/accountancy/admin/accountmodel.php708If condition is always true.
htdocs/accountancy/admin/card.php79Right side of && is always true.
htdocs/accountancy/admin/card.php134Right side of && is always true.
htdocs/accountancy/admin/card.php421If condition is always true.
htdocs/accountancy/admin/categories.php203Unable to resolve the template type T in call to function dol_sort_array
htdocs/accountancy/admin/categories_list.php468If condition is always true.
htdocs/accountancy/admin/categories_list.php606If condition is always true.
htdocs/accountancy/admin/categories_list.php828If condition is always true.
htdocs/accountancy/admin/fiscalyear_card.php105Right side of && is always true.
htdocs/accountancy/admin/fiscalyear_card.php113Right side of && is always true.

Technical debt (PHAN 2229 warnings)

FileLineDetail
htdocs/accountancy/class/accountancycategory.class.php134Plugin PhanPluginUnknownArrayPropertyType Property \AccountancyCategory->sdcpermonth has an array type, but does not specify any key types or value types
htdocs/accountancy/class/accountancyexport.class.php1867UndefError PhanUndeclaredProperty Reference to undeclared property \BookKeepingLine->code_tiers
htdocs/adherents/list.php1600UndefError PhanUndeclaredGlobalVariable Global variable $diroutputmassaction is undeclared
htdocs/adherents/type.php225TypeError PhanTypeMismatchProperty Assigning dol_clone($object, 2) of type \AdherentType|\CommonObject to property but \CommonObject->oldcopy is ?static
htdocs/admin/agenda_other.php103TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.page'=>'comm/action/card.php','t.param'=>'complete','t.user_id'=>'0','t.type'=>'createform','t.entity'=>$conf->entity] of type array{t.page:'comm/action/card.php',t.param:'complete',t.user_id:'0',t.type:'createform',t.entity: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/admin/agenda_other.php103TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.page'=>'comm/action/card.php','t.param'=>'complete','t.user_id'=>'0','t.type'=>'createform','t.entity'=>$conf->entity] of type array{t.page:'comm/action/card.php',t.param:'complete',t.user_id:'0',t.type:'createform',t.entity: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/agenda_other.php393TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.page'=>'comm/action/card.php','t.param'=>'complete','t.user_id'=>'0','t.type'=>'createform','t.entity'=>$conf->entity] of type array{t.page:'comm/action/card.php',t.param:'complete',t.user_id:'0',t.type:'createform',t.entity: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/admin/agenda_other.php393TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.page'=>'comm/action/card.php','t.param'=>'complete','t.user_id'=>'0','t.type'=>'createform','t.entity'=>$conf->entity] of type array{t.page:'comm/action/card.php',t.param:'complete',t.user_id:'0',t.type:'createform',t.entity: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.php369TypeError 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.php369TypeError 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_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/class/asset.class.php937TypeError PhanTypeInvalidDimOffset Invalid offset "pastmonthyear" of $dates of array type array{date_start:int,date_end:int}
htdocs/asset/class/asset.class.php938TypeError PhanTypeInvalidDimOffset Invalid offset "pastmonth" of $dates of array type array{date_start:int,date_end:int}
htdocs/asset/class/asset.class.php1074Plugin 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
htdocs/asset/class/assetmodel.class.php322UndefError PhanUndeclaredProperty Reference to undeclared property \AssetModel->socid