Benchmarks
Plugin footprint 82% 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲3.79MB] [CPU: ▲29.57ms] 75% from 4 tests
An overview of server-side resources used by Slick Popup: Contact Form 7 Popup Plugin
It is recommended to improve the following
- RAM: The total memory usage must be kept under 10MB (currently 17.26MB on /wp-admin/admin.php?page=slick-options)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 15.39 ▲11.93 | 82.18 ▲45.49 |
Dashboard /wp-admin | 7.08 ▲3.74 | 78.79 ▲16.43 |
Posts /wp-admin/edit.php | 7.14 ▲3.78 | 84.34 ▲40.26 |
Add New Post /wp-admin/post-new.php | 9.71 ▲3.82 | 127.66 ▲23.49 |
Media Library /wp-admin/upload.php | 7.03 ▲3.80 | 72.17 ▲38.09 |
Redux /wp-admin/options-general.php?page=redux-framework | 7.04 | 65.33 |
Help and Support /wp-admin/admin.php?page=splite-help-and-support | 7.00 | 66.37 |
Slick Popup Lite /wp-admin/admin.php?page=slick-options | 17.26 | 215.51 |
Import Demos /wp-admin/admin.php?page=splite-import-demos | 7.00 | 70.32 |
Install Plugins /wp-admin/admin.php?page=splite_required | 7.03 | 65.37 |
Server storage [IO: ▲22.68MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 1,071 new files
Database: no new tables, 10 new options
New WordPress options |
---|
splite_install_date |
can_compress_scripts |
splite_opts-transients |
db_upgraded |
widget_recent-comments |
splite_opts |
widget_recent-posts |
theysaidso_admin_options |
splite_delete_data |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Slick Popup: Contact Form 7 Popup Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,218 ▲457 | 13.73 ▼0.83 | 21.45 ▲19.86 | 62.20 ▲21.06 |
Dashboard /wp-admin | 2,301 ▲124 | 5.65 ▲0.05 | 87.06 ▲0.68 | 83.22 ▲41.99 |
Posts /wp-admin/edit.php | 2,245 ▲148 | 2.22 ▲0.25 | 35.71 ▼0.27 | 37.91 ▲0.72 |
Add New Post /wp-admin/post-new.php | 1,601 ▲75 | 18.35 ▼4.70 | 651.89 ▲64.66 | 61.07 ▲12.81 |
Media Library /wp-admin/upload.php | 1,464 ▲67 | 4.26 ▲0.08 | 103.88 ▲0.72 | 88.19 ▲44.99 |
Redux /wp-admin/options-general.php?page=redux-framework | 1,075 | 3.36 | 81.57 | 97.25 |
Help and Support /wp-admin/admin.php?page=splite-help-and-support | 1,551 | 1.86 | 27.16 | 73.56 |
Slick Popup Lite /wp-admin/admin.php?page=slick-options | 3,699 | 10.31 | 182.39 | 246.01 |
Import Demos /wp-admin/admin.php?page=splite-import-demos | 1,014 | 1.84 | 27.75 | 50.95 |
Install Plugins /wp-admin/admin.php?page=splite_required | 1,028 | 2.07 | 25.64 | 31.02 |
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
These items require your attention
- The uninstall procedure has failed, leaving 10 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- splite_opts-transients
- splite_opts
- splite_delete_data
- splite_install_date
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 53× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/slick-popup/libs/admin/redux-framework/redux-core/inc/fields/background/field_background.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/slick-popup/libs/admin/redux-framework/redux-core/inc/fields/select/field_select.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/slick-popup/libs/admin/redux-framework/redux-core/inc/fields/typography/field_typography.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/slick-popup/libs/admin/redux-framework/redux-core/core/dashboard.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/slick-popup/libs/admin/redux-framework/redux-core/inc/fields/media/field_media.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/slick-popup/libs/admin/redux-framework/redux-core/core/panel.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/slick-popup/libs/admin/redux-framework/redux-core/inc/fields/radio/field_radio.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/slick-popup/libs/admin/redux-framework/redux-core/templates/panel/menu-container.tpl.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/slick-popup/libs/admin/redux-framework/redux-core/inc/fields/text/field_text.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/slick-popup/libs/admin/redux-framework/redux-core/inc/fields/ace_editor/field_ace_editor.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=splite-import-demos
- > Network (severe)
wp-content/plugins/slick-popup/libs/js/img/subscribe.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=splite-import-demos
- > Network (severe)
wp-content/plugins/slick-popup/libs/js/img/unsubscribe.jpg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: popup form, submit form, popup contact form 7, wordpress popup plugin, popup...
slick-popup/slick-popup.php 92% from 13 tests
The main PHP script in "Slick Popup: Contact Form 7 Popup Plugin" version 1.7.15 is automatically included on every request by WordPress
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 156 characters long)
Code Analysis 97% from 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
There were no executable files found in this plugin148,400 lines of code in 703 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 153 | 15,645 | 13,137 | 60,637 |
PHP | 309 | 9,132 | 17,026 | 41,509 |
CSS | 117 | 7,274 | 373 | 14,158 |
JSON | 4 | 0 | 0 | 12,849 |
Sass | 98 | 1,872 | 79 | 12,608 |
SVG | 17 | 77 | 13 | 6,221 |
Markdown | 3 | 99 | 0 | 351 |
HTML | 1 | 7 | 0 | 60 |
XML | 1 | 0 | 0 | 7 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 110)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 33.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 322.00 |
Average method complexity | 5.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 110.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 188 | |
▷ Abstract classes | 4 | 2.13% |
▷ Concrete classes | 184 | 97.87% |
▷ Final classes | 0 | 0.00% |
Methods | 1,346 | |
▷ Static methods | 308 | 22.88% |
▷ Public methods | 1,043 | 77.49% |
▷ Protected methods | 172 | 12.78% |
▷ Private methods | 131 | 9.73% |
Functions | 80 | |
▷ Named functions | 74 | 92.50% |
▷ Anonymous functions | 6 | 7.50% |
Constants | 119 | |
▷ Global constants | 6 | 5.04% |
▷ Class constants | 113 | 94.96% |
▷ Public constants | 113 | 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
78 PNG files occupy 1.26MB with 0.78MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/admin/redux-framework/redux-core/assets/img/3cl.png | 0.34KB | 0.33KB | 0.29% |
libs/admin/redux-framework/redux-core/assets/img/raw/3cl.png | 3.08KB | 0.33KB | ▼ 89.13% |
libs/admin/img/menu_icon.png | 1.34KB | 0.80KB | ▼ 40.60% |
libs/admin/redux-framework/redux-core/assets/img/raw/2-col-portfolio.png | 1.02KB | 0.15KB | ▼ 85.07% |
libs/admin/redux-framework/redux-core/assets/img/raw/1col.png | 2.83KB | 0.14KB | ▼ 95.13% |