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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▲1.82ms] Passed 4 tests
Server-side resources used by Zotabox - 20+ Promotional Sales tools to boost your subscribers and sales
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 54.03 ▲12.17 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.42 ▲1.02 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 44.16 ▼6.32 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 96.62 ▲6.37 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 40.81 ▲6.20 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 14 new options
New WordPress options |
---|
access_key |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
ztb_source |
ztb_status_message |
db_upgraded |
ztb_id |
ztb_access_key |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Zotabox - 20+ Promotional Sales tools to boost your subscribers and sales
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲97 | 13.35 ▼0.84 | 5.07 ▲3.47 | 47.42 ▲4.03 |
Dashboard /wp-admin | 2,210 ▲22 | 5.84 ▲0.95 | 109.78 ▲0.25 | 92.06 ▲48.33 |
Posts /wp-admin/edit.php | 2,111 ▲22 | 2.05 ▲0.03 | 33.79 ▼6.98 | 33.56 ▼1.88 |
Add New Post /wp-admin/post-new.php | 1,685 ▲163 | 22.60 ▼0.25 | 608.05 ▲15.64 | 49.85 ▼10.72 |
Media Library /wp-admin/upload.php | 1,410 ▲19 | 4.10 ▼0.12 | 101.01 ▼0.69 | 78.06 ▲32.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 14 options
- ztb_id
- ztb_source
- ztb_access_key
- widget_recent-comments
- theysaidso_admin_options
- ztb_status_disconnect
- widget_recent-posts
- ztb_status_message
- ztb_domainid
- ztb_email
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zotabox/zotabox.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Donate link: Invalid url: ""
- Screenshots: Add images for these screenshots: #2 (Free widgets on dashboard), #3 (Premium widgets on dashboard)
- Tags: There are too many tags (55 tag instead of maximum 10)
zotabox/zotabox.php 92% from 13 tests
This is the main PHP file of "Zotabox - 20+ Promotional Sales tools to boost your subscribers and sales" version 1.9.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected480 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 3 | 4 | 273 |
PHP | 1 | 19 | 39 | 167 |
JavaScript | 1 | 4 | 0 | 40 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
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/logo-zotabox.png | 5.45KB | 2.43KB | ▼ 55.35% |
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% |