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.10MB] [CPU: ▼5.08ms] Passed 4 tests
A check of server-side resources used by Fast & Effective Popups & Lead-Generation for WordPress - HollerBox
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 41.77 ▼3.93 |
Dashboard /wp-admin | 3.39 ▲0.09 | 51.54 ▲0.16 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 47.81 ▼1.42 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 89.39 ▼13.57 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 39.07 ▼1.40 |
Settings /wp-admin/edit.php?post_type=hollerbox&page=hollerbox | 3.29 | 36.83 |
Reports /wp-admin/edit.php?post_type=hollerbox&page=hollerbox_reports | 3.27 | 34.38 |
Server storage [IO: ▲17.27MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 61 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
holler_previous_updates |
widget_recent-comments |
wp_hollerbox_stats_table_version |
widget_recent-posts |
hollerbox_settings |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Fast & Effective Popups & Lead-Generation for WordPress - HollerBox
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲147 | 13.27 ▼1.11 | 4.06 ▲2.06 | 43.07 ▼1.52 |
Dashboard /wp-admin | 2,258 ▲70 | 5.89 ▲1.01 | 106.67 ▼3.30 | 43.63 ▲3.42 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 2.03 ▼0.00 | 35.80 ▼8.06 | 31.86 ▼9.28 |
Add New Post /wp-admin/post-new.php | 1,566 ▲33 | 23.47 ▲0.20 | 685.45 ▲1.33 | 61.18 ▲2.89 |
Media Library /wp-admin/upload.php | 1,444 ▲59 | 4.15 ▼0.05 | 110.85 ▼2.74 | 46.68 ▼0.71 |
Settings /wp-admin/edit.php?post_type=hollerbox&page=hollerbox | 1,064 | 3.30 | 54.65 | 44.01 |
Reports /wp-admin/edit.php?post_type=hollerbox&page=hollerbox_reports | 822 | 2.61 | 43.46 | 23.32 |
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
- Zombie WordPress options detected upon uninstall: 9 options
- holler_previous_updates
- wp_hollerbox_stats_table_version
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- hollerbox_settings
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=hollerbox&page=hollerbox_reports
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28609 "jQuery.Deferred exception: Unexpected token '\u003C', \"\u003Cdiv id=\"e\"... is not valid JSON" "SyntaxError: Unexpected token '\u003C', \"\u003Cdiv id=\"e\"... is not valid JSON" undefined
- > GET request to /wp-admin/edit.php?post_type=hollerbox&page=hollerbox_reports
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-polyfill-inert,regenerator-runtime,wp-polyfill,wp-hooks&ver=6.3.1 1:28721 Uncaught SyntaxError: Unexpected token '
Optimizations
Plugin configuration Passed 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
5 plugin tags: optin, popup, popups, email, marketing
holler-box/holler-box.php Passed 13 tests
Analyzing the main PHP file in "Fast & Effective Popups & Lead-Generation for WordPress - HollerBox" version 2.3.4.1
81 characters long description:
Powerful Popups & Lead Generation for Small Businesses & Agencies using WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected18,666 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 1,809 | 5,616 | 8,093 |
Sass | 4 | 867 | 46 | 3,666 |
CSS | 5 | 111 | 14 | 3,582 |
PHP | 14 | 1,053 | 1,229 | 3,132 |
PO File | 1 | 82 | 170 | 193 |
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.38 |
Average class complexity | 33.85 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 178 | |
▷ Static methods | 18 | 10.11% |
▷ Public methods | 157 | 88.20% |
▷ Protected methods | 13 | 7.30% |
▷ Private methods | 8 | 4.49% |
Functions | 32 | |
▷ Named functions | 3 | 9.38% |
▷ Anonymous functions | 29 | 90.62% |
Constants | 10 | |
▷ Global constants | 4 | 40.00% |
▷ Class constants | 6 | 60.00% |
▷ Public constants | 6 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 15.99MB with 11.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/default/clothes.png | 1,689.50KB | 401.07KB | ▼ 76.26% |
assets/img/default/shopping.png | 1,458.54KB | 455.55KB | ▼ 68.77% |
assets/img/default/woman-shopping.png | 1,490.95KB | 459.13KB | ▼ 69.21% |
assets/img/default/man-thumbs-up.png | 1,366.87KB | 483.08KB | ▼ 64.66% |
assets/img/default/woman-working.png | 1,309.46KB | 414.04KB | ▼ 68.38% |