Advanced Project Status

Generated on 2025-11-08 04:24:43 in 1477 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode (SLOC)
All files without dependencies    
See detail per file type...
88 499 5463 8991 721 452186 521330 2811 204 650
All files of dependencies only    
See detail per file type...
64 387 0193 150762 28567 419159 231535 635
Total152 886 5657 0492 483 737253 940489 5121 740 285

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/Semi-detached model)
$133 739 755
COCOMO effort
(Basic/Semi-detached model)
11 775 months people

Last security issues (last 6 months)

Commit IDDateReported on
Yogosha
Reported on
GIT
Reported on
CVE
TitleBranch of fix
01aa901f… 2025-09-04#34762CVE-2024-4013718.0 fix CVE 2024 40137 (#34762), Sec: Remove all functions that accept callable params - CVE-2024-40137, FIX #34746 - More complete fix for CVE-2024-40137, Sec: Remove all functions that accept callable params18.0, 19.0, 20.0, 21.0, 22.0, develop
5a8aff9e…2025-09-02Sec: Update doc to trigger alert of vulnerability fix in commit bb0974add9cb746c2f1723a239bbaf50561251c621.0, 22.0, develop
b03f30c7…2025-07-27Sec: Remove functions accepting callable params - Reported by phdwg141021.0, 22.0, develop

Note:Search is done in git repository on regex string "#yogosha|CVE[\s\-]*\d|Sec:|Sec\s" (not case sensitive)
You can use this URL for RSS notifications: index-security.rss

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

FileLineType
htdocs/adherents/subscription/card.php376Variable $bankline in empty() always exists and is not falsy.
htdocs/admin/const.php57Variable $massaction might not be defined.
htdocs/admin/dav.php127Offset 'css' on array{css: 'minwidth200', enabled: mixed} in empty() always exists and is not falsy.
htdocs/admin/dict.php2356Variable $rowidcol in empty() always exists and is not falsy.
htdocs/admin/dict.php2362Variable $param in empty() always exists and is not falsy.
htdocs/admin/emailcollector_list.php367Variable $contextpage in empty() always exists and is not falsy.
htdocs/admin/events.php98Variable $contextpage in empty() always exists and is not falsy.
htdocs/admin/fediverse.php134Variable $result might not be defined.
htdocs/admin/hrm.php597Variable $arrayofparameters in empty() always exists and is not falsy.
htdocs/admin/hrm.php654Variable $object might not be defined.
htdocs/admin/knowledgemanagement.php357Offset 'includerefgeneration' on array{label: 'KnowledgeManagement', includerefgeneration: 1, includedocgeneration: 0, class: 'KnowledgeRecord'} in empty() always exists and is not falsy.
htdocs/admin/knowledgemanagement.php618Variable $setupnotempty in empty() always exists and is not falsy.
htdocs/admin/limits.php155Variable $aCurrencies in empty() always exists and is not falsy.
htdocs/admin/limits.php233Variable $aCurrencies in empty() always exists and is not falsy.
htdocs/admin/limits.php343Parameter #12 $localtaxes_array of function calcul_price_total expects array{string, int|string, string, int|string, string, string}|array{string, int|string, string, string}, array{} given.
htdocs/admin/limits.php352Parameter #12 $localtaxes_array of function calcul_price_total expects array{string, int|string, string, int|string, string, string}|array{string, int|string, string, string}, array{} given.
htdocs/admin/mails.php395Variable $text in empty() always exists and is not falsy.
htdocs/admin/mails.php540Variable $text in empty() always exists and is not falsy.
htdocs/admin/mails.php712Variable $text in empty() always exists and is not falsy.
htdocs/admin/mails.php769Variable $text in empty() always exists and is not falsy.

Technical debt (Phan 5.4.3 -> 765 warnings)

