Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.54ms] Passed 4 tests
Server-side resources used by Restaurant Addon for Elementor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.31 ▲0.96 |
Dashboard /wp-admin | 3.31 ▼0.04 | 44.88 ▼15.59 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.48 ▼1.23 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.39 ▼14.29 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.05 ▲2.58 |
Server storage [IO: ▲0.02MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Restaurant Addon for Elementor: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 14.35 ▼0.27 | 1.65 ▲0.11 | 42.22 ▲4.41 |
Dashboard /wp-admin | 2,206 ▲29 | 5.55 ▼0.00 | 85.04 ▼1.35 | 38.12 ▼4.95 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.04 ▲0.10 | 42.06 ▲6.87 | 43.53 ▲5.54 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.52 ▼0.16 | 668.25 ▼22.81 | 63.73 ▲13.01 |
Media Library /wp-admin/upload.php | 1,420 ▲20 | 4.17 ▼0.02 | 98.58 ▲2.32 | 42.51 ▼0.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function RestaurantAddonForElementor\\add_action() in wp-content/plugins/restaurant-addon-for-elementor/plugin.php:113
- > PHP Fatal error
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)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Please a description for screenshot #4 in restaurant-addon-for-elementor/assets to your readme.txt
- Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
restaurant-addon-for-elementor/restaurant-addon-for-elementor.php Passed 13 tests
The main PHP script in "Restaurant Addon for Elementor" version 1.1 is automatically included on every request by WordPress
78 characters long description:
Adds easy to configure Elementor widgets specific for the restaurant industry.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected360 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 86 | 317 | 338 |
CSS | 1 | 4 | 0 | 22 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 26 | |
▷ Static methods | 1 | 3.85% |
▷ Public methods | 19 | 73.08% |
▷ Protected methods | 6 | 23.08% |
▷ Private methods | 1 | 3.85% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin