Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼143.50ms] Passed 4 tests
Analyzing server-side resources used by EZ Popup Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.71 ▼0.01 | 24.79 ▼1.33 |
Dashboard /wp-admin | 3.11 ▲0.06 | 47.06 ▼2.07 |
Posts /wp-admin/edit.php | 3.16 ▲0.06 | 43.46 ▼2.85 |
Add New Post /wp-admin/post-new.php | 5.47 ▲0.03 | 92.84 ▼567.74 |
Media Library /wp-admin/upload.php | 3.05 ▲0.05 | 33.15 ▲2.82 |
Popup parameters /wp-admin/options-general.php?page=ez_popup_manager | 3.00 | 26.82 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for EZ Popup Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲112 | 15.80 ▲0.16 | 9.22 ▼0.94 | 46.43 ▲1.01 |
Dashboard /wp-admin | 2,975 ▲41 | 6.02 ▲0.09 | 138.88 ▼14.82 | 106.29 ▼4.27 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.72 ▲0.00 | 61.32 ▼9.22 | 88.13 ▲7.78 |
Add New Post /wp-admin/post-new.php | 1,675 ▲60 | 18.87 ▼2.62 | 388.57 ▲98.83 | 111.53 ▲1.97 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▼0.03 | 153.60 ▼9.19 | 123.66 ▲9.63 |
Popup parameters /wp-admin/options-general.php?page=ez_popup_manager | 1,770 | 3.86 | 104.94 | 105.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
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
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ez_popup_manager
- > Notice in wp-content/plugins/ez-popup-manager/index.php+78
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=ez_popup_manager
- > User deprecated in wp-includes/functions.php+5495
wp_editor() was called with an argument that is deprecated since version 3.9.0! TinyMCE editor IDs cannot have brackets.
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ez-popup-manager/index.php:16
- > PHP Fatal error
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)
There were no browser issues 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: cookie, plugin, message, lightbox, popup...
ez-popup-manager/index.php 92% from 13 tests
The main PHP script in "EZ Popup Manager" version 1.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ez-popup-manager.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected463 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 59 | 4 | 187 |
PHP | 2 | 54 | 25 | 160 |
CSS | 2 | 5 | 2 | 61 |
JavaScript | 2 | 11 | 15 | 55 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/spm-close-icon.png | 1.64KB | 1.28KB | ▼ 22.06% |