FileLineDetail
htdocs/bookcal/class/calendar.class.php304UndefError PhanUndeclaredProperty Reference to undeclared property \Calendar->socid
htdocs/bookcal/class/calendar.class.php982UndefError PhanUndeclaredMethod Call to undeclared method \CommonNumRefGenerator::getNextValue
htdocs/categories/viewcat.php1112UndefError PhanUndeclaredProperty Reference to undeclared property \CommonObject->title
htdocs/categories/viewcat.php1341UndefError PhanUndeclaredProperty Reference to undeclared property \Ticket->label
htdocs/categories/viewcat.php1429UndefError PhanUndeclaredProperty Reference to undeclared property \CommonObject->description
htdocs/comm/action/index.php1126TypeError PhanTypeMismatchArgument Argument 1 ($string) is $event->datep of type int|non-zero-int but \DoliDB::jdate() takes string defined at htdocs/core/db/DoliDB.class.php:399
htdocs/comm/action/index.php1127TypeError PhanTypeMismatchArgument Argument 1 ($string) is $event->datef of type int|non-zero-int but \DoliDB::jdate() takes string defined at htdocs/core/db/DoliDB.class.php:399
htdocs/comm/action/index.php1458TypeError PhanTypeMismatchProperty Assigning ($userId as a field) of type array to property but \ActionComm->userassigned is array
htdocs/comm/action/pertype.php1054TypeError PhanTypeExpectedObjectPropAccess Expected an object instance when accessing an instance property, but saw an expression $username with type string
htdocs/comm/action/pertype.php1324TypeError PhanTypeExpectedObjectPropAccess Expected an object instance when accessing an instance property, but saw an expression $username with type string
htdocs/comm/action/pertype.php1326TypeError PhanTypeExpectedObjectPropAccess Expected an object instance when accessing an instance property, but saw an expression $username with type string
htdocs/comm/action/peruser.php1046TypeError PhanTypeMismatchArgument Argument 1 ($string) is $event->datep of type int|non-zero-int but \DoliDB::jdate() takes string defined at htdocs/core/db/DoliDB.class.php:399
htdocs/comm/action/peruser.php1047TypeError PhanTypeMismatchArgument Argument 1 ($string) is $event->datef of type int|non-zero-int but \DoliDB::jdate() takes string defined at htdocs/core/db/DoliDB.class.php:399
htdocs/comm/card.php965TypeError PhanTypeMismatchArgument Argument 1 ($file) is $file_list of type array{name:string,path:string,level1name:string,relativename:string,fullname:string,date:string,size:int,perm:int,type:string,position_name:string,cover:string,keywords:string,acl:string,rowid:int,label:string,share:string}[]|non-empty-array but \FormFile::showPreview() takes array{name:string,path?:string,level1name?:string,relativename?:string,fullname:string,date?:string,size?:int,perm?:int,type?:string} defined at htdocs/core/class/html.formfile.class.php:2395
htdocs/comm/card.php1086TypeError PhanTypeMismatchArgument Argument 1 ($file) is $file_list of type array{name:string,path:string,level1name:string,relativename:string,fullname:string,date:string,size:int,perm:int,type:string,position_name:string,cover:string,keywords:string,acl:string,rowid:int,label:string,share:string}[]|non-empty-array but \FormFile::showPreview() takes array{name:string,path?:string,level1name?:string,relativename?:string,fullname:string,date?:string,size?:int,perm?:int,type?:string} defined at htdocs/core/class/html.formfile.class.php:2395
htdocs/comm/card.php1187TypeError PhanTypeMismatchArgument Argument 1 ($file) is $file_list of type array{name:string,path:string,level1name:string,relativename:string,fullname:string,date:string,size:int,perm:int,type:string,position_name:string,cover:string,keywords:string,acl:string,rowid:int,label:string,share:string}[]|non-empty-array but \FormFile::showPreview() takes array{name:string,path?:string,level1name?:string,relativename?:string,fullname:string,date?:string,size?:int,perm?:int,type?:string} defined at htdocs/core/class/html.formfile.class.php:2395
htdocs/comm/card.php1301TypeError PhanTypeMismatchArgument Argument 1 ($file) is $file_list of type array{name:string,path:string,level1name:string,relativename:string,fullname:string,date:string,size:int,perm:int,type:string,position_name:string,cover:string,keywords:string,acl:string,rowid:int,label:string,share:string}[]|non-empty-array but \FormFile::showPreview() takes array{name:string,path?:string,level1name?:string,relativename?:string,fullname:string,date?:string,size?:int,perm?:int,type?:string} defined at htdocs/core/class/html.formfile.class.php:2395
htdocs/comm/card.php1402TypeError PhanTypeMismatchArgument Argument 1 ($file) is $file_list of type array{name:string,path:string,level1name:string,relativename:string,fullname:string,date:string,size:int,perm:int,type:string,position_name:string,cover:string,keywords:string,acl:string,rowid:int,label:string,share:string}[]|non-empty-array but \FormFile::showPreview() takes array{name:string,path?:string,level1name?:string,relativename?:string,fullname:string,date?:string,size?:int,perm?:int,type?:string} defined at htdocs/core/class/html.formfile.class.php:2395
htdocs/comm/card.php1633TypeError PhanTypeMismatchArgument Argument 1 ($file) is $file_list of type array{name:string,path:string,level1name:string,relativename:string,fullname:string,date:string,size:int,perm:int,type:string,position_name:string,cover:string,keywords:string,acl:string,rowid:int,label:string,share:string}[]|non-empty-array but \FormFile::showPreview() takes array{name:string,path?:string,level1name?:string,relativename?:string,fullname:string,date?:string,size?:int,perm?:int,type?:string} defined at htdocs/core/class/html.formfile.class.php:2395
htdocs/comm/mailing/index.php121UndefError PhanUndeclaredProperty Reference to undeclared property \MailingTargets->require_module