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.05MB] [CPU: ▼2.25ms] Passed 4 tests
A check of server-side resources used by Easy Popup - Welcome Popup, Email Popup, Exit Popup
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.05 | 40.90 ▼3.03 |
Dashboard /wp-admin | 3.40 ▲0.05 | 51.60 ▼5.29 |
Posts /wp-admin/edit.php | 3.51 ▲0.11 | 52.68 ▲7.46 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.05 | 95.25 ▼4.36 |
Media Library /wp-admin/upload.php | 3.32 ▲0.05 | 39.29 ▲3.69 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 14 new options
New WordPress options |
---|
ztb_source |
widget_theysaidso_widget |
access_key |
widget_recent-comments |
ztb_email |
ztb_status_disconnect |
theysaidso_admin_options |
ztb_access_key |
can_compress_scripts |
ztb_domainid |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Popup - Welcome Popup, Email Popup, Exit Popup
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.25 ▼0.45 | 1.65 ▼0.63 | 43.08 ▲1.42 |
Dashboard /wp-admin | 2,214 ▲37 | 5.53 ▼0.04 | 84.70 ▼7.91 | 71.19 ▲26.25 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.00 ▼0.03 | 38.06 ▼2.02 | 34.68 ▲0.29 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 22.98 ▼0.11 | 746.59 ▲80.45 | 48.50 ▼21.56 |
Media Library /wp-admin/upload.php | 1,419 ▲19 | 4.15 ▼0.04 | 99.17 ▼9.13 | 77.63 ▲36.63 |
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
The following items require your attention
- This plugin does not fully uninstall, leaving 14 options in the database
- ztb_id
- ztb_email
- ztb_source
- ztb_domainid
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- ztb_access_key
- widget_recent-comments
- access_key
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-popup/easy-popup.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
Attributes that need to be fixed:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Donate link: Invalid URI ("")
easy-popup/easy-popup.php Passed 13 tests
The entry point to "Easy Popup - Welcome Popup, Email Popup, Exit Popup" version 1.1.7 is a PHP file that has certain tags in its header comment area
128 characters long description:
Promote specials and reduce abandoned carts with our customizable and fully responsive popup. Responsive and Exit Intent popups.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected501 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 3 | 4 | 273 |
PHP | 1 | 19 | 15 | 188 |
JavaScript | 1 | 4 | 0 | 40 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 10 | |
▷ Named functions | 10 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/check.png | 2.96KB | 0.37KB | ▼ 87.47% |
zotabox.png | 3.19KB | 0.44KB | ▼ 86.31% |
assets/images/bg_body.png | 22.84KB | 9.83KB | ▼ 56.98% |
assets/images/logo-zotabox.png | 5.45KB | 2.43KB | ▼ 55.35% |