Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.98ms] Passed 4 tests
An overview of server-side resources used by Custom Spinner For WooCommerce: custom spinner for the WooCommerce checkout and cart pages
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.46 ▼4.91 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.52 ▼6.12 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.13 ▼4.35 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.98 ▼20.54 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.87 ▲4.62 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Spinner For WooCommerce: custom spinner for the WooCommerce checkout and cart pages
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲18 | 14.23 ▼0.04 | 1.68 ▼0.14 | 37.43 ▼7.37 |
Dashboard /wp-admin | 2,195 ▲21 | 5.62 ▼0.05 | 95.29 ▼3.80 | 42.04 ▼4.43 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.00 ▲0.03 | 39.42 ▲0.98 | 35.27 ▼1.43 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.33 ▲0.21 | 661.80 ▼42.38 | 52.62 ▼0.43 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.25 ▲0.04 | 101.68 ▼15.49 | 44.50 ▼3.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: spinner, checkout, ajax loader
custom-spinner-for-woocommerce/custom-spinner-for-woocommerce.php 92% from 13 tests
This is the main PHP file of "Custom Spinner For WooCommerce: custom spinner for the WooCommerce checkout and cart pages" version 0.0.2, 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 points to an invalid folder, "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected121 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 7 | 20 | 98 |
JavaScript | 1 | 3 | 0 | 23 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 2 | |
▷ Global constants | 2 | 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
No PNG files were detected