Advanced Project Statistics

Generated on 2024-03-03 00:14:37 in 871 seconds

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode
All files without dependencies    
See detail per file type...
69 735 4563 6121 452 850170 133278 5311 004 186
All files of dependencies only    
See detail per file type...
66 144 3323 2931 050 73680 034161 031809 671
Total135 879 7886 9052 503 586250 167439 5621 813 857

Contributions

TODO...

Contributors

TODO...

Project value

COCOMO value
(Basic organic model)
$68 898 273
COCOMO effort
(Basic organic model)
5 944 months people

Last security issues (last 2 months)

Commit IDDateReported on
Yogosha
Reported on
GIT
Reported on
CVE
Title
3f99cce3…2024-02-17#yogosha20850Fix #yogosha20850
fb283fdf…2024-02-17Clean code after yogosha reports
6a8be838…2024-02-09#28090CVE-2024-2381714.0 fix CVE 2024 23817 (#28090)
fb69347e…2024-02-09#28089CVE-2024-23817FIX CVE-2024-23817 (#28089)
94cd823a…2024-02-08#yogosha20662Fix #yogosha20662
181670df…2024-02-01#yogosha20028Fix #yogosha20028
3eb461db…2024-01-24#27771FIX #27771 Sec: birth date and personal address not visible by default on vcard
372b4a02… 2024-01-19#yogosha20013Fix #yogosha20013
63cb470e…2024-01-19#yogosha19893Fix #yogosha19893
62e3f562…2024-01-19#yogosha20008Fix #yogosha20008
203245bf…2024-01-09#yogosha19838Fix #yogosha19838
c13228ef… 2024-01-09#yogosha19828Fix #yogosha19828
fc365532…2024-01-06#yogosha19809Fix #yogosha19809

Technical debt (PHPStan level 3 -> 117 warnings)

FileLineType
htdocs/accountancy/class/accountingjournal.class.php82PHPDoc type array of property AccountingJournal::$lines is not covariant with PHPDoc type array of overridden property CommonObject::$lines.
htdocs/comm/action/class/actioncomm.class.php80PHPDoc type int of property ActionComm::$ref is not covariant with PHPDoc type string of overridden property CommonObject::$ref.
htdocs/comm/action/class/actioncomm.class.php499Property ActionComm::$userassigned (array) does not accept array.
htdocs/compta/facture/class/api_invoices.class.php1645Property Paiement::$datepaye (int) does not accept string.
htdocs/compta/paiement.php265Property Paiement::$amounts (array) does not accept array.
htdocs/compta/paiement.php266Property Paiement::$multicurrency_amounts (array) does not accept array.
htdocs/compta/paiement.php267Property Paiement::$multicurrency_code (array) does not accept array.
htdocs/compta/paiement.php268Property Paiement::$multicurrency_tx (array) does not accept array.
htdocs/core/class/CMailFile.class.php758Method CMailFile::sendfile() should return bool but returns mixed.
htdocs/core/class/CMailFile.class.php1286Method CMailFile::sendfile() should return bool but returns string.
htdocs/core/class/CMailFile.class.php1303Method CMailFile::sendfile() should return bool but returns mixed.
htdocs/core/class/dolgeoip.class.php105Property DolGeoIP::$gi (GeoIp2\Database\Reader) does not accept string.
htdocs/core/class/dolgeoip.class.php109Property DolGeoIP::$gi (GeoIp2\Database\Reader) does not accept string.
htdocs/core/class/dolreceiptprinter.class.php1054Property Mike42\Escpos\Printer::$connector (Mike42\Escpos\PrintConnectors\PrintConnector) does not accept string.
htdocs/core/class/emailsenderprofile.class.php53PHPDoc type array of property EmailSenderProfile::$ismultientitymanaged is not covariant with PHPDoc type int|string of overridden property CommonObject::$ismultientitymanaged.
htdocs/core/class/emailsenderprofile.class.php53Property EmailSenderProfile::$ismultientitymanaged (array) does not accept default value of type int.
htdocs/core/class/html.formadmin.class.php284Method FormAdmin::select_menu() should return int|null but empty return statement found.
htdocs/core/class/utils.class.php1457Property Cronjob::$lastresult (string) does not accept int.
htdocs/core/db/mysqli.class.php243Return type (mysqli|null) of method DoliDBMysqli::connect() should be compatible with return type (resource) of method Database::connect()
htdocs/core/db/mysqli.class.php243Return type (mysqli|null) of method DoliDBMysqli::connect() should be compatible with return type (resource) of method Database::connect()

Technical debt (PHAN 24124 warnings)

FileLineDetail
htdocs/accountancy/admin/accountmodel.php219UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $newid is possibly undeclared
htdocs/accountancy/admin/accountmodel.php356TypeError PhanTypeMismatchArgumentInternal Argument 1 ($string) is $id of type 2|31 but \urlencode() takes string
htdocs/accountancy/admin/accountmodel.php356TypeError PhanTypeMismatchArgumentInternal Argument 1 ($string) is $page of type non-zero-int but \urlencode() takes string
htdocs/accountancy/admin/accountmodel.php489TypeError PhanTypeMismatchArgumentInternal Argument 1 ($string) is $id of type 2|31 but \urlencode() takes string
htdocs/accountancy/admin/accountmodel.php491TypeError PhanTypeMismatchArgumentInternal Argument 1 ($string) is $search_country_id of type non-zero-int but \urlencode() takes string
htdocs/accountancy/admin/accountmodel.php685Plugin PhanPluginUnknownArrayFunctionParamType Function fieldListAccountModel() has a parameter type of array for $fieldlist, but does not specify any key types or value types
htdocs/accountancy/admin/card.php89Plugin PhanPluginDuplicateExpressionAssignment Both sides of the assignment = are the same: $account_number
htdocs/accountancy/admin/card.php152Plugin PhanPluginDuplicateExpressionAssignment Both sides of the assignment = are the same: $account_number
htdocs/accountancy/admin/card.php256TypeError PhanTypeMismatchArgumentProbablyReal Argument 4 ($event) is null of type null but \FormAccounting::select_account() takes array (no real type) defined at htdocs/core/class/html.formaccounting.class.php:364 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/accountancy/admin/categories.php155TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9300 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/accountancy/admin/categories.php167TypeError PhanTypeMismatchArgumentProbablyReal Argument 4 ($key_in_label) is null of type null but \Form::multiselectarray() takes int (no real type) defined at htdocs/core/class/html.form.class.php:8789 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/accountancy/admin/categories.php167TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($value_as_key) is null of type null but \Form::multiselectarray() takes int (no real type) defined at htdocs/core/class/html.form.class.php:8789 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/accountancy/admin/categories.php189TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($mesg) is null of type null but \setEventMessages() takes string (no real type) defined at htdocs/core/lib/functions.lib.php:9300 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/accountancy/admin/categories_list.php50UndefError PhanUndeclaredVariableDim Variable $acts was undeclared, but array fields are being added to it.
htdocs/accountancy/admin/categories_list.php52UndefError PhanUndeclaredVariableDim Variable $actl was undeclared, but array fields are being added to it.
htdocs/accountancy/admin/categories_list.php227UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $newid is possibly undeclared
htdocs/accountancy/admin/categories_list.php305Plugin PhanPluginEmptyStatementIf Empty statement list detected for the last if/elseif statement
htdocs/accountancy/admin/categories_list.php343UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $sql is possibly undeclared
htdocs/accountancy/admin/categories_list.php363UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $sql is possibly undeclared
htdocs/accountancy/admin/categories_list.php383UndefError PhanPossiblyUndeclaredGlobalVariable Global variable $sql is possibly undeclared