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: ▼5.27ms] Passed 4 tests
Analyzing server-side resources used by WOWRestro - Online Ordering System For WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.73 ▲5.47 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.97 ▼2.95 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.35 ▲2.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.38 ▼15.43 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.05 ▼4.78 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 97 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WOWRestro - Online Ordering System For WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▼0.27 | 1.77 ▲0.19 | 44.98 ▲2.89 |
Dashboard /wp-admin | 2,201 ▲33 | 5.55 ▼0.04 | 80.52 ▼5.82 | 37.79 ▼1.65 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.98 ▼0.00 | 34.30 ▲1.08 | 36.60 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,532 ▲4 | 23.04 ▼0.13 | 659.66 ▲10.97 | 50.93 ▼11.42 |
Media Library /wp-admin/upload.php | 1,406 ▲12 | 4.20 ▼0.01 | 92.94 ▼3.91 | 39.82 ▼6.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wowrestro/includes/admin/views/wowrestro-licenses-settings-fields.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
9 plugin tags: delivery system, delivery, food ordering, takeaway system, online food ordering...
wowrestro/wowrestro.php 92% from 13 tests
This is the main PHP file of "WOWRestro - Online Ordering System For WooCommerce" version 1.3.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Requires at least: Required version does not match the one declared in readme.txt ("4.0" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin15,753 lines of code in 86 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 435 | 53 | 7,371 |
PHP | 62 | 1,881 | 2,118 | 5,586 |
JavaScript | 11 | 639 | 245 | 2,759 |
SVG | 3 | 0 | 0 | 37 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 24.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 133.00 |
Average method complexity | 4.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 1 | 4.17% |
▷ Concrete classes | 23 | 95.83% |
▷ Final classes | 1 | 4.35% |
Methods | 178 | |
▷ Static methods | 62 | 34.83% |
▷ Public methods | 160 | 89.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 18 | 10.11% |
Functions | 65 | |
▷ Named functions | 65 | 100.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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/empty-cart.png | 11.75KB | 6.22KB | ▼ 47.06% |