Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲3.80MB] [CPU: ▲46.66ms] Passed 4 tests
Server-side resources used by Admin Tweaks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.21 ▲3.75 | 95.62 ▲53.34 |
Dashboard /wp-admin | 7.12 ▲3.81 | 104.30 ▲51.54 |
Posts /wp-admin/edit.php | 7.17 ▲3.82 | 99.59 ▲44.67 |
Add New Post /wp-admin/post-new.php | 9.77 ▲3.88 | 141.47 ▲37.09 |
Media Library /wp-admin/upload.php | 7.07 ▲3.84 | 92.91 ▲55.58 |
Admin Tweaks /wp-admin/options-general.php?page=admintweaks | 8.79 | 224.91 |
Redux /wp-admin/options-general.php?page=redux-framework | 7.05 | 88.47 |
Server storage [IO: ▲8.70MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 882 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
b5f_admin_tweaks-transients |
b5f_admin_tweaks-support |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
b5f_admin_tweaks |
Browser metrics Passed 4 tests
Checking browser requirements for Admin Tweaks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲48 | 14.25 ▼0.27 | 1.97 ▼0.02 | 43.79 ▼4.60 |
Dashboard /wp-admin | 2,200 ▲23 | 5.57 ▼0.01 | 108.23 ▲13.45 | 57.86 ▲17.38 |
Posts /wp-admin/edit.php | 2,113 ▲13 | 2.00 ▲0.00 | 35.36 ▼1.19 | 38.36 ▲2.49 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 22.18 ▼0.99 | 642.58 ▼29.66 | 52.61 ▼3.65 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.18 ▼0.02 | 109.33 ▲8.87 | 44.42 ▼0.68 |
Admin Tweaks /wp-admin/options-general.php?page=admintweaks | 5,362 | 5.85 | 150.59 | 109.43 |
Redux /wp-admin/options-general.php?page=redux-framework | 1,055 | 3.34 | 77.61 | 86.38 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- b5f_admin_tweaks-transients
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 45× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/many-tips-together/inc/redux-core/inc/fields/raw/field_raw.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/many-tips-together/inc/redux-core/core/required.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/many-tips-together/inc/redux-core/inc/fields/spinner/field_spinner.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/many-tips-together/inc/redux-core/inc/fields/slider/field_slider.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/many-tips-together/inc/redux-core/inc/fields/image_select/field_image_select.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/many-tips-together/inc/redux-core/inc/fields/gallery/field_gallery.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/many-tips-together/inc/redux-core/inc/fields/checkbox/field_checkbox.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/many-tips-together/inc/redux-core/inc/fields/password/field_password.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/many-tips-together/inc/redux-core/inc/fields/multi_text/field_multi_text.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _deprecated_file() in wp-content/plugins/many-tips-together/inc/redux-core/inc/fields/ace_editor/field_ace_editor.php:8
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: login, profile, pages, maintenance mode, admin interface...
many-tips-together/many-tips-together.php 85% from 13 tests
Analyzing the main PHP file in "Admin Tweaks" version 3.1
You should first fix the following items:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected81,080 lines of code in 584 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 230 | 7,313 | 13,055 | 30,449 |
JavaScript | 141 | 6,165 | 3,458 | 25,874 |
Sass | 95 | 1,906 | 84 | 12,862 |
CSS | 111 | 6,648 | 340 | 10,946 |
SVG | 6 | 0 | 0 | 946 |
Markdown | 1 | 1 | 0 | 3 |
PHP code 50% from 2 tests
A short review of cyclomatic complexity and code structure
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 110)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 34.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 341.00 |
Average method complexity | 5.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 110.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 161 | |
▷ Abstract classes | 4 | 2.48% |
▷ Concrete classes | 157 | 97.52% |
▷ Final classes | 0 | 0.00% |
Methods | 1,212 | |
▷ Static methods | 302 | 24.92% |
▷ Public methods | 958 | 79.04% |
▷ Protected methods | 138 | 11.39% |
▷ Private methods | 116 | 9.57% |
Functions | 21 | |
▷ Named functions | 12 | 57.14% |
▷ Anonymous functions | 9 | 42.86% |
Constants | 106 | |
▷ Global constants | 4 | 3.77% |
▷ Class constants | 102 | 96.23% |
▷ Public constants | 102 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
64 PNG files occupy 0.25MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/redux-core/assets/img/jquery-ui-bootstrap/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |
assets/images/appearance-hide-help-tab.png | 9.60KB | 4.10KB | ▼ 57.26% |
assets/images/general-email-verify.png | 8.58KB | 8.55KB | 0.39% |
assets/images/kub-cog.png | 13.96KB | 9.63KB | ▼ 31.04% |
inc/redux-core/assets/img/jquery-ui-bootstrap/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.08KB | 0.17KB | 0.00% |