Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.63MB] [CPU: ▲14.18ms] Passed 4 tests
An overview of server-side resources used by Disable Admin Notices individually
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.49 ▲1.03 | 45.13 ▲3.86 |
Dashboard /wp-admin | 5.17 ▲1.87 | 63.01 ▲11.44 |
Posts /wp-admin/edit.php | 5.22 ▲1.87 | 68.33 ▲22.78 |
Add New Post /wp-admin/post-new.php | 7.71 ▲1.82 | 111.34 ▲22.59 |
Media Library /wp-admin/upload.php | 5.03 ▲1.80 | 50.31 ▲18.84 |
Hide admin notices /wp-admin/options-general.php?page=wdan_settings-wbcr_dan | 5.85 | 344.61 |
Server storage [IO: ▲1.58MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 289 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
wbcr_dan_plugin_activated |
can_compress_scripts |
wbcr_dan_plugin_version |
widget_theysaidso_widget |
wbcr_dan_adminbar_items |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Disable Admin Notices individually
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲189 | 14.68 ▲0.31 | 1.57 ▼0.13 | 41.98 ▼1.37 |
Dashboard /wp-admin | 2,341 ▲163 | 5.77 ▲0.07 | 97.07 ▼6.74 | 45.80 ▲0.93 |
Posts /wp-admin/edit.php | 2,249 ▲149 | 2.36 ▲0.40 | 39.80 ▲0.57 | 37.33 ▲5.03 |
Add New Post /wp-admin/post-new.php | 1,624 ▲98 | 23.23 ▲0.10 | 687.24 ▲90.53 | 36.24 ▼15.56 |
Media Library /wp-admin/upload.php | 1,535 ▲135 | 4.24 ▲0.02 | 98.05 ▼8.06 | 42.68 ▼1.68 |
Hide admin notices /wp-admin/options-general.php?page=wdan_settings-wbcr_dan | 1,440 | 2.39 | 44.92 | 42.19 |
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
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 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 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 fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WBCR\\Factory_Templates_126\\Pages\\Step' not found in wp-content/plugins/disable-admin-notices/libs/factory/templates/pages/setup-parts/class-step-form.php:11
- > PHP Fatal error
Uncaught Error: Class 'WBCR\\Factory_Templates_126\\Pages\\Step' not found in wp-content/plugins/disable-admin-notices/libs/factory/templates/pages/setup-parts/class-step-custom.php:11
- > PHP Fatal error
Uncaught Error: Class 'Wbcr_Factory473_Update' not found in wp-content/plugins/disable-admin-notices/migrations/010007.php:7
- > PHP Fatal error
Uncaught Error: Class 'Wbcr_FactoryForms469_FontControl' not found in wp-content/plugins/disable-admin-notices/libs/factory/forms/controls/google-font.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: upgrade, notifications, nag, disable, notification...
disable-admin-notices/disable-admin-notices.php Passed 13 tests
The principal PHP file in "Disable Admin Notices individually" v. 1.3.4 is loaded by WordPress automatically on each request
113 characters long description:
Disable admin notices plugin gives you the option to hide updates warnings and inline notices in the admin panel.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected22,042 lines of code in 217 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 145 | 3,941 | 9,308 | 13,114 |
CSS | 30 | 180 | 263 | 3,008 |
LESS | 9 | 470 | 96 | 2,277 |
JSON | 1 | 0 | 0 | 1,810 |
PO File | 11 | 275 | 348 | 1,041 |
JavaScript | 18 | 215 | 211 | 742 |
SVG | 2 | 2 | 0 | 48 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 15.15 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 89.00 |
Average method complexity | 3.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 15 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 120 | |
▷ Abstract classes | 17 | 14.17% |
▷ Concrete classes | 103 | 85.83% |
▷ Final classes | 2 | 1.94% |
Methods | 861 | |
▷ Static methods | 57 | 6.62% |
▷ Public methods | 669 | 77.70% |
▷ Protected methods | 142 | 16.49% |
▷ Private methods | 50 | 5.81% |
Functions | 45 | |
▷ Named functions | 23 | 51.11% |
▷ Anonymous functions | 22 | 48.89% |
Constants | 76 | |
▷ Global constants | 62 | 81.58% |
▷ Class constants | 14 | 18.42% |
▷ Public constants | 14 | 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
6 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
libs/factory/templates/pages/templates/impressive/assets/img/5-stars22.png | 3.51KB | 0.70KB | ▼ 79.99% |
libs/factory/templates/pages/templates/impressive-lite/assets/img/paypal-donate.png | 12.44KB | 4.99KB | ▼ 59.88% |
libs/factory/templates/pages/templates/impressive/assets/img/webcraftic-plugin-icon.png | 1.97KB | 0.75KB | ▼ 61.79% |
libs/factory/templates/pages/templates/impressive/assets/img/paypal-donate.png | 12.44KB | 4.99KB | ▼ 59.88% |
libs/factory/templates/pages/templates/impressive-lite/assets/img/webcraftic-plugin-icon.png | 1.97KB | 0.75KB | ▼ 61.79% |