Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.27MB] [CPU: ▲4.76ms] Passed 4 tests
A check of server-side resources used by WC Subscription Report Lite
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.61 ▲1.08 |
Dashboard /wp-admin | 3.70 ▲0.40 | 56.92 ▲6.08 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 52.28 ▲2.61 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.34 | 101.15 ▲15.26 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 43.37 ▲9.28 |
Server storage [IO: ▲1.39MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 69 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
icwoocommercesubscriptionslite |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WC Subscription Report Lite
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.13 ▼1.26 | 1.69 ▼0.04 | 43.10 ▼5.27 |
Dashboard /wp-admin | 2,211 ▲29 | 5.79 ▲0.92 | 105.60 ▼8.26 | 39.78 ▼4.08 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.06 | 33.41 ▼5.82 | 36.06 ▲2.40 |
Add New Post /wp-admin/post-new.php | 1,550 ▲33 | 18.29 ▲0.71 | 609.58 ▼73.58 | 54.49 ▼19.55 |
Media Library /wp-admin/upload.php | 1,396 ▲14 | 4.27 ▲0.06 | 97.07 ▼3.35 | 44.79 ▲2.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, class 'IC_Woocommerce_Subscriptions_Report_Lite' does not have a method 'deactivation'
- This plugin does not fully uninstall, leaving 7 options in the database
- icwoocommercesubscriptionslite
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (WC Subscription Report Lite - Dashboard), #2 (WC Subscription Report Lite - Details)
wc-subscription-report-lite/ic-woocommerce-subscriptions-lite.php 62% from 13 tests
The entry point to "WC Subscription Report Lite" version 1.9 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 144 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wc-subscription-report-lite.php" instead of "ic-woocommerce-subscriptions-lite.php")
- 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
- Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "3.5.x")
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 detected5,591 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 850 | 183 | 3,296 |
CSS | 3 | 311 | 106 | 1,161 |
JavaScript | 5 | 359 | 212 | 1,134 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 85.86 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 264.00 |
Average method complexity | 5.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 132 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 132 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
34 PNG files occupy 0.89MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/menu_icons.png | 1.23KB | 0.27KB | ▼ 78.46% |
assets/images/icons/product-icon.png | 0.61KB | 0.76KB | 0.00% |
assets/images/icons/back-icon.png | 0.33KB | 0.39KB | 0.00% |
assets/images/icons/total-sales-icon.png | 0.35KB | 0.38KB | 0.00% |
assets/images/step-blue.png | 5.13KB | 2.37KB | ▼ 53.86% |