Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.87ms] Passed 4 tests
Server-side resources used by Oliver POS - Points and Rewards for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.63 ▼3.10 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.82 ▼13.02 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.21 ▲6.77 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.52 ▼14.02 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.62 ▼1.33 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Oliver POS - Points and Rewards for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.14 ▼0.50 | 1.70 ▼0.00 | 43.61 ▼0.36 |
Dashboard /wp-admin | 2,195 ▲15 | 5.60 ▼0.03 | 86.67 ▼4.80 | 41.99 ▼0.22 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▼0.02 | 35.78 ▼7.37 | 36.40 ▼6.04 |
Add New Post /wp-admin/post-new.php | 1,526 ▼19 | 23.08 ▼2.02 | 588.21 ▼60.16 | 51.54 ▼26.12 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.19 ▼0.08 | 99.03 ▼5.38 | 43.42 ▼1.07 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Congratulations! This plugin passed the SRP test
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 86% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in oliver-pos-points-and-rewards/assets to your readme.txt
oliver-pos-points-and-rewards/oliver-pos-points-and-rewards.php 77% from 13 tests
The main PHP script in "Oliver POS - Points and Rewards for WooCommerce" version 2.1.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("5.9" instead of "3.8")
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- 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
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
There were no executable files found in this plugin1,235 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 167 | 401 | 1,231 |
JavaScript | 1 | 0 | 1 | 4 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 16.60 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 3.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 3 | 8.57% |
▷ Public methods | 35 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
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/img/oliver_icon_121.png | 3.08KB | 0.34KB | ▼ 88.91% |