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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.76ms] Passed 4 tests
Server-side resources used by Reward Points for wc-marketplace
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 33.85 ▼5.62 |
Dashboard /wp-admin | 3.31 ▲0.00 | 43.20 ▼7.27 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.49 ▼1.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.82 ▼3.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.67 ▼3.10 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Reward Points for wc-marketplace
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.44 ▲0.06 | 1.62 ▼0.22 | 39.15 ▼5.13 |
Dashboard /wp-admin | 2,203 ▲15 | 5.81 ▲0.72 | 101.46 ▼11.63 | 41.10 ▼5.46 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.02 | 39.24 ▲2.02 | 35.13 ▲2.02 |
Add New Post /wp-admin/post-new.php | 1,514 ▼23 | 17.72 ▼5.50 | 615.56 ▼30.40 | 54.59 ▲0.40 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.22 ▼0.05 | 101.33 ▲0.45 | 41.48 ▼3.09 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #4, #5, #6 in reward-points-for-wc-marketplace/assets to your readme.txt
reward-points-for-wc-marketplace/reward-point.php 92% from 13 tests
The main file in "Reward Points for wc-marketplace" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("reward-points-for-wc-marketplace.php" instead of "reward-point.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin2,371 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 376 | 147 | 1,607 |
CSS | 5 | 6 | 45 | 473 |
JavaScript | 5 | 26 | 19 | 291 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 3.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1 | |
▷ Static methods | 1 | 100.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 37 | |
▷ Named functions | 37 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/DataTables-1.10.16/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
lib/DataTables-1.10.16/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
lib/DataTables-1.10.16/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
lib/DataTables-1.10.16/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
lib/DataTables-1.10.16/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |