Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.28ms] Passed 4 tests
An overview of server-side resources used by Scroll Triggered Box / Slide Box
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.75 ▲2.17 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.91 ▲2.05 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.49 ▲2.21 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 83.76 ▼12.90 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 33.74 ▼0.44 |
Server storage [IO: ▲0.18MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 14 new options
New WordPress options |
---|
ztb_status_disconnect |
widget_theysaidso_widget |
widget_recent-comments |
ztb_source |
access_key |
ztb_email |
db_upgraded |
ztb_domainid |
widget_recent-posts |
ztb_id |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Scroll Triggered Box / Slide Box
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.28 ▼1.09 | 1.65 ▲0.05 | 41.24 ▲1.41 |
Dashboard /wp-admin | 2,222 ▲37 | 4.91 ▼0.95 | 95.66 ▼16.59 | 86.50 ▲41.91 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.01 ▲0.03 | 34.76 ▼1.29 | 32.80 ▼0.11 |
Add New Post /wp-admin/post-new.php | 1,684 ▲156 | 22.53 ▲4.25 | 752.85 ▲130.18 | 49.71 ▼0.98 |
Media Library /wp-admin/upload.php | 1,404 ▲13 | 4.28 ▲0.09 | 99.82 ▲3.32 | 66.72 ▲21.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 14 options
- ztb_domainid
- ztb_status_disconnect
- widget_recent-comments
- widget_theysaidso_widget
- ztb_source
- db_upgraded
- ztb_status_message
- ztb_access_key
- theysaidso_admin_options
- ztb_email
- ...
Smoke tests 75% 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/slide-box/slidebox.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (EU Cookie Notification Settings), #2 (Display Rules), #3 (Zotabox Dashboard)
- Donate link: Please fix this invalid url: ""
slide-box/slidebox.php 92% from 13 tests
The entry point to "Scroll Triggered Box / Slide Box" version 1.1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("slide-box.php" instead of "slidebox.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions 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
There are no cyclomatic complexity problems detected for this plugin
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
It is recommended to compress PNG files in your plugin to 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 |
zotabox.png | 3.19KB | 0.44KB | ▼ 86.31% |
assets/images/bg_body.png | 22.84KB | 9.83KB | ▼ 56.98% |
assets/images/check.png | 2.96KB | 0.37KB | ▼ 87.47% |
assets/images/logo-zotabox.png | 5.45KB | 2.43KB | ▼ 55.35% |