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
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.82ms] Passed 4 tests
A check of server-side resources used by WP Restaumatic – Active Menu for restaurants
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 36.44 ▼5.88 |
Dashboard /wp-admin | 3.40 ▲0.09 | 48.13 ▲0.59 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 52.51 ▼0.13 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 85.06 ▼5.86 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.71 ▲4.79 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Restaumatic – Active Menu for restaurants
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲96 | 13.26 ▼1.10 | 1.71 ▼0.08 | 41.35 ▼12.78 |
Dashboard /wp-admin | 2,240 ▲58 | 4.88 ▼0.98 | 104.56 ▼18.49 | 36.11 ▼11.81 |
Posts /wp-admin/edit.php | 2,120 ▲34 | 2.01 ▼0.02 | 39.74 ▼1.58 | 31.26 ▼7.90 |
Add New Post /wp-admin/post-new.php | 1,546 ▲4 | 22.95 ▲4.82 | 612.47 ▼2.87 | 62.16 ▼8.98 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.21 ▼0.16 | 96.50 ▼16.34 | 43.13 ▼3.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: restaurant menu, pizza, restaurant, food, food menu...
wp-restaumatic/wp-restaumatic.php Passed 13 tests
"WP Restaumatic – Active Menu for restaurants" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
100 characters long description:
Restaumatic Active Menu integration. Fully featured food ordering system for your WordPress website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected474 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 128 | 506 | 360 |
PO File | 1 | 32 | 43 | 114 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 79.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 20.69% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin