10% eewee-restaurant-menu

Code Review | eewee restaurant menu

WordPress plugin eewee restaurant menu scored10%from 54 tests.

About plugin

  • Plugin page: eewee-restaurant-...
  • Plugin version: 1.6.6
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-4.0
  • WordPress version: 6.3.1
  • First release: Feb 17, 2013
  • Latest release: Jan 16, 2015
  • Number of updates: 30
  • Update frequency: every 23.3 days
  • Top authors: eewee (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

10+ active /5,089 total downloads

Benchmarks

Plugin footprint 23% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
  • Install procedure had errors
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TMenu.php+2
    Use of undefined constant TMenu - assumed 'TMenu' (this will throw an Error in a future version of PHP)

Server metrics [RAM: ▼1.92MB] [CPU: ▼65.00ms] Passed 4 tests

Server-side resources used by eewee restaurant menu
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.07 ▼1.395.01 ▼43.56
Dashboard /wp-admin2.09 ▼1.256.24 ▼61.51
Posts /wp-admin/edit.php2.09 ▼1.267.68 ▼46.89
Add New Post /wp-admin/post-new.php2.09 ▼3.797.64 ▼108.02
Media Library /wp-admin/upload.php2.09 ▼1.136.91 ▼30.94
Categorie plat /wp-admin/admin.php?page=idSousMenu42.0910.03
Plat /wp-admin/admin.php?page=idSousMenu52.097.71
Menu /wp-admin/admin.php?page=idSousMenu12.096.87
Langue /wp-admin/admin.php?page=idSousMenu82.097.48
Type menu /wp-admin/admin.php?page=idSousMenu32.097.68
Restaurant menu /wp-admin/admin.php?page=idRestaurantMenu2.098.73
Composition menu /wp-admin/admin.php?page=idSousMenu22.097.38
Devise /wp-admin/admin.php?page=idSousMenu62.096.43
Taxe /wp-admin/admin.php?page=idSousMenu72.097.95

Server storage [IO: ▲0.22MB] [DB: ▲0.01MB] Passed 3 tests

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 82 new files
Database: 9 new tables, 6 new options
New tables
wp_eewee_restaurant_plat_categorie
wp_eewee_restaurant_taxe
wp_eewee_restaurant_menu
wp_eewee_restaurant_menu_composition
wp_eewee_restaurant_plat
wp_eewee_restaurant_lang
wp_eewee_restaurant_lang_plat
wp_eewee_restaurant_devise
wp_eewee_restaurant_menu_type
New WordPress options
can_compress_scripts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

eewee restaurant menu: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,874 ▲11314.25 ▼0.101.77 ▲0.1942.05 ▼0.51
Dashboard /wp-admin2,254 ▲775.58 ▼0.1088.97 ▼2.5076.07 ▲38.37
Posts /wp-admin/edit.php2,153 ▲532.01 ▲0.0233.48 ▼4.2036.44 ▲1.84
Add New Post /wp-admin/post-new.php1,725 ▲19922.14 ▼1.52665.60 ▼70.3451.33 ▼1.71
Media Library /wp-admin/upload.php1,459 ▲564.11 ▼0.1897.96 ▼3.4670.04 ▲21.90
Categorie plat /wp-admin/admin.php?page=idSousMenu48891.9923.9932.59
Plat /wp-admin/admin.php?page=idSousMenu59322.0026.8232.51
Menu /wp-admin/admin.php?page=idSousMenu18921.9925.5130.46
Langue /wp-admin/admin.php?page=idSousMenu88891.9925.4832.43
Type menu /wp-admin/admin.php?page=idSousMenu38682.0325.8228.51
Restaurant menu /wp-admin/admin.php?page=idRestaurantMenu9422.0023.6637.74
Composition menu /wp-admin/admin.php?page=idSousMenu29352.0026.6035.03
Devise /wp-admin/admin.php?page=idSousMenu68682.0024.7427.09
Taxe /wp-admin/admin.php?page=idSousMenu78682.1827.0330.49

Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
  • Uninstall procedure validation failed for this plugin
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TMenu.php+2
    Use of undefined constant TMenu - assumed 'TMenu' (this will throw an Error in a future version of PHP)
  • This plugin does not fully uninstall, leaving 9 tables in the database
    • wp_eewee_restaurant_menu_type
    • wp_eewee_restaurant_menu
    • wp_eewee_restaurant_menu_composition
    • wp_eewee_restaurant_lang
    • wp_eewee_restaurant_devise
    • wp_eewee_restaurant_plat
    • wp_eewee_restaurant_plat_categorie
    • wp_eewee_restaurant_lang_plat
    • wp_eewee_restaurant_taxe
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TMenu.php+2
    Use of undefined constant TMenu - assumed 'TMenu' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TMenuComposition.php+2
    Use of undefined constant TMenuComposition - assumed 'TMenuComposition' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TMenuType.php+2
    Use of undefined constant TMenuType - assumed 'TMenuType' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TPlat.php+2
    Use of undefined constant TPlat - assumed 'TPlat' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TPlatCategorie.php+2
    Use of undefined constant TPlatCategorie - assumed 'TPlatCategorie' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TDevise.php+2
    Use of undefined constant TDevise - assumed 'TDevise' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TTaxe.php+2
    Use of undefined constant TTaxe - assumed 'TTaxe' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TLang.php+2
    Use of undefined constant TLang - assumed 'TLang' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/models/TLangPlat.php+2
    Use of undefined constant TLangPlat - assumed 'TLangPlat' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FMenuSearch.php+2
    Use of undefined constant Form_menuSearch - assumed 'Form_menuSearch' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FMenuEdit.php+2
    Use of undefined constant Form_menuEdit - assumed 'Form_menuEdit' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FMenuAdd.php+2
    Use of undefined constant Form_menuAdd - assumed 'Form_menuAdd' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FMenuCompositionSearch.php+2
    Use of undefined constant Form_MenuCompositionSearch - assumed 'Form_MenuCompositionSearch' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FMenuCompositionEdit.php+2
    Use of undefined constant Form_MenuCompositionEdit - assumed 'Form_MenuCompositionEdit' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FMenuCompositionAdd.php+2
    Use of undefined constant Form_MenuCompositionAdd - assumed 'Form_MenuCompositionAdd' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FMenuTypeSearch.php+2
    Use of undefined constant Form_MenuTypeSearch - assumed 'Form_MenuTypeSearch' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FMenuTypeEdit.php+2
    Use of undefined constant Form_MenuTypeEdit - assumed 'Form_MenuTypeEdit' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FMenuTypeAdd.php+2
    Use of undefined constant Form_MenuTypeAdd - assumed 'Form_MenuTypeAdd' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FPlatSearch.php+2
    Use of undefined constant Form_PlatSearch - assumed 'Form_PlatSearch' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FPlatEdit.php+2
    Use of undefined constant Form_PlatEdit - assumed 'Form_PlatEdit' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FPlatAdd.php+2
    Use of undefined constant Form_PlatAdd - assumed 'Form_PlatAdd' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FPlatCategorieSearch.php+2
    Use of undefined constant Form_PlatCategorieSearch - assumed 'Form_PlatCategorieSearch' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FPlatCategorieEdit.php+2
    Use of undefined constant Form_PlatCategorieEdit - assumed 'Form_PlatCategorieEdit' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FPlatCategorieAdd.php+2
    Use of undefined constant Form_PlatCategorieAdd - assumed 'Form_PlatCategorieAdd' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FDeviseSearch.php+2
    Use of undefined constant Form_DeviseSearch - assumed 'Form_DeviseSearch' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FDeviseEdit.php+2
    Use of undefined constant Form_DeviseEdit - assumed 'Form_DeviseEdit' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FDeviseAdd.php+2
    Use of undefined constant Form_DeviseAdd - assumed 'Form_DeviseAdd' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FTaxeSearch.php+2
    Use of undefined constant Form_TaxeSearch - assumed 'Form_TaxeSearch' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FTaxeEdit.php+2
    Use of undefined constant Form_TaxeEdit - assumed 'Form_TaxeEdit' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FTaxeAdd.php+2
    Use of undefined constant Form_TaxeAdd - assumed 'Form_TaxeAdd' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FLangSearch.php+2
    Use of undefined constant Form_LangSearch - assumed 'Form_LangSearch' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FLangEdit.php+2
    Use of undefined constant Form_LangEdit - assumed 'Form_LangEdit' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/forms/FLangAdd.php+2
    Use of undefined constant Form_LangAdd - assumed 'Form_LangAdd' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/controllers/ToolsController.php+3
    Use of undefined constant ToolsControllers - assumed 'ToolsControllers' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Warning in wp-content/plugins/eewee-restaurant-menu/controllers/AdminController.php+3
    Use of undefined constant AdminController - assumed 'AdminController' (this will throw an Error in a future version of PHP)
  • 9 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > User notice in wp-includes/functions.php+5905
    Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
  • 30 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Notice in wp-content/plugins/eewee-restaurant-menu/view/taxe.php+16
    Undefined index: type
    • > GET request to /wp-admin/admin.php?page=idSousMenu4
    • > Notice in wp-content/plugins/eewee-restaurant-menu/forms/FPlatCategorieSearch.php+24
    Undefined index: formPlatCategorieSearch_nom
  • 8 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Notice in wp-content/plugins/eewee-restaurant-menu/view/taxe.php+50
    Undefined variable: tbl_params
  • 12 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > User notice in wp-includes/functions.php+5905
    Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
  • 12 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > User notice in wp-includes/functions.php+5905
    Function wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.)
    • > GET request to /wp-admin/admin.php?page=idSousMenu5
    • > Notice in wp-content/plugins/eewee-restaurant-menu/forms/FPlatSearch.php+29
    Undefined index: formPlatSearch_nom
    • > GET request to /wp-admin/admin.php?page=idSousMenu5
    • > Notice in wp-content/plugins/eewee-restaurant-menu/forms/FPlatSearch.php+37
    Undefined index: formPlatSearch_ingredient
    • > GET request to /wp-admin/admin.php?page=idSousMenu1
    • > Notice in wp-content/plugins/eewee-restaurant-menu/forms/FMenuSearch.php+24
    Undefined index: formmenuSearch_nom
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=idSousMenu7
    • > Notice in wp-content/plugins/eewee-restaurant-menu/forms/FTaxeSearch.php+24
    Undefined index: formTaxSearch_nom
    • > GET request to /wp-admin/admin.php?page=idSousMenu3
    • > Notice in wp-content/plugins/eewee-restaurant-menu/forms/FMenuTypeSearch.php+24
    Undefined index: formMenuTypeSearch_nom
    • > GET request to /wp-admin/admin.php?page=idSousMenu6
    • > Notice in wp-content/plugins/eewee-restaurant-menu/forms/FDeviseSearch.php+24
    Undefined index: formDeviseSearch_nom

