Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼10.23ms] Passed 4 tests
This is a short check of server-side resources used by Ovic Product Bundle
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 34.89 ▼4.75 |
Dashboard /wp-admin | 3.31 ▼0.03 | 44.81 ▼16.04 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.65 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 76.09 ▼20.10 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.58 ▼0.04 |
Server storage [IO: ▲0.15MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Ovic Product Bundle
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.24 ▼0.11 | 1.63 ▲0.08 | 41.33 ▲3.43 |
Dashboard /wp-admin | 2,215 ▲38 | 5.55 ▼0.09 | 83.05 ▼6.43 | 87.07 ▲40.53 |
Posts /wp-admin/edit.php | 2,121 ▲18 | 1.99 ▼0.02 | 41.98 ▲5.26 | 33.88 ▲1.57 |
Add New Post /wp-admin/post-new.php | 1,565 ▲36 | 18.17 ▼5.18 | 694.29 ▲52.37 | 49.63 ▼18.82 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.18 ▼0.06 | 97.28 ▲1.65 | 68.21 ▲24.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in ovic-product-bundle/assets to your readme.txt
ovic-product-bundle/addon.php 77% from 13 tests
The main PHP script in "Ovic Product Bundle" version 1.1.2 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Requires at least: Required version must match the one declared in readme.txt ("4.7" instead of "3.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("ovic-product-bundle.php" instead of "addon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin2,502 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 99 | 76 | 1,494 |
JavaScript | 5 | 160 | 224 | 719 |
CSS | 3 | 56 | 1 | 289 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 42.80 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 4.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 2 | 3.39% |
▷ Public methods | 59 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon-menu.png | 1.11KB | 0.37KB | ▼ 66.43% |