Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼10.10ms] Passed 4 tests
Server-side resources used by Online ordering System - ord.to
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 36.96 ▼6.29 |
Dashboard /wp-admin | 3.45 ▲0.11 | 47.11 ▼17.47 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 55.21 ▲2.96 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 85.88 ▼19.59 |
Media Library /wp-admin/upload.php | 3.38 ▲0.14 | 39.29 ▲4.50 |
Configuration /wp-admin/admin.php?page=ordto-config | 3.34 | 33.38 |
Orders /wp-admin/admin.php?page=orders | 3.34 | 34.86 |
Products /wp-admin/admin.php?page=products | 3.34 | 31.53 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Online ordering System - ord.to
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 13.21 ▼1.20 | 1.67 ▼0.08 | 39.04 ▼5.25 |
Dashboard /wp-admin | 2,236 ▲50 | 5.86 ▲0.98 | 97.36 ▼13.13 | 35.81 ▼8.90 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.05 ▼0.07 | 34.09 ▼7.23 | 31.88 ▼6.00 |
Add New Post /wp-admin/post-new.php | 1,555 ▲20 | 23.20 ▼0.11 | 656.06 ▼19.44 | 52.46 ▲2.02 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.29 ▲0.06 | 96.55 ▼7.90 | 43.90 ▼6.19 |
Configuration /wp-admin/admin.php?page=ordto-config | 837 | 2.06 | 24.05 | 21.33 |
Orders /wp-admin/admin.php?page=orders | 773 | 2.05 | 23.67 | 20.32 |
Products /wp-admin/admin.php?page=products | 777 | 2.06 | 22.13 | 22.97 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid url: ""
ordering-system-ord-to/ord_sys.php 77% from 13 tests
"Online ordering System - ord.to" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "5.6")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ordering-system-ord-to.php" instead of "ord_sys.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
Good job! No executable or dangerous file extensions detected1,058 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 177 | 23 | 907 |
CSS | 1 | 25 | 0 | 131 |
JavaScript | 1 | 6 | 0 | 20 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
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 | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin