10% ezdeebee-wp-connector

Code Review | Ezdeebee Connector WordPress Plugin

WordPress plugin Ezdeebee Connector WordPress Plugin scored10%from 54 tests.

About plugin

  • Plugin page: ezdeebee-wp-conne...
  • Plugin version: 1.1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-3.6
  • WordPress version: 6.3.1
  • First release: Aug 9, 2013
  • Latest release: Aug 15, 2013
  • Number of updates: 17
  • Update frequency: every 0.4 days
  • Top authors: besson3c (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /978 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
  • The plugin cannot be installed
    • > Notice in wp-content/plugins/ezdeebee-wp-connector/ezdeebeeconnector.php+30
    Undefined index: HTTPS

Server metrics [RAM: ▼1.84MB] [CPU: ▼49.64ms] Passed 4 tests

Analyzing server-side resources used by Ezdeebee Connector WordPress Plugin
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.15 ▼1.314.93 ▼32.46
Dashboard /wp-admin2.17 ▼1.177.36 ▼49.84
Posts /wp-admin/edit.php2.17 ▼1.186.68 ▼36.40
Add New Post /wp-admin/post-new.php2.17 ▼3.714.88 ▼79.84
Media Library /wp-admin/upload.php2.17 ▼1.065.62 ▼31.34
Ezdeebee Settings /wp-admin/options-general.php?page=ezdeebee2.176.48

Server storage [IO: ▲30.73MB] [DB: ▲0.31MB] 67% from 3 tests

A short overview of filesystem and database impact
Just a few items left to fix
  • Total filesystem usage must be limited to 25MB (currently using 30.73MB)
Filesystem: 1,947 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

Ezdeebee Connector WordPress Plugin: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,845 ▲9914.24 ▼0.132.31 ▲0.6843.56 ▲2.46
Dashboard /wp-admin2,211 ▲395.56 ▼0.0482.48 ▼13.6938.48 ▼3.99
Posts /wp-admin/edit.php2,120 ▲202.02 ▲0.0633.74 ▼5.5831.96 ▼1.38
Add New Post /wp-admin/post-new.php1,544 ▲1623.28 ▼0.08674.10 ▲7.2663.62 ▲12.86
Media Library /wp-admin/upload.php1,422 ▲224.16 ▼0.1096.82 ▼11.2144.97 ▼2.88
Ezdeebee Settings /wp-admin/options-general.php?page=ezdeebee8012.0323.7928.53

Uninstaller [IO: ▲0.00MB] [DB: ▲0.31MB] 50% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • The plugin did not uninstall gracefully
    • > Notice in wp-content/plugins/ezdeebee-wp-connector/ezdeebeeconnector.php+30
    Undefined index: HTTPS
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • 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)
These server-side errors were triggered
    • > GET request to /wp-admin/options-general.php?page=ezdeebee
    • > Notice in wp-content/plugins/ezdeebee-wp-connector/ezdeebeeconnector.php+30
    Undefined index: HTTPS
    • > GET request to /wp-admin/options-general.php?page=ezdeebee
    • > Notice in wp-content/plugins/ezdeebee-wp-connector/ezdeebeeconnector.php+38
    Undefined index: ezdb_initconnector
    • > GET request to /wp-admin/options-general.php?page=ezdeebee
    • > User notice in wp-includes/functions.php+5905
    Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the YUI3.11.0 handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=ezdeebee
    • > Notice in wp-content/plugins/ezdeebee-wp-connector/ezdeebeeconnector.php+230
    Trying to access array offset on value of type bool
    • > GET request to /wp-admin/options-general.php?page=ezdeebee
    • > User notice in wp-includes/functions.php+5905
    Function wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the ezdeebee_seedfile handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
    • > GET request to /wp-admin/options-general.php?page=ezdeebee
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=ezdeebee
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Notice
      Undefined index: HTTPS in wp-content/plugins/ezdeebee-wp-connector/ezdeebeeconnector.php on line 30
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_option() in wp-content/plugins/ezdeebee-wp-connector/ezdeebeeconnector.php:36

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
    • > GET request to /wp-admin/options-general.php?page=ezdeebee
    • > Network (severe)
    wp-content/plugins/ezdeebee_wpconnector/yui/yui/yui-min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > GET request to /wp-admin/options-general.php?page=ezdeebee
    • > Network (severe)
    https://ezdeebee.com/app/dbmanager//seedfile/856?ver=6.3.1 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention: You can look at the official readme.txt

ezdeebee-wp-connector/ezdeebeeconnector.php 92% from 13 tests

The main file in "Ezdeebee Connector WordPress Plugin" v. 1.1.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("ezdeebee-wp-connector.php" instead of "ezdeebeeconnector.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin176,805 lines of code in 1,460 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1,29243,852131,741168,172
CSS1661,7842,2418,402
PHP14831214
Markdown111017

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
160 PNG files occupy 0.58MB with 0.43MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
yui/assets/skins/night/rail-y-lines.png0.26KB0.20KB▼ 22.14%
yui/assets/skins/sam/thumb-x.png3.78KB0.48KB▼ 87.27%
yui/slider-base/assets/skins/capsule/rail-y-lines.png3.56KB0.14KB▼ 96.02%
yui/slider-base/assets/skins/capsule-dark/rail-y.png3.59KB0.21KB▼ 94.20%
yui/slider-base/assets/skins/round-dark/thumb-x-grip.png4.26KB1.27KB▼ 70.10%