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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.77ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Sales MIS Report
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.98 ▼4.02 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.91 ▲0.59 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 45.72 ▼1.67 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 92.03 ▼9.97 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.68 ▲1.15 |
Other Plug-ins /wp-admin/admin.php?page=wcismis_add_ons_page | 3.27 | 30.68 |
MIS Report /wp-admin/admin.php?page=wcismis_page | 3.22 | 42.71 |
Server storage [IO: ▲1.59MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Sales MIS Report
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲119 | 14.74 ▼0.01 | 2.02 ▲0.40 | 44.50 ▲4.97 |
Dashboard /wp-admin | 2,238 ▲50 | 5.85 ▲0.96 | 105.84 ▼4.62 | 83.71 ▲43.22 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.04 ▲0.05 | 34.13 ▼6.12 | 32.67 ▼3.62 |
Add New Post /wp-admin/post-new.php | 1,694 ▲152 | 22.38 ▲3.98 | 705.03 ▲96.77 | 48.20 ▼9.18 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.20 ▲0.02 | 114.49 ▲17.11 | 46.01 ▲2.91 |
Other Plug-ins /wp-admin/admin.php?page=wcismis_add_ons_page | 1,134 | 2.13 | 23.90 | 43.38 |
MIS Report /wp-admin/admin.php?page=wcismis_page | 1,918 | 3.47 | 119.23 | 61.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: You are using too many tags: 16 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Sales Summary on Dashboard), #2 (Graphical presentation of Last 7 Day Sales report), #3 (Graphical presentation of Top 5 Products report), #4 (Daily, weekly, monthly and yearly sales count and amount), #5 (Top 5 Category (total order count and amount)), #6 (Top 5 Billing country (total order count and amount)), #7 (Top 5 customer (Customer billing first name, billing email address, order count and total customer order amount)), #8 (Recent order list (Order ID, Order Date, Billing email, First Name, order Item Count and amount))
woocommerce-mis-report/woocommerce_ic_mis_report.php 62% from 13 tests
This is the main PHP file of "WooCommerce Sales MIS Report" version 4.0.3, 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:
- Domain Path: The domain path folder does not exist ("/languages/")
- Description: The description should be shorter than 140 characters (currently 206 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Name the main plugin file the same as the plugin slug ("woocommerce-mis-report.php" instead of "woocommerce_ic_mis_report.php")
- Requires at least: Required version number should use periods and dots only (ex. "7.0" instead of "3.5.x")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected3,371 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 458 | 70 | 1,996 |
CSS | 1 | 344 | 26 | 1,138 |
JavaScript | 5 | 7 | 9 | 204 |
SVG | 3 | 4 | 0 | 33 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 66.50 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 127.00 |
Average method complexity | 6.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
28 PNG files occupy 0.90MB with 0.45MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 29.30KB | 8.68KB | ▼ 70.36% |
assets/banner-772x250.png | 233.10KB | 87.41KB | ▼ 62.50% |
assets/images/icons/refund-icon1.png | 1.13KB | 1.09KB | ▼ 4.22% |
assets/images/menu-icon.png | 0.46KB | 0.28KB | ▼ 39.53% |
screenshot-1.png | 48.46KB | 13.31KB | ▼ 72.54% |