Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.84ms] Passed 4 tests
Server-side resources used by WP E-Commerce Advance Sales Report Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 45.55 ▲5.37 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.67 ▼1.91 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 45.81 ▼8.25 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.16 ▼14.31 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.47 ▼2.87 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WP E-Commerce Advance Sales Report Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.63 ▲0.25 | 1.84 ▲0.32 | 43.88 ▲3.62 |
Dashboard /wp-admin | 2,198 ▲21 | 5.65 ▼0.03 | 94.12 ▲3.10 | 43.85 ▲7.04 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.99 ▼0.02 | 36.01 ▼1.70 | 34.11 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.35 ▲5.30 | 683.36 ▼20.98 | 51.09 ▼23.65 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.17 ▼0.04 | 99.75 ▼9.77 | 44.31 ▲0.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- 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
Everything seems fine, however 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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 do not have images: #1 (WP E-Commerce Advance Sales Report Lite Pro for WP E-Commerce Dashboard (some features only in paid versions)), #2 (Daily, weekly, monthly and yearly sales count and amount), #3 (Recent order list (Order ID, Order Date, Billing email, First Name, order Item Count and amount)), #4 (Top 5 Billing country (total order count and amount)), #5 (Top 5 customer (Customer billing first name, billing email address, order count and total customer order amount))
- Tags: You are using too many tags: 18 tag instead of maximum 10
wp-e-commerce-advance-sales-report-lite/ic-wpecommerce-advance-sales-report.php 85% from 13 tests
This is the main PHP file of "WP E-Commerce Advance Sales Report Lite" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wp-e-commerce-advance-sales-report-lite.php" instead of "ic-wpecommerce-advance-sales-report.php")
- Description: The description should be shorter than 140 characters (currently 208 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
Good job! No executable or dangerous file extensions detected867 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 85 | 30 | 594 |
JavaScript | 6 | 15 | 20 | 137 |
CSS | 2 | 47 | 1 | 136 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
10 PNG files occupy 0.20MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 87.63KB | 23.32KB | ▼ 73.39% |
screenshot-2.png | 17.72KB | 5.48KB | ▼ 69.06% |
assets/images/buy-now.png | 7.15KB | 3.87KB | ▼ 45.80% |
assets/images/menu_icons.png | 1.23KB | 0.27KB | ▼ 78.46% |
screenshot-5.png | 17.58KB | 6.16KB | ▼ 64.94% |