Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > 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: ▼2.36MB] [CPU: ▼352.80ms] Passed 4 tests
Server-side resources used by Adminpress - WordPress Admin Theme
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.01 ▼1.51 | 7.88 ▼39.51 |
Dashboard /wp-admin | 2.03 ▼1.38 | 7.29 ▼27.44 |
Posts /wp-admin/edit.php | 2.03 ▼1.62 | 6.34 ▼31.57 |
Add New Post /wp-admin/post-new.php | 2.03 ▼4.95 | 5.62 ▼1,312.66 |
Media Library /wp-admin/upload.php | 2.03 ▼1.27 | 5.23 ▼21.25 |
Server storage [IO: ▲0.86MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 35 new files
Database: 3 new tables, 1 new option
New tables |
---|
wp_admin_bar_table |
wp_text_table |
wp_widgets_table |
New WordPress options |
---|
jal_db_version |
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 / | 4,324 ▲580 | 18.90 ▲3.14 | 6.07 ▲0.02 | 2.72 ▲0.65 |
Dashboard /wp-admin | 3,304 ▲443 | 8.17 ▲1.96 | 141.93 ▲4.87 | 157.66 ▲0.94 |
Posts /wp-admin/edit.php | 3,132 ▲441 | 4.85 ▲1.62 | 94.42 ▲34.16 | 203.76 ▲63.88 |
Add New Post /wp-admin/post-new.php | 1,829 ▲56 | 21.27 ▼0.52 | 419.92 ▼44.92 | 193.12 ▲26.75 |
Media Library /wp-admin/upload.php | 1,908 ▲210 | 5.71 ▲0.16 | 123.36 ▼13.75 | 201.34 ▼40.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- 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)`
- The uninstall procedure failed, leaving 3 tables in the database
- wp_admin_bar_table
- wp_widgets_table
- wp_text_table
- This plugin did not uninstall successfully, leaving 1 option in the database
- jal_db_version
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.styles.php:9
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.menu.style.php:5
- > PHP Fatal error
Uncaught Error: Class 'AdminPress' not found in wp-content/plugins/adminpress/modules/class.login.php:5
- > 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.footer.text.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.admin.bar.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.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
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
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 your attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== adminpress ===
)
adminpress/adminpress.php Passed 13 tests
"Adminpress - WordPress Admin Theme" version 1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
34 characters long description:
The best admin theme for wordpress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected3,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 is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
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
There are no PNG files in this plugin