SRP 0% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/eewee-restaurant-menu/view/manuel.php
  • 156× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
    • > PHP Warning
      include(): Failed opening 'EEWEE_RESTAURANT_MENU_PLUGIN_DIR/view/menuType.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/eewee-restaurant-menu/view/menuTypeRoot.php on line 5
    • > PHP Notice
      Undefined index: type in wp-content/plugins/eewee-restaurant-menu/view/taxeRoot.php on line 2
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/eewee-restaurant-menu/forms/FPlatAdd.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/eewee-restaurant-menu/forms/FMenuCompositionEdit.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'TPlat' not found in wp-content/plugins/eewee-restaurant-menu/view/platEdit.php:18
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/eewee-restaurant-menu/forms/FLangEdit.php:3
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/eewee-restaurant-menu/forms/FLangSearch.php:3
    • > PHP Notice
      Undefined index: add in wp-content/plugins/eewee-restaurant-menu/view/taxeAdd.php on line 5
    • > PHP Notice
      Undefined index: add in wp-content/plugins/eewee-restaurant-menu/view/langEdit.php on line 5
    • > PHP Warning
      Use of undefined constant TMenuComposition - assumed 'TMenuComposition' (this will throw an Error in a future version of PHP) in wp-content/plugins/eewee-restaurant-menu/models/TMenuComposition.php on line 2

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: dish of the day, restaurant, food, menu, carte...

eewee-restaurant-menu/index.php 92% from 13 tests

"eewee restaurant menu" version 1.6.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("eewee-restaurant-menu.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected3,963 lines of code in 75 files:
LanguageFilesBlank linesComment linesLines of code
PHP707556513,766
PO File18636184
SQL3334883
CSS161230

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity3.97
▷ Minimum class complexity1.00
▷ Maximum class complexity36.00
Average method complexity1.83
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes37
▷ Abstract classes00.00%
▷ Concrete classes37100.00%
▷ Final classes00.00%
Methods133
▷ Static methods53.76%
▷ Public methods133100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/icones/download.png0.70KB0.79KB0.00%
images/icones/logo.png0.51KB0.47KB▼ 8.09%