Benchmarks
Plugin footprint 47% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲12.68MB] [CPU: ▲136.40ms] 50% from 4 tests
An overview of server-side resources used by WP Adminify - WordPress Dashboard Customization | Custom Login | Admin Columns | Dashboard Widget | Media Library Folders
The following require your attention
- RAM: Total memory usage must be kept under 10MB (currently 15.94MB on /wp-admin/index.php?page=wp-adminify-setup-wizard)
- Extra RAM: Extra memory usage must be kept under 5MB (currently 12.68MB on /wp-admin/index.php?page=wp-adminify-setup-wizard)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 15.51 ▲12.05 | 153.66 ▲110.54 |
Dashboard /wp-admin | 16.48 ▲13.18 | 204.83 ▲158.33 |
Posts /wp-admin/edit.php | 16.25 ▲12.90 | 205.82 ▲155.19 |
Add New Post /wp-admin/post-new.php | 18.75 ▲12.86 | 232.58 ▲138.68 |
Media Library /wp-admin/upload.php | 16.14 ▲12.91 | 172.87 ▲141.20 |
Notices /wp-admin/index.php?page=wp-adminify-notices | 16.04 | 184.98 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 16.26 | 179.48 |
/wp-admin/index.php?page=wp-adminify-setup-wizard | 15.94 | 151.28 |
Server storage [IO: ▲14.64MB] [DB: ▲0.02MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 790 new files
Database: 2 new tables, 28 new options
New tables |
---|
wp_adminify_activity_logs |
wp_adminify_page_speed |
New WordPress options |
---|
fs_debug_mode |
fs_active_plugins |
jltwp_adminify_notice_latest_updates |
jltwp_adminify_login |
wp_adminify_page_speed_db_version |
adminify_activity_logs_version |
fs_accounts |
jltwp_adminify_notice_ask_for_rating |
dashboard_widgets |
jltwp_adminify_notice_subscribe |
... |
Browser metrics Passed 4 tests
WP Adminify - WordPress Dashboard Customization | Custom Login | Admin Columns | Dashboard Widget | Media Library Folders: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,722 ▲1,960 | 14.04 ▼0.11 | 2.85 ▲1.03 | 48.01 ▲4.73 |
Dashboard /wp-admin | 3,997 ▲1,820 | 5.68 ▲0.04 | 153.54 ▲54.85 | 137.49 ▲95.49 |
Posts /wp-admin/edit.php | 3,378 ▲1,275 | 3.46 ▲1.50 | 93.63 ▲52.70 | 122.63 ▲83.10 |
Add New Post /wp-admin/post-new.php | 2,051 ▲525 | 18.61 ▼4.49 | 751.99 ▲113.49 | 39.69 ▼17.51 |
Media Library /wp-admin/upload.php | 2,626 ▲1,223 | 5.71 ▲1.60 | 148.41 ▲48.90 | 110.67 ▲69.63 |
Notices /wp-admin/index.php?page=wp-adminify-notices | 1,800 | 2.60 | 60.91 | 56.42 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 2,000 | 2.72 | 63.57 | 52.07 |
/wp-admin/index.php?page=wp-adminify-setup-wizard | 718 | 4.26 | 98.04 | 11.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/adminify/Libs/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- The uninstall procedure failed, leaving 2 tables in the database
- wp_adminify_page_speed
- wp_adminify_activity_logs
- This plugin did not uninstall successfully, leaving 27 options in the database
- jltwp_adminify_setup_wizard_ran
- adminify_activity_logs_version
- db_upgraded
- dashboard_widgets
- jltwp_adminify_notice_what_we_collect
- fs_debug_mode
- wp_adminify_version
- widget_theysaidso_widget
- widget_recent-posts
- fs_accounts
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 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
Please fix the following items
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/adminify/Inc/Modules/LoginCustomizer/Inc/login-custom-styles.php
- > /wp-content/plugins/adminify/Inc/Modules/LoginCustomizer/Inc/templates/template-03.php
- > /wp-content/plugins/adminify/Inc/Modules/LoginCustomizer/Inc/footer-slideshow.php
- > /wp-content/plugins/adminify/Inc/Modules/LoginCustomizer/Inc/login-styles.php
- > /wp-content/plugins/adminify/Inc/Modules/LoginCustomizer/Inc/footer-video.php
- > /wp-content/plugins/adminify/Inc/Modules/LoginCustomizer/Inc/templates/template-02.php
- > /wp-content/plugins/adminify/Inc/Modules/LoginCustomizer/Inc/templates/template-01.php
- 29× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function is_customize_preview() in wp-content/plugins/adminify/Inc/Modules/LoginCustomizer/Inc/wp-adminify-login-template.php:11
- > PHP Fatal error
Uncaught Error: Class 'WPAdminify\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/adminify/Inc/Classes/Notifications/Latest_Updates.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/adminify/Inc/Classes/Upgrades/upgrade-3.0.2.php:8
- > PHP Fatal error
Uncaught Error: Class 'WPAdminify\\Inc\\Base_Model' not found in wp-content/plugins/adminify/Inc/Modules/NotificationBar/Inc/NotificationBarModel.php:14
- > PHP Fatal error
Uncaught Error: Class 'WPAdminify\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/adminify/Inc/Classes/Notifications/Subscribe.php:13
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/adminify/Inc/Modules/LoginCustomizer/Inc/google-font.php:4
- > PHP Fatal error
Uncaught Error: Class 'WPAdminify\\Inc\\Base_Model' not found in wp-content/plugins/adminify/Inc/Modules/SidebarGenerator/Sidebar_Generator_Model.php:7
- > PHP Fatal error
Uncaught Error: Class 'WPAdminify\\Inc\\Classes\otifications\\Model\\Popup' not found in wp-content/plugins/adminify/Inc/Classes/Notifications/Upgrade_Notice.php:14
- > PHP Fatal error
Uncaught Error: Class 'WPAdminify\\Inc\\Classes\otifications\\Model\otice' not found in wp-content/plugins/adminify/Inc/Classes/Notifications/Ask_For_Rating.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/adminify/Inc/Modules/LoginCustomizer/Inc/login-preset-styles.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% 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 require attention:
- Screenshots: Add an image for screenshot #9 (Disable Comments for WordPress)
adminify/adminify.php 92% from 13 tests
The main file in "WP Adminify - WordPress Dashboard Customization | Custom Login | Admin Columns | Dashboard Widget | Media Library Folders" v. 3.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 297 characters long)
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin181,889 lines of code in 631 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 385 | 15,305 | 23,504 | 75,014 |
CSS | 130 | 2,305 | 1,193 | 49,808 |
JavaScript | 43 | 6,952 | 6,685 | 42,908 |
PO File | 20 | 3,198 | 3,591 | 6,500 |
Sass | 16 | 969 | 3 | 5,667 |
SVG | 37 | 1 | 2 | 1,992 |
PHP code 0% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,096)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 174)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 31.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 174.00 |
Code structure | ||
---|---|---|
Namespaces | 39 | |
Interfaces | 1 | |
Traits | 2 | |
Classes | 285 | |
▷ Abstract classes | 19 | 6.67% |
▷ Concrete classes | 266 | 93.33% |
▷ Final classes | 0 | 0.00% |
Methods | 2,757 | |
▷ Static methods | 354 | 12.84% |
▷ Public methods | 2,322 | 84.22% |
▷ Protected methods | 41 | 1.49% |
▷ Private methods | 394 | 14.29% |
Functions | 190 | |
▷ Named functions | 173 | 91.05% |
▷ Anonymous functions | 17 | 8.95% |
Constants | 161 | |
▷ Global constants | 113 | 70.19% |
▷ Class constants | 48 | 29.81% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
69 compressed PNG files occupy 0.92MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/vendors/vegas/overlays/09.png | 0.12KB | 0.12KB | 0.00% |
Inc/Modules/LoginCustomizer/assets/images/layouts/column-bottom.png | 0.50KB | 0.54KB | 0.00% |
Inc/Modules/LoginCustomizer/assets/images/templates/template-06.png | 10.86KB | 5.19KB | ▼ 52.18% |
Inc/Modules/LoginCustomizer/assets/images/layouts/form-center-center.png | 1.05KB | 1.09KB | 0.00% |
assets/vendors/vegas/overlays/08.png | 0.10KB | 0.11KB | 0.00% |