Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.25MB] [CPU: ▼4.58ms] Passed 4 tests
A check of server-side resources used by All In Menu - Header menu creator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.73 ▲0.26 | 40.76 ▼1.85 |
Dashboard /wp-admin | 3.56 ▲0.25 | 48.74 ▼0.19 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 56.15 ▲10.40 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 82.74 ▼18.56 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 36.30 ▲2.30 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 17 new files
Database: 1 new table, 6 new options
New tables |
---|
md_metas |
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for All In Menu - Header menu creator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲144 | 13.61 ▼0.97 | 8.42 ▲6.38 | 43.27 ▼5.74 |
Dashboard /wp-admin | 2,218 ▲30 | 5.83 ▼0.07 | 107.91 ▲8.24 | 84.58 ▲43.16 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 1.99 ▼0.02 | 37.38 ▼0.47 | 34.64 ▲0.35 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 18.42 ▼4.76 | 698.98 ▲75.70 | 66.90 ▲14.22 |
Media Library /wp-admin/upload.php | 1,403 ▲12 | 4.23 ▲0.02 | 95.41 ▼2.23 | 77.68 ▲34.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- md_metas
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/all-in-menu/all-in-menu-settings.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 16 tag instead of maximum 10
- Donate link: Invalid URI ("")
all-in-menu/all-in-menu.php 92% from 13 tests
The entry point to "All In Menu - Header menu creator" version 1.1.5 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Everything looks great! No dangerous files found in this plugin4,219 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 74 | 114 | 1,890 |
PHP | 2 | 580 | 689 | 1,403 |
JavaScript | 4 | 103 | 298 | 926 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 73.50 |
▷ Minimum class complexity | 60.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 3 | 5.26% |
▷ Public methods | 28 | 49.12% |
▷ Protected methods | 13 | 22.81% |
▷ Private methods | 16 | 28.07% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
5 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plus.png | 0.93KB | 0.82KB | ▼ 11.34% |
images/arrow.png | 2.99KB | 0.31KB | ▼ 89.67% |
images/dragtab.png | 5.61KB | 3.62KB | ▼ 35.46% |
images/checked.png | 2.84KB | 1.70KB | ▼ 40.15% |
images/trash.png | 16.08KB | 5.34KB | ▼ 66.76% |