Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼6.55ms] Passed 4 tests
An overview of server-side resources used by Wider Admin Menu
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 38.06 ▼1.06 |
Dashboard /wp-admin | 3.35 ▲0.04 | 48.58 ▼1.76 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 43.21 ▼5.71 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 78.49 ▼17.67 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.02 ▼0.76 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
wpmwam_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Wider Admin Menu
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.63 ▲0.41 | 2.06 ▲0.48 | 45.03 ▲6.12 |
Dashboard /wp-admin | 2,204 ▲23 | 5.62 ▼0.04 | 87.38 ▼13.92 | 41.94 ▼1.66 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.02 ▲0.04 | 36.09 ▲0.35 | 33.68 ▲0.72 |
Add New Post /wp-admin/post-new.php | 1,536 ▼3 | 22.85 ▼0.25 | 691.30 ▲6.45 | 53.21 ▼2.64 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.15 ▼0.04 | 94.53 ▼7.14 | 41.09 ▼5.32 |
Wider Admin Menu /wp-admin/wider-admin-menu.php | 26 | 0.42 | 0.06 | 13.99 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 0% 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
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wider-admin-menu/includes/style33.php
- > /wp-content/plugins/wider-admin-menu/includes/style40.php
- > /wp-content/plugins/wider-admin-menu/includes/style35.php
- > /wp-content/plugins/wider-admin-menu/includes/style50.php
- > /wp-content/plugins/wider-admin-menu/includes/style38.php
- 54× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: w1px in wp-content/plugins/wider-admin-menu/includes/style33.php on line 22
- > PHP Notice
Undefined variable: wp_version in wp-content/plugins/wider-admin-menu/includes/style35.php on line 2
- > PHP Notice
Undefined variable: wpx in wp-content/plugins/wider-admin-menu/includes/style33.php on line 27
- > PHP Notice
Undefined variable: wpx in wp-content/plugins/wider-admin-menu/includes/style40.php on line 23
- > PHP Notice
Undefined variable: w1px in wp-content/plugins/wider-admin-menu/includes/style33.php on line 21
- > PHP Notice
Undefined variable: w1px in wp-content/plugins/wider-admin-menu/includes/style33.php on line 17
- > PHP Notice
Undefined variable: wpx in wp-content/plugins/wider-admin-menu/includes/style40.php on line 5
- > PHP Notice
Undefined variable: w1px in wp-content/plugins/wider-admin-menu/includes/style35.php on line 20
- > PHP Notice
Undefined variable: w1px in wp-content/plugins/wider-admin-menu/includes/style33.php on line 24
- > PHP Notice
Undefined variable: wpx in wp-content/plugins/wider-admin-menu/includes/style50.php on line 43
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please fix the following user-side errors
- > GET request to /wp-admin/wider-admin-menu.php
- > Network (severe)
wp-admin/wider-admin-menu.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
1 plugin tags: admin menu
wider-admin-menu/wider-admin-menu.php Passed 13 tests
"Wider Admin Menu" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
28 characters long description:
Let your admin menu breathe.
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
No dangerous file extensions were detected773 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 67 | 153 | 421 |
CSS | 9 | 51 | 45 | 244 |
JavaScript | 2 | 29 | 10 | 108 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 18.00 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 1 | 8.33% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/lnt.png | 0.50KB | 0.52KB | 0.00% |