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: ▼15.17ms] Passed 4 tests
A check of server-side resources used by Mean Menu Refueled
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.42 ▼0.04 | 22.01 ▼19.05 |
Dashboard /wp-admin | 3.35 ▲0.00 | 46.59 ▼21.65 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 54.30 ▲6.03 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 83.74 ▼19.00 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.63 ▼0.99 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Mean Menu Refueled
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,849 ▲103 | 13.26 ▼1.04 | 1.97 ▲0.19 | 38.83 ▼3.11 |
Dashboard /wp-admin | 2,221 ▲17 | 4.86 ▼0.02 | 114.41 ▲4.46 | 43.99 ▲7.48 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.05 ▲0.04 | 41.32 ▲5.42 | 37.04 ▲1.95 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 23.22 ▲0.25 | 676.84 ▲25.18 | 71.46 ▲19.75 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.26 ▲0.10 | 96.07 ▼7.45 | 43.81 ▲0.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function planetjon\\mean_menu_refueled\\add_action() in wp-content/plugins/mean-menu-refueled/plugin.php:41
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: responsive, mobile, navigation, menu
mean-menu-refueled/plugin.php 85% from 13 tests
The entry point to "Mean Menu Refueled" version 1.3.1 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("5.0" instead of "5.0.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("mean-menu-refueled.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected516 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 37 | 14 | 175 |
HTML | 1 | 3 | 0 | 118 |
CSS | 2 | 14 | 0 | 103 |
PHP | 1 | 14 | 13 | 74 |
Markdown | 1 | 13 | 0 | 46 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
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 | 1 | |
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 | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin