Advanced Project Status

Generated on 2024-07-19 08:16:30 in 984 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode
All files without dependencies    
See detail per file type...
70 810 3073 6301 471 203171 290286 2641 013 649
All files of dependencies only    
See detail per file type...
67 751 2243 3341 087 59185 197167 748834 646
Total138 561 5316 9642 558 794256 487454 0121 848 295

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 268 510
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
d3ebd3fb…2024-07-12SEC: Possible RCE when php module json off. +Warning in security page.20.0, develop
e0094bc8…2024-07-02#yogosha23096FIX #yogosha2309620.0, develop
ef3f007f…2024-06-02#yogosha22395Fix #yogosha2239520.0, develop
8d85a725…2024-06-02#yogosha22394Fix #yogosha2239420.0, develop
8f9feeb1…2024-06-01SEC: RCE on PHP 7.1 to 7.4, if json module not activated and using API20.0, develop
cc6cc18f…2024-05-06#yogosha22317Fix #yogosha22317 A user with read only permission can modify a debit or credit transfer.20.0, develop
a952a546…2024-05-06#yogosha22292Fix #yogosha22292 Permission check on stock read on page with stock per product.20.0, develop
47f87d2c…2024-04-23#yogosha22179FIX #yogosha22179 A user without permission "edit PHP" can load a website template that contains PHP code20.0, develop
cf58ac8b…2024-04-23SEC: A user with export permission can export module data without permission on module by jumping to the export step 2 with URL IDOR attack.19.0, 20.0, develop

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

Technical debt (PHPStan - PHP Static Analysis Tool 1.10.27 - level 4 -> 43 warnings)

FileLineType
htdocs/core/boxes/box_factures_imp.php145Constant datelimite not found.
htdocs/core/class/evalmath.class.php363Call to function is_null() with mixed will always evaluate to false.
htdocs/core/class/fileupload.class.php161Strict comparison using === between array|string and null will always evaluate to false.
htdocs/core/class/html.formsetup.class.php744Property FormSetupItem::$saveCallBack (callable) in empty() is not falsy.
htdocs/core/class/html.formsetup.class.php790Property FormSetupItem::$setValueFromPostCallBack (callable) in empty() is not falsy.
htdocs/core/class/interfaces.class.php91Call to function is_object() with mixed will always evaluate to false.
htdocs/core/class/interfaces.class.php94Call to function is_object() with mixed will always evaluate to false.
htdocs/core/class/rssparser.class.php287Call to function is_resource() with XMLParser will always evaluate to false.
htdocs/core/filemanagerdol/connectors/php/connector.lib.php394Strict comparison using === between 0 and -1 will always evaluate to false.
htdocs/core/lib/accounting.lib.php40Call to function is_null() with mixed will always evaluate to false.
htdocs/core/lib/company.lib.php1753Function show_actions_done() never returns void so it can be removed from the return type.
htdocs/core/lib/functions.lib.php4478Function dol_print_address() never returns void so it can be removed from the return type.
htdocs/core/lib/functions.lib.php4851Call to function is_null() with mixed will always evaluate to false.
htdocs/core/lib/functions.lib.php7143Function getLocalTaxesFromRate() never returns array{string, float, string, float, string, string} so it can be removed from the return type.
htdocs/core/lib/functions.lib.php7143Function getLocalTaxesFromRate() never returns array{string, float, string, string} so it can be removed from the return type.
htdocs/core/lib/functions.lib.php12453Offset 'title' on array{class: non-falsy-string, href: mixed} in empty() does not exist.
htdocs/core/lib/functions.lib.php13119Strict comparison using === between mixed and 0 will always evaluate to false.
htdocs/core/lib/functions.lib.php13525Call to function is_int() with string will always evaluate to false.
htdocs/core/lib/functions.lib.php13651Function show_actions_messaging() never returns void so it can be removed from the return type.
htdocs/core/lib/functions2.lib.php2305Unreachable statement - code above always terminates.

Technical debt (PHAN 11342 warnings)

FileLineDetail
htdocs/accountancy/bookkeeping/card.php135TypeError PhanPossiblyNullTypeMismatchProperty Assigning $subledger_account of type ?array|?string to property but \BookKeeping->subledger_account is string (null is incompatible)
htdocs/accountancy/bookkeeping/card.php186TypeError PhanPossiblyNullTypeMismatchProperty Assigning $subledger_account of type ?array|?string to property but \BookKeeping->subledger_account is string (null is incompatible)
htdocs/accountancy/bookkeeping/card.php192TypeError PhanTypeMismatchProperty Assigning (string)(GETPOST('doc_date', 'alpha')) of type string to property but \BookKeeping->doc_date is int
htdocs/accountancy/bookkeeping/card.php516TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($select_in) is [] of type array{} but \FormAccounting::select_journal() takes int (no real type) defined at htdocs/core/class/html.formaccounting.class.php:86 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/accountancy/bookkeeping/card.php779TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($rowid) is null of type null but \AccountingAccount::fetch() takes int (no real type) defined at htdocs/accountancy/class/accountingaccount.class.php:179 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/accountancy/bookkeeping/export.php1246TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($rowid) is '' of type '' but \AccountingJournal::fetch() takes int (no real type) defined at htdocs/accountancy/class/accountingjournal.class.php:113 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/accountancy/bookkeeping/list.php604UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $result is possibly undeclared
htdocs/accountancy/bookkeeping/list.php1274UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $objectstatic is possibly undeclared
htdocs/accountancy/bookkeeping/list.php1276UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $objectstatic is possibly undeclared
htdocs/accountancy/bookkeeping/list.php1278UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $objectstatic is possibly undeclared
htdocs/accountancy/bookkeeping/list.php1279UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $objectstatic is possibly undeclared
htdocs/accountancy/bookkeeping/listbyaccount.php575UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $result is possibly undeclared
htdocs/accountancy/bookkeeping/listbyaccount.php1268UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $objectstatic is possibly undeclared
htdocs/accountancy/bookkeeping/listbyaccount.php1269UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $documentlink is possibly undeclared
htdocs/accountancy/bookkeeping/listbyaccount.php1271UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $objectstatic is possibly undeclared
htdocs/accountancy/bookkeeping/listbyaccount.php1403UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $colspan is possibly undeclared
htdocs/accountancy/bookkeeping/listbyaccount.php1405UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $accountg is possibly undeclared
htdocs/accountancy/bookkeeping/listbyaccount.php1408UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $colspanend is possibly undeclared
htdocs/accountancy/class/accountancycategory.class.php118Plugin PhanPluginUnknownArrayPropertyType Property \AccountancyCategory->lines_cptbk has an array type, but does not specify any key types or value types
htdocs/accountancy/class/accountancycategory.class.php123Plugin PhanPluginUnknownArrayPropertyType Property \AccountancyCategory->lines_display has an array type, but does not specify any key types or value types