Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.54MB] [CPU: ▲1.16ms] Passed 4 tests
This is a short check of server-side resources used by Admin Speedo
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.60 | 36.69 ▼1.11 |
Dashboard /wp-admin | 3.90 ▲0.60 | 53.30 ▲5.36 |
Posts /wp-admin/edit.php | 3.95 ▲0.60 | 48.03 ▼0.17 |
Add New Post /wp-admin/post-new.php | 6.42 ▲0.53 | 90.63 ▲4.28 |
Media Library /wp-admin/upload.php | 3.68 ▲0.45 | 36.21 ▲1.62 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 4.03 | 45.35 |
Server storage [IO: ▲3.33MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 185 new files
Database: no new tables, 38 new options
New WordPress options |
---|
adminsp_remove_woo_widgets |
adminsp_remove_marketplace_sugg_woo |
adminsp_remove_admin_footer_text |
adminsp_remove_querystrings |
can_compress_scripts |
adminsp_remove_shortlink |
db_upgraded |
adminsp_disable_xmlrpc |
adminsp_sched_transients_clear |
adminsp_disable_setup_dash_woo |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Admin Speedo
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲100 | 13.24 ▼1.37 | 1.73 ▼0.13 | 33.49 ▼11.17 |
Dashboard /wp-admin | 2,246 ▲58 | 5.83 ▲0.01 | 103.20 ▲0.63 | 41.55 ▼0.03 |
Posts /wp-admin/edit.php | 2,135 ▲46 | 2.00 ▼0.01 | 35.91 ▼0.03 | 36.82 ▲1.42 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 23.41 ▲0.30 | 643.64 ▼20.05 | 55.21 ▼8.72 |
Media Library /wp-admin/upload.php | 1,428 ▲46 | 4.21 ▼0.00 | 97.93 ▼1.20 | 45.31 ▲4.84 |
Freemius Debug [v.2.5.3] /wp-admin/admin.php?page=freemius | 1,093 | 1.84 | 24.20 | 30.43 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 10 options
- fs_accounts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- fs_debug_mode
- widget_theysaidso_widget
- fs_active_plugins
- fs_gdpr
- db_upgraded
- can_compress_scripts
Smoke tests Passed 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 no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 17 tag instead of maximum 10
admin-speedo/adminspeedo.php 85% from 13 tests
Analyzing the main PHP file in "Admin Speedo" version 2.4.1
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("admin-speedo.php" instead of "adminspeedo.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected34,208 lines of code in 140 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 123 | 8,091 | 17,173 | 33,787 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 3 | 34 | 59 | 194 |
CSS | 13 | 0 | 0 | 13 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,089)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 93.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,089.00 |
Average method complexity | 4.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 48 | |
▷ Abstract classes | 2 | 4.17% |
▷ Concrete classes | 46 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 1,253 | |
▷ Static methods | 192 | 15.32% |
▷ Public methods | 871 | 69.51% |
▷ Protected methods | 17 | 1.36% |
▷ Private methods | 365 | 29.13% |
Functions | 116 | |
▷ Named functions | 116 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 145 | |
▷ Global constants | 98 | 67.59% |
▷ Class constants | 47 | 32.41% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/vendor/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
inc/vendor/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |