Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.44ms] Passed 4 tests
This is a short check of server-side resources used by Cart66 Lite Advance Sales Report Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.68 ▲0.44 |
Dashboard /wp-admin | 3.31 ▲0.00 | 54.76 ▲6.84 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.62 ▼0.54 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.26 ▼17.15 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.07 ▼4.52 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Cart66 Lite Advance Sales Report Lite: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.33 ▼1.25 | 1.64 ▼0.67 | 43.00 ▼0.51 |
Dashboard /wp-admin | 2,203 ▲12 | 5.81 ▼0.09 | 93.89 ▼7.55 | 36.99 ▼2.55 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.04 ▼0.01 | 34.36 ▼0.14 | 32.09 ▼3.74 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 23.04 ▼0.30 | 668.77 ▼19.73 | 62.32 ▲8.47 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.23 ▲0.09 | 96.95 ▼4.40 | 44.81 ▼1.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 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 Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% 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: Please add images for these screenshots: #1 (Cart66 Advance Sales Report Lite Pro for Cart66 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: There are too many tags (18 tag instead of maximum 10)
cart66-lite-advance-sales-report-lite/ic-cart66-advance-sales-report.php 85% from 13 tests
This is the main PHP file of "Cart66 Lite 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
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 201 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("cart66-lite-advance-sales-report-lite.php" instead of "ic-cart66-advance-sales-report.php")
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 plugin886 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 71 | 43 | 611 |
JavaScript | 8 | 15 | 24 | 139 |
CSS | 2 | 47 | 1 | 136 |
PHP code Passed 2 tests
Analyzing 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 | 3.00 |
▷ 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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
10 PNG files occupy 0.26MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/buy-now.png | 7.15KB | 3.87KB | ▼ 45.80% |
screenshot-5.png | 27.59KB | 8.21KB | ▼ 70.25% |
screenshot-3.png | 40.46KB | 12.67KB | ▼ 68.68% |
screenshot-4.png | 19.86KB | 5.60KB | ▼ 71.81% |
screenshot-1.png | 103.45KB | 26.00KB | ▼ 74.87% |