Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/adminpress/modules/class.footer.text.php+54
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
Server metrics [RAM: ▼1.86MB] [CPU: ▼47.93ms] Passed 4 tests
A check of server-side resources used by Adminpress - WordPress Admin Theme
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.34 | 10.18 ▼29.42 |
Dashboard /wp-admin | 2.14 ▼1.16 | 10.79 ▼37.80 |
Posts /wp-admin/edit.php | 2.14 ▼1.21 | 9.61 ▼41.73 |
Add New Post /wp-admin/post-new.php | 2.14 ▼3.74 | 10.91 ▼82.78 |
Media Library /wp-admin/upload.php | 2.14 ▼1.08 | 12.53 ▼21.44 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 35 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_admin_bar_table |
wp_text_table |
wp_widgets_table |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
jal_db_version |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Adminpress - WordPress Admin Theme: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,201 ▲455 | 15.70 ▲1.28 | 1.76 ▲0.06 | 43.30 ▼1.51 |
Dashboard /wp-admin | 2,509 ▲321 | 6.65 ▲0.58 | 124.66 ▲14.57 | 43.52 ▼1.83 |
Posts /wp-admin/edit.php | 2,418 ▲326 | 3.75 ▲1.75 | 65.40 ▲23.82 | 51.09 ▲12.93 |
Add New Post /wp-admin/post-new.php | 1,653 ▲139 | 20.35 ▲2.79 | 658.95 ▼31.00 | 41.70 ▼30.44 |
Media Library /wp-admin/upload.php | 1,557 ▲169 | 4.38 ▲0.18 | 108.32 ▲11.68 | 55.18 ▲11.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/adminpress/modules/class.footer.text.php+54
Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)`
- This plugin does not fully uninstall, leaving 3 tables in the database
- wp_widgets_table
- wp_text_table
- wp_admin_bar_table
- This plugin did not uninstall successfully, leaving 7 options in the database
- jal_db_version
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means 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
Please fix the following
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.dashboard.widget.php:5
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.text.change.php:7
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.custom.css.php:7
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.ajax.search.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/adminpress/includes/login-internal.php:2
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.custom.admin.bar.php:5
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.footer.text.php:5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/adminpress/includes/admin-internal.php:2
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.menu.management.php:5
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.menu.style.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== adminpress ===
)
adminpress/adminpress.php Passed 13 tests
The main PHP file in "Adminpress - WordPress Admin Theme" ver. 1.3 adds more information about the plugin and also serves as the entry point for this plugin
34 characters long description:
The best admin theme for wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin3,070 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 262 | 109 | 1,657 |
SVG | 2 | 0 | 0 | 749 |
CSS | 3 | 67 | 3 | 309 |
PO File | 1 | 106 | 111 | 238 |
JavaScript | 2 | 20 | 0 | 117 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.78 |
Average class complexity | 18.73 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 4.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 65 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 65 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected