Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼2.31ms] Passed 4 tests
Server-side resources used by Zephyr Admin Theme
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 44.32 ▲1.84 |
Dashboard /wp-admin | 3.43 ▲0.09 | 55.19 ▼19.04 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 55.54 ▲10.27 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 93.06 ▼0.12 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 45.15 ▲8.09 |
Zephyr Admin Theme /wp-admin/themes.php?page=zephyr_admin_theme_settings | 3.51 | 37.72 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Zephyr Admin Theme
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲182 | 15.05 ▲0.70 | 1.85 ▼0.15 | 57.38 ▲15.64 |
Dashboard /wp-admin | 2,331 ▲151 | 6.44 ▲0.77 | 119.07 ▲17.23 | 40.90 ▼1.41 |
Posts /wp-admin/edit.php | 2,267 ▲167 | 3.60 ▲1.66 | 58.59 ▲21.07 | 37.54 ▲2.54 |
Add New Post /wp-admin/post-new.php | 1,554 ▲26 | 23.41 ▲0.12 | 665.40 ▲19.74 | 39.48 ▼13.97 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.23 ▲0.04 | 84.71 ▼19.07 | 45.70 ▲0.16 |
Zephyr Admin Theme /wp-admin/themes.php?page=zephyr_admin_theme_settings | 2,087 | 4.75 | 87.98 | 24.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Looking good! No server-side errors or output on direct access of PHP files
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 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5, #6, #7 in zephyr-modern-admin-theme/assets to your readme.txt
zephyr-modern-admin-theme/zephyr-admin-theme.php 77% from 13 tests
This is the main PHP file of "Zephyr Admin Theme" version 1.4.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zephyr-modern-admin-theme.php" instead of "zephyr-admin-theme.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,086 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 274 | 8 | 1,327 |
PHP | 3 | 110 | 36 | 649 |
JavaScript | 1 | 23 | 11 | 110 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin