Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.51ms] Passed 4 tests
A check of server-side resources used by Eldolink®
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 469.51 ▲428.97 |
Dashboard /wp-admin | 3.37 ▲0.07 | 46.31 ▼2.07 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 45.43 ▼3.30 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 85.55 ▼4.26 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 33.19 ▼0.39 |
Settings /wp-admin/admin.php?page=eldolink_settings | 3.26 | 30.95 |
Modals /wp-admin/admin.php?page=eldolink_modals | 3.25 | 294.74 |
Help /wp-admin/admin.php?page=eldolink_help | 3.26 | 32.51 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_eldolink_dynamic |
widget_eldolink_catcher |
theysaidso_admin_options |
widget_eldolink_content |
widget_theysaidso_widget |
widget_eldolink_modal |
can_compress_scripts |
db_upgraded |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Eldolink®
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,988 ▲253 | 14.17 ▼0.20 | 13.13 ▲11.12 | 37.64 ▼5.77 |
Dashboard /wp-admin | 2,262 ▲74 | 5.13 ▼0.72 | 109.25 ▲7.29 | 38.75 ▼2.94 |
Posts /wp-admin/edit.php | 2,146 ▲57 | 2.34 ▲0.31 | 36.64 ▼2.77 | 33.21 ▼1.62 |
Add New Post /wp-admin/post-new.php | 1,561 ▲42 | 23.11 ▼0.04 | 618.24 ▼38.42 | 32.88 ▼25.10 |
Media Library /wp-admin/upload.php | 1,447 ▲59 | 4.44 ▲0.26 | 99.52 ▼1.05 | 41.91 ▼2.65 |
Settings /wp-admin/admin.php?page=eldolink_settings | 893 | 2.00 | 29.51 | 26.51 |
Modals /wp-admin/admin.php?page=eldolink_modals | 989 | 2.25 | 28.29 | 26.32 |
Help /wp-admin/admin.php?page=eldolink_help | 980 | 2.18 | 28.74 | 26.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 11 options in the database
- db_upgraded
- widget_recent-posts
- widget_eldolink_banner
- widget_eldolink_dynamic
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_eldolink_modal
- can_compress_scripts
- widget_eldolink_content
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=eldolink_modals
- > Notice in wp-content/plugins/eldolink/wp-eldolink.php+509
Undefined property: stdClass::$id
- > GET request to /wp-admin/admin.php?page=eldolink_modals
- > Notice in wp-content/plugins/eldolink/wp-eldolink.php+259
Undefined property: stdClass::$pricing_model
- > GET request to /wp-admin/admin.php?page=eldolink_modals
- > Notice in wp-content/plugins/eldolink/wp-eldolink.php+259
Trying to get property 'identifier' of non-object
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=eldolink_modals
- > Notice in wp-content/plugins/eldolink/wp-eldolink.php+690
Undefined property: stdClass::$name
- > GET request to /wp-admin/admin.php?page=eldolink_modals
- > Notice in wp-content/plugins/eldolink/wp-eldolink.php+689
Undefined property: stdClass::$identifier
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/eldolink/includes/widget_content.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/eldolink/includes/dynamic.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/eldolink/includes/catcher.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/eldolink/wp-eldolink.php:18
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/eldolink/includes/widget_modal.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/eldolink/includes/widget_catcher.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/eldolink/includes/widget_banner.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/eldolink/includes/modal.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/eldolink/includes/widget_dynamic.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/eldolink/includes/banner.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
8 plugin tags: affiliate program, wellness, slimdoo, adserver, eldolink...
eldolink/wp-eldolink.php 92% from 13 tests
"Eldolink®" version 1.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("eldolink.php" instead of "wp-eldolink.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,723 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 265 | 62 | 1,706 |
JavaScript | 1 | 8 | 0 | 17 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 10.36 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 8 | 12.31% |
▷ Public methods | 65 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 7 | 100.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin