Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/wp-admin-view/includes/wpav.class.php+35
Trying to access array offset on value of type bool
Server metrics [RAM: ▲1.82MB] [CPU: ▼130.09ms] Passed 4 tests
An overview of server-side resources used by WP Admin View
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.66 ▲1.82 | 42.86 ▲9.41 |
Dashboard /wp-admin | 4.91 ▲1.86 | 56.55 ▲12.57 |
Posts /wp-admin/edit.php | 4.97 ▲1.87 | 52.25 ▲8.10 |
Add New Post /wp-admin/post-new.php | 7.18 ▲1.75 | 98.66 ▼546.42 |
Media Library /wp-admin/upload.php | 4.86 ▲1.86 | 42.14 ▲8.54 |
WP Admin View /wp-admin/admin.php?page=wpav-options | 4.97 | 45.16 |
Import Themes /wp-admin/admin.php?page=wpav_themes | 4.84 | 36.12 |
Import-Export Settings /wp-admin/admin.php?page=wpav_impexp_settings | 4.84 | 32.69 |
Manage Admin menu /wp-admin/admin.php?page=admin_menu_management | 4.84 | 36.03 |
Server storage [IO: ▲2.57MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 84 new files
Database: no new tables, 3 new options
New WordPress options |
---|
wpav_options |
wpav_adminbar_list |
wpav_widgets_list |
Browser metrics Passed 4 tests
Checking browser requirements for WP Admin View
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,931 ▲335 | 15.86 ▼0.04 | 8.20 ▼0.42 | 59.86 ▲11.55 |
Dashboard /wp-admin | 3,080 ▲149 | 5.89 ▼0.05 | 132.14 ▼12.54 | 125.46 ▲13.59 |
Posts /wp-admin/edit.php | 2,861 ▲122 | 2.69 ▲0.01 | 65.78 ▼3.38 | 75.51 ▼10.06 |
Add New Post /wp-admin/post-new.php | 1,523 ▲23 | 18.39 ▼0.19 | 365.63 ▲1.92 | 113.82 ▲8.87 |
Media Library /wp-admin/upload.php | 1,936 ▲129 | 5.01 ▲0.00 | 133.18 ▼29.02 | 127.90 ▲14.05 |
WP Admin View /wp-admin/admin.php?page=wpav-options | 16,809 | 17.61 | 637.32 | 111.02 |
Import Themes /wp-admin/admin.php?page=wpav_themes | 2,059 | 2.10 | 55.75 | 54.40 |
Import-Export Settings /wp-admin/admin.php?page=wpav_impexp_settings | 1,220 | 2.09 | 54.49 | 57.29 |
Manage Admin menu /wp-admin/admin.php?page=admin_menu_management | 7,652 | 2.95 | 89.39 | 65.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 3 options in the database
- wpav_options
- wpav_adminbar_list
- wpav_widgets_list
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- 14 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=admin_menu_management
- > Notice in wp-content/plugins/wp-admin-view/includes/wpavmenu.class.php+537
Undefined offset: 1
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
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-admin-view/assets/css/wpav.css.php:344
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-admin-view/includes/acmee-framework/acmee-framework.php:16
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/wp-admin-view/assets/css/wpav.login.css.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-admin-view/index.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: wp admin design, wp admin view, wp admin dashboard, wp admin, wp admin look...
wp-admin-view/index.php 92% from 13 tests
The primary PHP file in "WP Admin View" version 1.0.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-admin-view.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin15,920 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 588 | 331 | 5,416 |
CSS | 7 | 113 | 195 | 4,363 |
PO File | 5 | 939 | 1,004 | 2,064 |
JavaScript | 6 | 75 | 51 | 1,266 |
Sass | 13 | 19 | 22 | 1,158 |
LESS | 13 | 19 | 31 | 1,149 |
SVG | 1 | 0 | 0 | 504 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 78.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 216.00 |
Average method complexity | 5.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 117 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 117 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.61MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/wp-admin-view.png | 9.39KB | 4.26KB | ▼ 54.63% |
assets/images/wpav.png | 1.47KB | 1.16KB | ▼ 21.16% |
assets/images/login-sprite.png | 0.62KB | 0.65KB | 0.00% |
assets/screenshot-4.png | 68.16KB | 21.89KB | ▼ 67.88% |
assets/screenshot-5.png | 68.65KB | 22.21KB | ▼ 67.64% |