Advanced Project Status

Generated on 2024-10-30 20:17:51 in 1064 seconds by apstats

Lines of code

LanguageBytesFilesLinesBlanksCommentsCode
All files without dependencies    
See detail per file type...
72 064 0393 7041 503 211174 966299 2441 029 001
All files of dependencies only    
See detail per file type...
67 565 3733 2831 084 88884 768167 749832 371
Total139 629 4126 9872 588 099259 734466 9931 861 372

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 793 939
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
d1158716…2024-08-31#yogosha23806Fix #yogosha23806 Can update stock without permission20.0, develop
afc31bca…2024-08-31#yogosha23803Fix #yogosha2380320.0, develop
fad8cd11…2024-08-22#yogosha23531Fix #yogosha23531 Can modify invoice line margin without permission on invoice20.0, develop
35d86275…2024-08-22#yogosha23530Fix #yogosha23530 Can record action without permission on donation20.0, develop
706e3a83…2024-08-22#yogosha23523Fix #yogosha23523 Can modify the incoterm on sale order without permission20.0, develop

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

Technical debt (PHPStan - PHP Static Analysis Tool 1.10.27 - level 6 -> 679 warnings)

FileLineType
htdocs/accountancy/class/accountancycategory.class.php134Property AccountancyCategory::$sdcpermonth type has no value type specified in iterable type array.
htdocs/bom/class/bom.class.php1571Method BOM::getNetNeedsTree() has parameter $TNetNeeds with no value type specified in iterable type array.
htdocs/bookcal/class/availabilities.class.php439Method Availabilities::fetchAll() return type has no value type specified in iterable type array.
htdocs/bookcal/class/availabilities.class.php978Method Availabilities::getLinesArray() return type has no value type specified in iterable type array.
htdocs/categories/class/api_categories.class.php47Property Categories::$TYPES has no type specified.
htdocs/comm/action/class/cactioncomm.class.php87Property CActionComm::$type_actions type has no value type specified in iterable type array.
htdocs/comm/action/index.php1831Function show_day_events() has parameter $eventarray with no value type specified in iterable type array.
htdocs/comm/action/pertype.php974Function show_day_events_pertype() has parameter $colorsbytype with no value type specified in iterable type array.
htdocs/comm/action/pertype.php974Function show_day_events_pertype() has parameter $eventarray with no value type specified in iterable type array.
htdocs/comm/action/peruser.php1153Function show_day_events2() has parameter $colorsbytype with no value type specified in iterable type array.
htdocs/comm/action/peruser.php1153Function show_day_events2() has parameter $eventarray with no value type specified in iterable type array.
htdocs/comm/propal/class/propal.class.php2912Method Propal::liste_array() return type has no value type specified in iterable type array.
htdocs/compta/bank/class/api_bankaccounts.class.php37Property BankAccounts::$FIELDS has no type specified.
htdocs/compta/prelevement/class/bonprelevement.class.php130Property BonPrelevement::$factures has no type specified.
htdocs/compta/prelevement/class/bonprelevement.class.php137Property BonPrelevement::$invoice_in_error has no type specified.
htdocs/compta/prelevement/class/bonprelevement.class.php138Property BonPrelevement::$thirdparty_in_error has no type specified.
htdocs/compta/prelevement/class/ligneprelevement.class.php69Property LignePrelevement::$labelStatus has no type specified.
htdocs/compta/sociales/class/paymentsocialcontribution.class.php62Property PaymentSocialContribution::$datec has no type specified.
htdocs/compta/sociales/class/paymentsocialcontribution.class.php63Property PaymentSocialContribution::$datep has no type specified.
htdocs/compta/stats/cabyprodserv.php472Variable $selected_type in isset() always exists and is not nullable.

Technical debt (PHAN 3027 warnings)

