Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▲0.05ms] Passed 4 tests
A check of server-side resources used by Glassmorphic Admin UI
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 50.57 ▲10.23 |
Dashboard /wp-admin | 3.34 ▲0.04 | 54.06 ▼0.09 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.83 ▼3.03 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 103.78 ▲0.22 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.58 ▲3.11 |
Glassmorphic Admin /wp-admin/options-general.php?page=gaui-settings | 3.26 | 41.35 |
Server storage [IO: ▲0.98MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Glassmorphic Admin UI
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲98 | 13.47 ▼0.92 | 1.84 ▼0.16 | 46.79 ▲5.89 |
Dashboard /wp-admin | 2,258 ▲55 | 5.09 ▲0.22 | 119.34 ▲13.23 | 45.03 ▼0.68 |
Posts /wp-admin/edit.php | 2,149 ▲49 | 2.32 ▲0.29 | 38.71 ▼0.49 | 31.42 ▼4.78 |
Add New Post /wp-admin/post-new.php | 1,709 ▲178 | 22.81 ▼0.44 | 633.21 ▼6.38 | 29.61 ▼21.08 |
Media Library /wp-admin/upload.php | 1,426 ▲23 | 4.33 ▼0.06 | 104.06 ▲1.77 | 43.72 ▼0.49 |
Glassmorphic Admin /wp-admin/options-general.php?page=gaui-settings | 1,611 | 4.11 | 85.34 | 29.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
3 plugin tags: admin ui, admin theme, admin skin
glassmorphic-admin-ui/glassmorphicAdminUI.php 92% from 13 tests
This is the main PHP file of "Glassmorphic Admin UI" version 1.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("glassmorphic-admin-ui.php" instead of "glassmorphicAdminUI.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,262 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 198 | 4 | 895 |
PHP | 2 | 53 | 13 | 278 |
JavaScript | 4 | 9 | 0 | 51 |
PO File | 1 | 12 | 0 | 38 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
3 PNG files occupy 0.92MB with 0.55MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-2.png | 310.53KB | 154.62KB | ▼ 50.21% |
assets/screenshot-3.png | 111.00KB | 36.49KB | ▼ 67.12% |
assets/screenshot-1.png | 517.26KB | 193.72KB | ▼ 62.55% |