Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼0.94MB] [CPU: ▼33.05ms] Passed 4 tests
An overview of server-side resources used by Multilingual Feedback Tab
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.85 ▼5.40 |
Dashboard /wp-admin | 3.00 ▼0.30 | 20.78 ▼24.43 |
Posts /wp-admin/edit.php | 3.01 ▼0.35 | 22.48 ▼23.14 |
Add New Post /wp-admin/post-new.php | 3.00 ▼2.88 | 22.99 ▼71.30 |
Media Library /wp-admin/upload.php | 3.01 ▼0.22 | 22.16 ▼13.32 |
Multi-lingual Feedback Tab /wp-admin/tools.php?page=mlft_top | 3.01 | 22.88 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Multilingual Feedback Tab
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲47 | 14.40 ▲0.07 | 1.81 ▲0.01 | 40.25 ▼4.10 |
Dashboard /wp-admin | 2,217 ▲40 | 5.57 ▼0.08 | 90.81 ▼0.82 | 88.15 ▲46.79 |
Posts /wp-admin/edit.php | 2,119 ▲15 | 1.97 ▼0.04 | 41.70 ▲4.35 | 37.90 ▲6.86 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 23.59 ▲0.39 | 617.87 ▲5.55 | 81.47 ▲26.13 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.07 ▼0.10 | 99.16 ▼6.58 | 69.70 ▲26.17 |
Multi-lingual Feedback Tab /wp-admin/tools.php?page=mlft_top | 924 | 2.16 | 28.32 | 24.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/tools.php?page=mlft_top
- > User notice in wp-includes/functions.php+5905
Function add_submenu_page was called incorrectly. The seventh parameter passed to add_submenu_page() should be numeric representing menu position. Please see Debugging in WordPress for more information. (This message was added in version 5.3.0.)
- > GET request to /wp-admin/tools.php?page=mlft_top
- > Notice in wp-content/plugins/multi-lingual-feedback-tab/mlft_admin.php+8
Undefined index: add_tab
- > GET request to /wp-admin/tools.php?page=mlft_top
- > Notice in wp-content/plugins/multi-lingual-feedback-tab/mlft_admin.php+24
Undefined index: remove_tab
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined index: remove_tab in wp-content/plugins/multi-lingual-feedback-tab/mlft_admin.php on line 24
- > PHP Notice
Undefined index: add_tab in wp-content/plugins/multi-lingual-feedback-tab/mlft_admin.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multi-lingual-feedback-tab/mlft_ins.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/multi-lingual-feedback-tab/mlft_admin.php:35
- > PHP Notice
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)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Contributors: Plugin contributors not specified
multi-lingual-feedback-tab/mlft_ins.php 85% from 13 tests
The primary PHP file in "Multilingual Feedback Tab" version 1.00 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 219 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("multi-lingual-feedback-tab.php" instead of "mlft_ins.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin116 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 26 | 35 | 116 |
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.32 |
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 | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icon.png | 1.28KB | 1.18KB | ▼ 8.21% |