Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼5.62ms] Passed 4 tests
Server-side resources used by Choyal Subscription Popup - MailChimp Support
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 39.94 ▼1.68 |
Dashboard /wp-admin | 3.42 ▲0.11 | 49.82 ▲0.72 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 47.58 ▼0.42 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 87.22 ▼19.18 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 36.43 ▼1.19 |
CSP Settings /wp-admin/admin.php?page=csp-setting | 3.32 | 34.63 |
Popup Design /wp-admin/admin.php?page=csp-designs | 3.32 | 34.31 |
Subscribers List /wp-admin/admin.php?page=csp-subscribers | 3.35 | 33.04 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_csp_subscribers |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Choyal Subscription Popup - MailChimp Support
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,979 ▲233 | 14.07 ▼0.23 | 11.59 ▲9.93 | 55.28 ▲15.94 |
Dashboard /wp-admin | 2,217 ▲29 | 4.93 ▼1.14 | 103.56 ▲1.87 | 80.71 ▲42.22 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.02 ▲0.02 | 33.79 ▼2.33 | 34.86 ▲1.15 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 20.97 ▼2.16 | 700.60 ▲6.21 | 59.63 ▲10.06 |
Media Library /wp-admin/upload.php | 1,411 ▲26 | 4.13 ▼0.16 | 98.43 ▼0.89 | 67.81 ▲25.18 |
CSP Settings /wp-admin/admin.php?page=csp-setting | 1,046 | 2.08 | 24.03 | 31.08 |
Popup Design /wp-admin/admin.php?page=csp-designs | 967 | 1.73 | 24.42 | 30.79 |
Subscribers List /wp-admin/admin.php?page=csp-subscribers | 1,165 | 1.69 | 24.37 | 28.72 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_csp_subscribers
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots need descriptions #4, #5, #6, #7 in choyal-subscription-popup/assets to your readme.txt
choyal-subscription-popup/plugin.php 85% from 13 tests
"Choyal Subscription Popup - MailChimp Support" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 329 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("choyal-subscription-popup.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin1,809 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 784 | 55 | 1,255 |
CSS | 1 | 69 | 1 | 388 |
SVG | 2 | 0 | 1 | 129 |
JavaScript | 2 | 21 | 3 | 37 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
4 PNG files occupy 0.10MB with 0.07MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/button-pro.png | 4.83KB | 2.61KB | ▼ 45.97% |
assets/img/mail-admin-icon.png | 15.21KB | 0.72KB | ▼ 95.28% |
assets/img/comingsoon.png | 82.23KB | 21.58KB | ▼ 73.76% |
assets/img/mail.png | 4.60KB | 2.64KB | ▼ 42.59% |