Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.74MB] [CPU: ▼37.54ms] Passed 4 tests
An overview of server-side resources used by Zeus WordPress Admin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 45.43 ▲4.79 |
Dashboard /wp-admin | 3.22 ▼0.13 | 26.60 ▼36.15 |
Posts /wp-admin/edit.php | 3.21 ▼0.15 | 23.92 ▼24.05 |
Add New Post /wp-admin/post-new.php | 3.21 ▼2.68 | 26.22 ▼79.66 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 23.55 ▼10.28 |
Welcome To Welcome Screen /wp-admin/index.php?page=welcome-screen-about | 3.22 | 24.84 |
Hide Menu /wp-admin/options-general.php?page=hide-admin-menu | 3.22 | 25.91 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 148 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Zeus WordPress Admin: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,220 ▲474 | 14.44 ▲0.06 | 6.38 ▲4.63 | 43.15 ▲3.65 |
Dashboard /wp-admin | 2,500 ▲309 | 5.78 ▲0.88 | 119.88 ▲20.68 | 43.73 ▲4.10 |
Posts /wp-admin/edit.php | 2,398 ▲309 | 2.77 ▲0.75 | 52.16 ▲9.50 | 33.53 ▼0.92 |
Add New Post /wp-admin/post-new.php | 1,562 ▲43 | 18.81 ▼4.38 | 604.39 ▼16.47 | 60.06 ▲2.25 |
Media Library /wp-admin/upload.php | 1,683 ▲292 | 4.99 ▲0.81 | 118.24 ▲17.02 | 45.22 ▲3.13 |
Welcome To Welcome Screen /wp-admin/index.php?page=welcome-screen-about | 1,124 | 2.46 | 41.78 | 26.48 |
Hide Menu /wp-admin/options-general.php?page=hide-admin-menu | 2,230 | 2.61 | 42.55 | 36.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=hide-admin-menu
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Jarvis\\Models\\Model' not found in wp-content/plugins/zeus-admin-theme/inc/jarvis/src/php/models/term.php:5
- > PHP Fatal error
Uncaught Error: Class 'Jarvis\\Models\\Model' not found in wp-content/plugins/zeus-admin-theme/inc/jarvis/src/php/models/post.php:5
- > PHP Fatal error
Uncaught Error: Class 'Jarvis\\Models\\Model' not found in wp-content/plugins/zeus-admin-theme/inc/jarvis/src/php/models/comment.php:5
- > PHP Fatal error
Uncaught Error: Class 'Jarvis\\Suggestions\\Action' not found in wp-content/plugins/zeus-admin-theme/inc/jarvis/src/php/suggestions/flush-rewrite-rules.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zeus-admin-theme/zeus-admin-theme.php:19
- > PHP Fatal error
Uncaught Error: Class 'Jarvis\\Suggestions\\Action' not found in wp-content/plugins/zeus-admin-theme/inc/jarvis/src/php/suggestions/search.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zeus-admin-theme/inc/hide-wp-toolbar/hide-wp-toolbar.php:16
- > PHP Fatal error
Uncaught Error: Class 'Jarvis\\Models\\Model' not found in wp-content/plugins/zeus-admin-theme/inc/jarvis/src/php/models/menu.php:5
- > PHP Fatal error
Uncaught Error: Class 'Jarvis\\Models\\Model' not found in wp-content/plugins/zeus-admin-theme/inc/jarvis/src/php/models/user.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function Jarvis\\plugins_url() in wp-content/plugins/zeus-admin-theme/inc/jarvis/jarvis.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
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
Attributes that need to be fixed:
- Tags: Too many tags (30 tag instead of maximum 10); only the first 5 tags are used in your directory listing
zeus-admin-theme/zeus-admin-theme.php Passed 13 tests
The main PHP file in "Zeus WordPress Admin" ver. 2.1 adds more information about the plugin and also serves as the entry point for this plugin
86 characters long description:
A simple, clean admin theme with select features to improve your WordPress experience.
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 plugin22,758 lines of code in 124 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 59 | 2,261 | 534 | 12,104 |
JSON | 6 | 0 | 0 | 6,719 |
Markdown | 7 | 374 | 0 | 1,091 |
PHP | 20 | 331 | 472 | 1,051 |
CSS | 16 | 221 | 103 | 851 |
Sass | 13 | 71 | 2 | 525 |
HTML | 2 | 47 | 0 | 407 |
Bourne Again Shell | 1 | 1 | 1 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 4.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 2 | 7.14% |
▷ Public methods | 22 | 78.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 21.43% |
Functions | 28 | |
▷ Named functions | 26 | 92.86% |
▷ Anonymous functions | 2 | 7.14% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/hide-wp-toolbar/assets/banner-772x250.png | 38.97KB | 17.06KB | ▼ 56.22% |
inc/hide-wp-toolbar/assets/screenshot-2.png | 33.06KB | 14.13KB | ▼ 57.26% |
inc/hide-wp-toolbar/assets/screenshot-1.png | 39.12KB | 16.63KB | ▼ 57.48% |