Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.42ms] Passed 4 tests
A check of server-side resources used by The Admin Theme Experience
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.27 ▼4.54 |
Dashboard /wp-admin | 3.31 ▲0.01 | 52.42 ▼0.05 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.36 ▼3.13 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.85 ▼9.94 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.23 ▲3.94 |
Your Admin Theme /wp-admin/users.php?page=adminthemes | 3.25 | 31.58 |
Server storage [IO: ▲1.00MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 46 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by The Admin Theme Experience
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.35 ▲0.00 | 2.14 ▲0.21 | 44.74 ▲0.63 |
Dashboard /wp-admin | 2,201 ▲24 | 5.53 ▼0.03 | 90.14 ▼12.03 | 45.00 ▲0.84 |
Posts /wp-admin/edit.php | 2,106 ▲9 | 1.99 ▲0.01 | 36.07 ▼0.37 | 36.34 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.14 ▲0.09 | 684.04 ▼1.44 | 56.19 ▲6.03 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.24 ▲0.01 | 108.76 ▲9.17 | 48.26 ▲5.09 |
Your Admin Theme /wp-admin/users.php?page=adminthemes | 1,059 | 1.99 | 24.40 | 44.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 9 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=adminthemes
- > Notice in wp-content/plugins/the-admin-theme-experience/adminthemes.php+54
Undefined variable: activeTheme
- 9 occurences, only the last one shown
- > GET request to /wp-admin/users.php?page=adminthemes
- > Notice in wp-content/plugins/the-admin-theme-experience/adminthemes.php+54
Trying to access array offset on value of type null
- > GET request to /wp-admin/users.php?page=adminthemes
- > Notice in wp-content/plugins/the-admin-theme-experience/adminthemes.php+102
Undefined index: author
- > GET request to /wp-admin/users.php?page=adminthemes
- > Notice in wp-content/plugins/the-admin-theme-experience/adminthemes.php+105
Undefined index: name
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× 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/the-admin-theme-experience/the-admin-theme-experience.php:85
- > PHP Fatal error
Uncaught Error: Call to undefined function get_user_option() in wp-content/plugins/the-admin-theme-experience/adminthemes.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/users.php?page=adminthemes
- > Network (severe)
wp-content/plugins/the-admin-theme-experience/themes/style.css?ver=6.3.1 - 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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: admin color scheme theme
the-admin-theme-experience/the-admin-theme-experience.php Passed 13 tests
"The Admin Theme Experience" version 0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
42 characters long description:
POC for proper theme's for the admin area.
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
Everything looks great! No dangerous files found in this plugin5,118 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 25 | 1,454 | 706 | 4,526 |
Sass | 7 | 144 | 5 | 475 |
PHP | 2 | 38 | 66 | 117 |
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.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.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 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
10 PNG files occupy 0.58MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
themes/ocean/screenshot.png | 56.11KB | 33.72KB | ▼ 39.90% |
themes/blue/screenshot.png | 56.16KB | 33.74KB | ▼ 39.92% |
themes/coffee/screenshot.png | 56.24KB | 33.47KB | ▼ 40.48% |
themes/ectoplasm/screenshot.png | 56.27KB | 33.78KB | ▼ 39.97% |
themes/sunrise/screenshot.png | 56.17KB | 33.63KB | ▼ 40.13% |