Advanced Project Status

Generated on 2025-10-17 04:25:10 in 1501 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode (SLOC)
All files without dependencies    
See detail per file type...
88 099 2643 9141 711 557185 100326 3491 200 108
All files of dependencies only    
See detail per file type...
64 388 5903 163762 40168 360157 793536 248
Total152 487 8547 0772 473 958253 460484 1421 736 356

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 386 713
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 -> 2219 warnings)

FileLineType
htdocs/accountancy/class/accountancyexport.class.php1516Variable $invoice might not be defined.
htdocs/accountancy/class/accountancyexport.class.php1516Variable $invoice might not be defined.
htdocs/accountancy/class/accountancyexport.class.php1736Variable $invoice might not be defined.
htdocs/accountancy/class/accountancyexport.class.php1736Variable $invoice might not be defined.
htdocs/accountancy/class/accountingjournal.class.php510Call to function array_key_exists() with 'error' and array{ref: mixed, label: mixed, acquisition_value_ht: mixed, depreciation: non-empty-array, disposal?: array{date: mixed, amount: mixed, subject_to_vat: bool}} will always evaluate to false.
htdocs/accountancy/class/lettering.class.php968Variable $save_link_by_element might not be defined.
htdocs/accountancy/class/lettering.class.php969Variable $save_element_by_link might not be defined.
htdocs/accountancy/closure/index.php149Variable $current_fiscal_period in isset() always exists and is not nullable.
htdocs/accountancy/closure/index.php179Variable $current_fiscal_period in isset() always exists and is not nullable.
htdocs/accountancy/closure/index.php195Variable $current_fiscal_period in isset() always exists and is not nullable.
htdocs/accountancy/closure/index.php348Variable $current_fiscal_period in isset() always exists and is not nullable.
htdocs/accountancy/journal/expensereportsjournal.php586Variable $def_tva might not be defined.
htdocs/accountancy/journal/treasuryjournal.php1217Unary operation "-" on float|string results in an error.
htdocs/accountancy/journal/treasuryjournal.php1489Unary operation "-" on float|string results in an error.
htdocs/adherents/admin/member.php375Variable $mc might not be defined.
htdocs/adherents/class/subscription.class.php103PHPDoc type array of property Subscription::$fields is not covariant with PHPDoc type array of overridden property CommonObject::$fields.
htdocs/adherents/list.php652Variable $contextpage in empty() always exists and is not falsy.
htdocs/adherents/messaging.php198Variable $contextpage in empty() always exists and is not falsy.
htdocs/adherents/subscription/card.php376Variable $bankline in empty() always exists and is not falsy.
htdocs/admin/const.php57Variable $massaction might not be defined.

Technical debt (Phan 5.4.3 -> 809 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.php1111UndefError PhanUndeclaredProperty Reference to undeclared property \CommonObject->title
htdocs/categories/viewcat.php1340UndefError PhanUndeclaredProperty Reference to undeclared property \Ticket->label
htdocs/categories/viewcat.php1428UndefError 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.php262TypeError PhanTypeMismatchDimFetch When fetching an array index from a value of type ''|int, found an array index of type 'week', but expected the index to be of type int
htdocs/comm/action/pertype.php350TypeError PhanTypeMismatchDimFetch When fetching an array index from a value of type ''|int, found an array index of type 'week', but expected the index to be of type int
htdocs/comm/action/pertype.php1046TypeError PhanTypeExpectedObjectPropAccess Expected an object instance when accessing an instance property, but saw an expression $username with type string
htdocs/comm/action/pertype.php1239TypeError PhanTypeComparisonFromArray array to string comparison
htdocs/comm/action/pertype.php1256TypeError PhanTypeComparisonFromArray array to string comparison
htdocs/comm/action/pertype.php1316TypeError PhanTypeExpectedObjectPropAccess Expected an object instance when accessing an instance property, but saw an expression $username with type string
htdocs/comm/action/pertype.php1318TypeError 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/action/peruser.php2299TypeError PhanTypeComparisonFromArray array to string comparison
htdocs/comm/action/peruser.php2319TypeError PhanTypeComparisonFromArray array to string comparison
htdocs/comm/action/peruser.php2339TypeError PhanTypeComparisonFromArray array to string comparison