Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/mebounce/mebounce.php+23
Use of undefined constant mebounce_main_loader_func - assumed 'mebounce_main_loader_func' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼1.77MB] [CPU: ▼48.27ms] Passed 4 tests
An overview of server-side resources used by meBounce - Best Lead Generation Tool
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.22 ▼1.24 | 5.82 ▼31.50 |
Dashboard /wp-admin | 2.24 ▼1.06 | 7.43 ▼39.90 |
Posts /wp-admin/edit.php | 2.24 ▼1.11 | 6.58 ▼40.34 |
Add New Post /wp-admin/post-new.php | 2.24 ▼3.64 | 6.49 ▼81.34 |
Media Library /wp-admin/upload.php | 2.24 ▼0.99 | 6.99 ▼25.53 |
Subscribers 0 /wp-admin/admin.php?page=mebounce_subscribers_list | 2.24 | 7.81 |
Edit /wp-admin/admin.php?page=mebounce_edit_item | 2.24 | 7.45 |
Settings /wp-admin/admin.php?page=mebounce_settings | 2.24 | 8.27 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 25 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_mebounce |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
mebounce_version |
Browser metrics Passed 4 tests
Checking browser requirements for meBounce - Best Lead Generation Tool
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,022 ▲261 | 13.92 ▼0.43 | 10.59 ▲8.92 | 41.18 ▼1.59 |
Dashboard /wp-admin | 2,235 ▲58 | 5.69 ▲0.06 | 80.59 ▼5.00 | 69.17 ▲27.03 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 1.98 ▲0.00 | 36.28 ▲1.36 | 35.12 ▲0.02 |
Add New Post /wp-admin/post-new.php | 1,580 ▲54 | 23.03 ▼0.02 | 715.87 ▲63.56 | 59.95 ▲2.29 |
Media Library /wp-admin/upload.php | 1,440 ▲43 | 4.27 ▲0.10 | 111.59 ▲8.87 | 81.25 ▲36.13 |
Subscribers 0 /wp-admin/admin.php?page=mebounce_subscribers_list | 1,042 | 2.10 | 32.41 | 29.94 |
Edit /wp-admin/admin.php?page=mebounce_edit_item | 924 | 2.01 | 25.90 | 26.81 |
Settings /wp-admin/admin.php?page=mebounce_settings | 1,066 | 2.22 | 39.82 | 30.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/mebounce/mebounce.php+23
Use of undefined constant mebounce_main_loader_func - assumed 'mebounce_main_loader_func' (this will throw an Error in a future version of PHP)
- The uninstall procedure has failed, leaving 7 options in the database
- mebounce_version
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mebounce_settings
- > Warning in wp-content/plugins/mebounce/mebounce.php+23
Use of undefined constant mebounce_main_loader_func - assumed 'mebounce_main_loader_func' (this will throw an Error in a future version of PHP)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mebounce_settings
- > Warning in wp-content/plugins/mebounce/mebounce.php+32
Use of undefined constant mebounce_admin_func - assumed 'mebounce_admin_func' (this will throw an Error in a future version of PHP)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mebounce_settings
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Mebounce_menu_settings::create_menu_pages() should not be called statically
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=mebounce_settings
- > Notice in wp-content/plugins/mebounce/classes/settings.class.php+171
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=mebounce_subscribers_list
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Mebounce_menu_settings::mebounce_subscribers_page() should not be called statically
- > GET request to /wp-admin/admin.php?page=mebounce_edit_item
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Mebounce_menu_settings::mebounce_edit_page() should not be called statically
- > GET request to /wp-admin/admin.php?page=mebounce_edit_item
- > Notice in wp-content/plugins/mebounce/classes/menu.class.php+105
Undefined index: nonce
- > GET request to /wp-admin/admin.php?page=mebounce_edit_item
- > Deprecated in wp-admin/includes/template.php+1443
Non-static method Mebounce_menu_settings::mebounce_meta_box_handler() should not be called statically
- > GET request to /wp-admin/admin.php?page=mebounce_settings
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method Mebounce_menu_settings::mebounce_settings_page() should not be called statically
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 take a closer look at the following
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mebounce/includes/custom-js.php
- > /wp-content/plugins/mebounce/index.php
- 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: content in wp-content/plugins/mebounce/includes/popup.php on line 12
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/mebounce/classes/custom-table.class.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mebounce/classes/dboperations.class.php:3
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/mebounce/classes/custom-table.class.php on line 14
- > PHP Notice
Undefined variable: head_title in wp-content/plugins/mebounce/includes/popup.php on line 7
- > PHP Notice
Undefined variable: aggressive in wp-content/plugins/mebounce/includes/custom-js.php on line 4
- > PHP Notice
Undefined variable: chain_output in wp-content/plugins/mebounce/includes/custom-js.php on line 5
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/mebounce/classes/custom-table.class.php on line 14
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/mebounce/includes/popup.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/mebounce/classes/menu.class.php:2
- > PHP Notice
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: You are using too many tags: 70 tag instead of maximum 10
mebounce/mebounce.php 92% from 13 tests
The main PHP script in "meBounce - Best Lead Generation Tool" version 2.2 is automatically included on every request by WordPress
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 184 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,301 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 214 | 293 | 959 |
CSS | 3 | 9 | 1 | 246 |
JavaScript | 5 | 10 | 21 | 96 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 64 | 92.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.25% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/box-solid.png | 17.53KB | 0.73KB | ▼ 95.85% |