Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼9.39ms] Passed 4 tests
Server-side resources used by Eazy Ad Unblocker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 23.44 ▼17.52 |
Dashboard /wp-admin | 3.49 ▲0.14 | 51.12 ▼6.80 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 49.39 ▲3.05 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 86.93 ▼10.02 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 34.05 ▼3.23 |
Eazy Ad Unblocker /wp-admin/options-general.php?page=eazy-ad-unblocker | 3.36 | 31.78 |
Hide or Restore /wp-admin/admin.php?page=eazy-ad-unblocker-hide-restore | 3.35 | 30.49 |
Eazy Ad Unblocker /wp-admin/admin.php?page=eazy-ad-unblocker | 3.35 | 30.22 |
Server storage [IO: ▲0.84MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 97 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
eazy-ad-unblocker-settings |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Eazy Ad Unblocker
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,135 ▲388 | 13.88 ▼0.83 | 193.40 ▲191.65 | 38.46 ▼8.05 |
Dashboard /wp-admin | 2,225 ▲48 | 5.54 ▼0.12 | 88.41 ▼3.61 | 70.24 ▲28.46 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 1.95 ▼0.05 | 38.60 ▲1.59 | 34.08 ▼0.51 |
Add New Post /wp-admin/post-new.php | 6,259 ▲4,733 | 26.14 ▲2.96 | 888.17 ▲198.71 | 81.13 ▲16.39 |
Media Library /wp-admin/upload.php | 1,433 ▲36 | 4.18 ▼0.03 | 95.60 ▼10.00 | 72.02 ▲26.55 |
Eazy Ad Unblocker /wp-admin/options-general.php?page=eazy-ad-unblocker | 1,711 | 6.87 | 141.45 | 111.10 |
Hide or Restore /wp-admin/admin.php?page=eazy-ad-unblocker-hide-restore | 929 | 2.16 | 25.96 | 25.68 |
Eazy Ad Unblocker /wp-admin/admin.php?page=eazy-ad-unblocker | 1,708 | 6.78 | 130.63 | 104.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- 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)
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=eazy-ad-unblocker
- > Warning in wp-content/plugins/eazy-ad-unblocker/index.php+376
session_start(): Cannot start session when headers already sent
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 8× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/eazy-ad-unblocker/css/themes/ui-darkness/jquery-ui.min.css.php
- > /wp-content/plugins/eazy-ad-unblocker/css/themes/le-frog/jquery-ui.min.css.php
- > /wp-content/plugins/eazy-ad-unblocker/css/themes/smoothness/jquery-ui.min.css.php
- > /wp-content/plugins/eazy-ad-unblocker/css/themes/blitzer/jquery-ui.min.css.php
- > /wp-content/plugins/eazy-ad-unblocker/css/themes/ui-lightness/jquery-ui.min.css.php
- > /wp-content/plugins/eazy-ad-unblocker/index.php
- > /wp-content/plugins/eazy-ad-unblocker/css/themes/redmond/jquery-ui.min.css.php
- > /wp-content/plugins/eazy-ad-unblocker/css/style.css.php
- 2843× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined index: EAZY_AD_UNBLOCKER_HOLDER_CLASS_NAME in wp-content/plugins/eazy-ad-unblocker/css/themes/blitzer/jquery-ui.min.css.php on line 11
- > PHP Notice
Undefined index: EAZY_AD_UNBLOCKER_HOLDER_CLASS_NAME in wp-content/plugins/eazy-ad-unblocker/css/themes/smoothness/jquery-ui.min.css.php on line 10
- > PHP Notice
Undefined index: EAZY_AD_UNBLOCKER_HOLDER_CLASS_NAME in wp-content/plugins/eazy-ad-unblocker/css/themes/ui-lightness/jquery-ui.min.css.php on line 11
- > PHP Notice
Undefined index: EAZY_AD_UNBLOCKER_HOLDER_CLASS_NAME in wp-content/plugins/eazy-ad-unblocker/css/themes/blitzer/jquery-ui.min.css.php on line 11
- > PHP Notice
Undefined index: EAZY_AD_UNBLOCKER_HOLDER_CLASS_NAME in wp-content/plugins/eazy-ad-unblocker/css/themes/ui-darkness/jquery-ui.min.css.php on line 10
- > PHP Notice
Undefined index: EAZY_AD_UNBLOCKER_HOLDER_CLASS_NAME in wp-content/plugins/eazy-ad-unblocker/css/themes/redmond/jquery-ui.min.css.php on line 10
- > PHP Notice
Undefined index: EAZY_AD_UNBLOCKER_HOLDER_CLASS_NAME in wp-content/plugins/eazy-ad-unblocker/css/themes/ui-darkness/jquery-ui.min.css.php on line 10
- > PHP Notice
Undefined index: EAZY_AD_UNBLOCKER_HOLDER_CLASS_NAME in wp-content/plugins/eazy-ad-unblocker/css/themes/ui-lightness/jquery-ui.min.css.php on line 11
- > PHP Notice
Undefined index: EAZY_AD_UNBLOCKER_HOLDER_CLASS_NAME in wp-content/plugins/eazy-ad-unblocker/css/themes/redmond/jquery-ui.min.css.php on line 10
- > PHP Notice
Undefined index: EAZY_AD_UNBLOCKER_HOLDER_CLASS_NAME in wp-content/plugins/eazy-ad-unblocker/css/themes/blitzer/jquery-ui.min.css.php on line 11
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: anti adblock, ad unblocker
eazy-ad-unblocker/index.php 92% from 13 tests
"Eazy Ad Unblocker" version 1.2.3'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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("eazy-ad-unblocker.php" instead of "index.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
Success! There were no dangerous files found in this plugin1,382 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 384 | 151 | 1,098 |
JavaScript | 1 | 161 | 44 | 284 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
Average class complexity | 61.50 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 5.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 1 | 3.45% |
▷ Public methods | 28 | 96.55% |
▷ Protected methods | 1 | 3.45% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
82 PNG files occupy 0.34MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png | 0.33KB | 0.16KB | ▼ 52.38% |
css/themes/le-frog/images/ui-icons_4eb305_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png | 0.27KB | 0.13KB | ▼ 51.45% |
css/themes/blitzer/images/ui-icons_004276_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
css/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.26KB | 0.15KB | ▼ 42.37% |