Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▲2.37ms] Passed 4 tests
This is a short check of server-side resources used by RoundUp App for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 38.41 ▼1.09 |
Dashboard /wp-admin | 3.39 ▲0.09 | 53.78 ▲9.15 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 46.64 ▲0.03 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 92.50 ▲9.45 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 33.45 ▲1.37 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for RoundUp App for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.25 ▼1.13 | 1.63 ▼0.32 | 38.83 ▼4.40 |
Dashboard /wp-admin | 2,209 ▲20 | 4.86 ▼1.05 | 102.48 ▼21.97 | 37.37 ▼8.17 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.02 | 36.36 ▼3.35 | 39.51 ▲3.39 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 23.41 ▲0.00 | 641.60 ▼26.92 | 50.83 ▲5.88 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.29 ▲0.09 | 95.32 ▼6.26 | 40.96 ▼2.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- 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 | 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 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in roundup-app-for-woocommerce/assets to your readme.txt
- Contributors: The plugin contributors field is missing
roundup-app-for-woocommerce/roundup-woocommerce.php 92% from 13 tests
This is the main PHP file of "RoundUp App for WooCommerce" version 1.0.8, 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:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("roundup-app-for-woocommerce.php" instead of "roundup-woocommerce.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin2,353 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 335 | 90 | 2,247 |
XML | 6 | 0 | 0 | 106 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 36.14 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 7 | 100.00% |
Methods | 162 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 123 | 75.93% |
▷ Protected methods | 7 | 4.32% |
▷ Private methods | 32 | 19.75% |
Functions | 14 | |
▷ Named functions | 7 | 50.00% |
▷ Anonymous functions | 7 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin