Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▼1.28ms] Passed 4 tests
Server-side resources used by Woo-UberRush by Phanes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 38.21 ▼7.04 |
Dashboard /wp-admin | 3.52 ▲0.21 | 47.16 ▲4.65 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 51.14 ▲3.54 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 95.47 ▼5.06 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.23 ▲3.45 |
Phanes UberRush /wp-admin/options-general.php?page=phanes-uber | 3.41 | 34.45 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Woo-UberRush by Phanes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 13.31 ▼1.06 | 1.62 ▼0.46 | 37.30 ▼6.21 |
Dashboard /wp-admin | 2,228 ▲37 | 4.85 ▼0.04 | 108.53 ▲4.61 | 41.89 ▼1.73 |
Posts /wp-admin/edit.php | 2,110 ▲18 | 2.06 ▲0.02 | 42.92 ▲2.10 | 36.38 ▼0.75 |
Add New Post /wp-admin/post-new.php | 1,553 ▲11 | 18.10 ▼0.30 | 603.85 ▼20.20 | 53.53 ▼17.79 |
Media Library /wp-admin/upload.php | 1,410 ▲19 | 4.28 ▼0.03 | 103.12 ▲7.76 | 46.31 ▲2.52 |
Phanes UberRush /wp-admin/options-general.php?page=phanes-uber | 832 | 2.06 | 24.22 | 35.98 |
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
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'UBER\\Classes\\Plugin' not found in wp-content/plugins/wooub/classes/UberRush.php:4
- > PHP Fatal error
Uncaught Error: Class 'WC_Shipping_Method' not found in wp-content/plugins/wooub/classes/WC_UberShippingMethod.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: A description for screenshot #1 is required in wooub/assets to your readme.txt
wooub/main.php 77% from 13 tests
"Woo-UberRush by Phanes" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wooub.php" instead of "main.php")
- Text Domain: Please use dashes and lowercase characters for text domains
- Description: The description should be shorter than 140 characters (currently 165 characters long)
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
Success! There were no dangerous files found in this plugin1,223 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 330 | 219 | 1,214 |
JavaScript | 1 | 2 | 0 | 9 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 38.20 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 61 | |
▷ Static methods | 38 | 62.30% |
▷ Public methods | 56 | 91.80% |
▷ Protected methods | 1 | 1.64% |
▷ Private methods | 4 | 6.56% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin