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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.36MB] [CPU: ▼7.41ms] Passed 4 tests
An overview of server-side resources used by Smart Reporter For WooCommerce and WP eCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 36.79 ▼0.03 |
Dashboard /wp-admin | 3.67 ▲0.33 | 47.69 ▼16.17 |
Posts /wp-admin/edit.php | 3.79 ▲0.43 | 52.27 ▲0.37 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.37 | 87.64 ▼13.79 |
Media Library /wp-admin/upload.php | 3.59 ▲0.37 | 38.86 ▲2.69 |
🔥 Go Pro /wp-admin/admin.php?page=smart-reporter-pricing | 3.57 | 33.04 |
Smart Reporter /wp-admin/admin.php?page=smart-reporter | 3.56 | 30.89 |
Server storage [IO: ▲3.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 399 new files
Database: no new tables, 11 new options
New WordPress options |
---|
sr_old_data_sync |
sr_what_to_refresh |
widget_theysaidso_widget |
widget_recent-posts |
sr_data_sync |
can_compress_scripts |
sr_is_auto_refresh |
theysaidso_admin_options |
sr_refresh_duration |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Smart Reporter For WooCommerce and WP eCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲121 | 13.33 ▼1.25 | 1.48 ▼0.18 | 39.91 ▼2.00 |
Dashboard /wp-admin | 2,297 ▲112 | 4.90 ▼0.95 | 109.48 ▲7.93 | 45.14 ▲5.97 |
Posts /wp-admin/edit.php | 2,156 ▲67 | 2.05 ▲0.02 | 40.21 ▲3.74 | 42.09 ▲5.26 |
Add New Post /wp-admin/post-new.php | 1,575 ▲56 | 23.51 ▲0.43 | 671.00 ▼5.05 | 56.91 ▼4.08 |
Media Library /wp-admin/upload.php | 1,450 ▲62 | 4.35 ▲0.04 | 96.22 ▼19.14 | 46.09 ▼2.04 |
🔥 Go Pro /wp-admin/admin.php?page=smart-reporter-pricing | 910 | 2.20 | 25.76 | 72.23 |
Smart Reporter /wp-admin/admin.php?page=smart-reporter | 821 | 1.72 | 23.04 | 29.77 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 11 options
- sr_refresh_duration
- sr_old_data_sync
- sr_data_sync
- sr_what_to_refresh
- theysaidso_admin_options
- widget_recent-comments
- sr_is_auto_refresh
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=smart-reporter
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP 50% from 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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/smart-reporter-for-wp-e-commerce/smart-reporter.php:23
- > PHP Fatal error
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 90% from 29 tests
readme.txt 88% 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:
- Requires php: Version not formatted correctly
- Tags: You are using too many tags: 12 tag instead of maximum 10
smart-reporter-for-wp-e-commerce/smart-reporter.php 92% from 13 tests
The main PHP script in "Smart Reporter For WooCommerce and WP eCommerce" version 2.10.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("smart-reporter-for-wp-e-commerce.php" instead of "smart-reporter.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin10,511 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 1,991 | 764 | 6,159 |
CSS | 6 | 336 | 141 | 1,638 |
JavaScript | 7 | 96 | 83 | 1,381 |
LESS | 13 | 19 | 31 | 919 |
SVG | 1 | 0 | 0 | 414 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 81 | |
▷ Named functions | 79 | 97.53% |
▷ Anonymous functions | 2 | 2.47% |
Constants | 55 | |
▷ Global constants | 55 | 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
24 PNG files occupy 0.16MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/themes/images/default/grid/cell-special-selected-bg.png | 0.13KB | 0.16KB | 0.00% |
resources/themes/images/default/grid/dd-insert-arrow-left.png | 0.34KB | 0.34KB | 0.00% |
pricing/putler-pricing.png | 136.92KB | 43.78KB | ▼ 68.02% |
resources/themes/images/sales_funnel_200.png | 2.71KB | 2.91KB | 0.00% |
resources/themes/images/woo_default_image.png | 1.63KB | 1.47KB | ▼ 9.74% |