Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.43MB] [CPU: ▼0.92ms] Passed 4 tests
Server-side resources used by WPC Fly Cart for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 34.63 ▼6.53 |
Dashboard /wp-admin | 3.73 ▲0.42 | 46.04 ▲1.13 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 49.37 ▲1.69 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 102.60 ▲0.03 |
Media Library /wp-admin/upload.php | 3.66 ▲0.42 | 36.30 ▲7.08 |
About /wp-admin/admin.php?page=wpclever | 3.62 | 31.18 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.62 | 30.80 |
Server storage [IO: ▲0.96MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WPC Fly Cart for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲80 | 14.67 ▲0.31 | 1.54 ▼0.43 | 38.12 ▼4.11 |
Dashboard /wp-admin | 2,272 ▲95 | 5.55 ▼0.06 | 92.35 ▼4.09 | 85.83 ▲45.14 |
Posts /wp-admin/edit.php | 2,178 ▲75 | 2.00 ▼0.13 | 37.17 ▼0.53 | 33.86 ▼4.02 |
Add New Post /wp-admin/post-new.php | 1,753 ▲224 | 21.10 ▼2.05 | 693.96 ▲22.80 | 66.68 ▲12.58 |
Media Library /wp-admin/upload.php | 1,468 ▲68 | 4.19 ▼0.02 | 98.63 ▲0.42 | 69.89 ▲28.91 |
About /wp-admin/admin.php?page=wpclever | 1,406 | 2.23 | 30.50 | 34.17 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,732 | 2.13 | 36.01 | 62.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5 in woo-fly-cart/assets to your readme.txt
woo-fly-cart/wpc-fly-cart.php 92% from 13 tests
"WPC Fly Cart for WooCommerce" version 5.6.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("woo-fly-cart.php" instead of "wpc-fly-cart.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin14,632 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 13 | 908 | 228 | 4,892 |
JavaScript | 11 | 749 | 329 | 4,025 |
PO File | 16 | 1,462 | 1,758 | 3,638 |
PHP | 5 | 251 | 48 | 1,914 |
SVG | 3 | 0 | 0 | 163 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 46.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 180.00 |
Average method complexity | 6.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 89.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 6 | 13.64% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 9 | |
▷ Global constants | 9 | 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
No PNG images were found in this plugin