Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/aspl-advance-report-for-woocommerce/include/dashboard.php+954
syntax error, unexpected end of file
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.50ms] Passed 4 tests
A check of server-side resources used by ASPL Advance Report for Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.09 ▼0.45 |
Dashboard /wp-admin | 3.31 ▲0.00 | 51.38 ▲3.70 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 51.31 ▼0.94 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.13 ▼8.05 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.46 ▼0.55 |
Server storage [IO: ▲4.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by ASPL Advance Report for Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 13.90 ▼0.50 | 2.08 ▼0.11 | 41.58 ▼4.89 |
Dashboard /wp-admin | 2,189 ▲11 | 5.62 ▼0.08 | 94.24 ▼16.05 | 39.94 ▼4.73 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.01 | 41.64 ▼1.00 | 38.30 ▼2.15 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.37 ▲0.13 | 676.04 ▼17.38 | 55.28 ▲3.22 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.16 ▼0.11 | 98.50 ▼6.64 | 45.52 ▼3.91 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/aspl-advance-report-for-woocommerce/include/dashboard.php on line 954
- > PHP Parse error
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)
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Add a description for screenshot #12 in aspl-advance-report-for-woocommerce/assets to your readme.txt
aspl-advance-report-for-woocommerce/WooCommerce-advance-report.php 69% from 13 tests
"ASPL Advance Report for Woocommerce" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
- Main file name: Name the main plugin file the same as the plugin slug ("aspl-advance-report-for-woocommerce.php" instead of "WooCommerce-advance-report.php")
- Requires at least: Required version must match the one declared in readme.txt ("5.1" instead of "3.0.0")
- Description: Please don't use more than 140 characters for the plugin description (currently 147 characters long)
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
No dangerous file extensions were detected25,803 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 5 | 1,462 | 59 | 11,330 |
SVG | 3 | 0 | 12 | 9,026 |
JavaScript | 4 | 448 | 96 | 4,574 |
PHP | 3 | 186 | 32 | 873 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 9 | |
▷ Named functions | 9 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sales.png | 11.26KB | 4.27KB | ▼ 62.09% |
images/product-icon.png | 1.67KB | 1.28KB | ▼ 23.20% |
images/static_icon.png | 0.42KB | 0.19KB | ▼ 56.02% |
images/tax-icon2.png | 1.30KB | 1.43KB | 0.00% |
images/xukxynzcxblwudilgpnn.png | 15.20KB | 5.58KB | ▼ 63.26% |