Advanced Project Status

Generated on 2024-07-27 08:15:52 in 947 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode
All files without dependencies    
See detail per file type...
70 868 7203 6341 472 549171 490286 6551 014 404
All files of dependencies only    
See detail per file type...
67 751 1973 3341 087 59185 197167 748834 646
Total138 619 9176 9682 560 140256 687454 4031 849 050

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 298 782
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
7595609b…2024-07-23#yogosha23464Fix #yogosha23464 possible RCE by an admin user.20.0, develop
1d04c0a3…2024-07-23#yogosha23433Fix #yogosha23433 - Disallow }[ and call_user_func into php code of website.20.0, develop
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

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

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

FileLineType
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.php747Property FormSetupItem::$saveCallBack (callable) in empty() is not falsy.
htdocs/core/class/html.formsetup.class.php793Property 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.php4530Function dol_print_address() never returns void so it can be removed from the return type.
htdocs/core/lib/functions.lib.php4903Call to function is_null() with mixed will always evaluate to false.
htdocs/core/lib/functions.lib.php7196Function getLocalTaxesFromRate() never returns array{string, float, string, float, string, string} so it can be removed from the return type.
htdocs/core/lib/functions.lib.php7196Function getLocalTaxesFromRate() never returns array{string, float, string, string} so it can be removed from the return type.
htdocs/core/lib/functions.lib.php12529Offset 'title' on array{class: non-falsy-string, href: mixed} in empty() does not exist.
htdocs/core/lib/functions.lib.php13195Strict comparison using === between mixed and 0 will always evaluate to false.
htdocs/core/lib/functions.lib.php13601Call to function is_int() with string will always evaluate to false.
htdocs/core/lib/functions.lib.php13727Function show_actions_messaging() never returns void so it can be removed from the return type.
htdocs/core/lib/functions2.lib.php2312Unreachable statement - code above always terminates.
htdocs/core/lib/modulebuilder.lib.php1244Call to function is_bool() with int|string will always evaluate to false.

Technical debt (PHAN 11197 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.php516Plugin PhanPluginUnknownArrayMethodParamType Method \AccountancyCategory::updateAccAcc has a parameter type of array for $cpts, but does not specify any key types or value types
htdocs/accountancy/class/accountancycategory.class.php662UndefError PhanPossiblyUndeclaredVariable Variable $listofaccount is possibly undeclared