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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼6.27ms] Passed 4 tests
An overview of server-side resources used by Woocommerce - Recent Purchases
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 38.06 ▼1.57 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.26 ▼1.46 |
Posts /wp-admin/edit.php | 3.53 ▲0.18 | 45.69 ▼6.11 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 82.09 ▼15.92 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.36 ▼0.59 |
Get More /wp-admin/admin.php?page=wow-company | 3.39 | 474.55 |
Woo Recent Purchases /wp-admin/admin.php?page=woo-recent-purchases | 3.37 | 38.61 |
Server storage [IO: ▲1.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 79 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_wow_woo_recent_purchases |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Woocommerce - Recent Purchases: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲126 | 13.38 ▼1.21 | 1.74 ▼0.04 | 39.72 ▼4.64 |
Dashboard /wp-admin | 2,276 ▲88 | 5.91 ▼0.02 | 96.64 ▼25.26 | 39.95 ▼5.72 |
Posts /wp-admin/edit.php | 2,159 ▲67 | 2.07 ▲0.06 | 38.77 ▲0.75 | 34.45 ▼0.69 |
Add New Post /wp-admin/post-new.php | 1,540 ▲26 | 23.05 ▲5.40 | 677.57 ▼3.99 | 67.34 ▲13.10 |
Media Library /wp-admin/upload.php | 1,458 ▲73 | 4.27 ▲0.08 | 98.44 ▲2.96 | 43.95 ▼3.32 |
Get More /wp-admin/admin.php?page=wow-company | 1,634 | 2.13 | 32.72 | 69.23 |
Woo Recent Purchases /wp-admin/admin.php?page=woo-recent-purchases | 1,778 | 6.87 | 139.03 | 62.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_wow_woo_recent_purchases
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (List of Downloads with image), #2 (List of Downloads with avatar), #3 (Admin), #4 (Admin)
woo-recent-purchases/woo-recent-purchases.php 92% from 13 tests
The main file in "Woocommerce - Recent Purchases" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin10,530 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 9 | 37 | 3,325 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 18 | 122 | 198 | 998 |
JavaScript | 1 | 0 | 0 | 10 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 10.83 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 2 | 33.33% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 27 | 96.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.57% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
There are no PNG files in this plugin