FileLineDetail
htdocs/accountancy/class/accountancyexport.class.php1865UndefError PhanUndeclaredProperty Reference to undeclared property \BookKeepingLine->code_tiers
htdocs/adherents/list.php1597UndefError PhanUndeclaredGlobalVariable Global variable $diroutputmassaction is undeclared
htdocs/adherents/type.php216TypeError PhanTypeMismatchProperty Assigning dol_clone($object, 2) of type \AdherentType|\CommonObject to property but \CommonObject->oldcopy is ?static
htdocs/admin/agenda_other.php95TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.page'=>'comm/action/card.php','t.param'=>'complete','t.user_id'=>'0','t.type'=>'createform','t.entity'=>$conf->entity] of type array{t.page:'comm/action/card.php',t.param:'complete',t.user_id:'0',t.type:'createform',t.entity:int|non-zero-int} but \DefaultValues::fetchAll() takes string (no real type) defined at htdocs/core/class/defaultvalues.class.php:248 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/admin/agenda_other.php95TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.page'=>'comm/action/card.php','t.param'=>'complete','t.user_id'=>'0','t.type'=>'createform','t.entity'=>$conf->entity] of type array{t.page:'comm/action/card.php',t.param:'complete',t.user_id:'0',t.type:'createform',t.entity:int} but \DefaultValues::fetchAll() takes string (no real type) defined at htdocs/core/class/defaultvalues.class.php:248 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/admin/agenda_other.php385TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.page'=>'comm/action/card.php','t.param'=>'complete','t.user_id'=>'0','t.type'=>'createform','t.entity'=>$conf->entity] of type array{t.page:'comm/action/card.php',t.param:'complete',t.user_id:'0',t.type:'createform',t.entity:int|non-zero-int} but \DefaultValues::fetchAll() takes string (no real type) defined at htdocs/core/class/defaultvalues.class.php:248 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/admin/agenda_other.php385TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.page'=>'comm/action/card.php','t.param'=>'complete','t.user_id'=>'0','t.type'=>'createform','t.entity'=>$conf->entity] of type array{t.page:'comm/action/card.php',t.param:'complete',t.user_id:'0',t.type:'createform',t.entity:int} but \DefaultValues::fetchAll() takes string (no real type) defined at htdocs/core/class/defaultvalues.class.php:248 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/admin/defaultvalues.php360TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.type'=>$mode,'t.entity'=>[$user->entity,$conf->entity]] of type array{t.type:'createform'|'focus'|'mandatory'|'sortorder'|array|string,t.entity:array{0:int,1:int}} but \DefaultValues::fetchAll() takes string (no real type) defined at htdocs/core/class/defaultvalues.class.php:248 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/admin/defaultvalues.php360TypeError PhanTypeMismatchArgumentProbablyReal Argument 5 ($filter) is ['t.type'=>$mode,'t.entity'=>[$user->entity,$conf->entity]] of type array{t.type:'createform'|'focus'|'mandatory'|'sortorder'|array|string,t.entity:array{0:int|non-zero-int,1:int|non-zero-int}} but \DefaultValues::fetchAll() takes string (no real type) defined at htdocs/core/class/defaultvalues.class.php:248 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/api/class/api_access.class.php154UndefError PhanUndeclaredProperty Reference to undeclared property \DoliDB->error_msg
htdocs/api/class/api_documents.class.php510Plugin PhanPluginDuplicateExpressionBinaryOp Both sides of the binary operator && are the same: !DolibarrApiAccess::$user->hasRight('expensereport', 'read')
htdocs/api/class/api_documents.class.php524Plugin PhanPluginDuplicateExpressionBinaryOp Both sides of the binary operator && are the same: !DolibarrApiAccess::$user->hasRight('knowledgemanagement', 'knowledgerecord', 'read')
htdocs/api/class/api_documents.class.php852UndefError PhanPossiblyUndeclaredVariable Variable $relativefile is possibly undeclared
htdocs/asset/admin/setup.php537TypeError PhanTypeMismatchArgumentProbablyReal Argument 4 ($event) is null of type null but \FormAccounting::select_account() takes array|array[] (no real type) defined at htdocs/core/class/html.formaccounting.class.php:371 (the inferred real argument type has nothing in common with the parameter's phpdoc type)
htdocs/asset/class/asset.class.php1070Plugin PhanPluginUndeclaredVariableIsset undeclared variable $begin_period in isset()
htdocs/asset/class/assetdepreciationoptions.class.php277TypeError PhanTypeInvalidDimOffset Invalid offset GETPOST($html_name) of $tmparraykey of array type array{}
htdocs/asset/class/assetmodel.class.php321UndefError PhanUndeclaredProperty Reference to undeclared property \AssetModel->fk_soc
htdocs/asset/class/assetmodel.class.php321UndefError PhanUndeclaredProperty Reference to undeclared property \AssetModel->socid
htdocs/asset/depreciation.php90Plugin PhanPluginEmptyStatementIf Empty statement list detected for the last if/elseif statement
htdocs/asset/disposal.php80Plugin PhanPluginEmptyStatementIf Empty statement list detected for the last if/elseif statement