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: ▲0.08MB] [CPU: ▲1.26ms] Passed 4 tests
Server-side resources used by Disable Admin Dashboard Notices - Get distraction free WordPress Dashboard to enhance your productivity.
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.54 ▼0.23 |
Dashboard /wp-admin | 3.38 ▲0.08 | 47.05 ▲5.05 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 47.98 ▼1.21 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 91.05 ▲5.10 |
Media Library /wp-admin/upload.php | 3.30 ▲0.08 | 34.21 ▲1.42 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Disable Admin Dashboard Notices - Get distraction free WordPress Dashboard to enhance your productivity.
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲41 | 13.45 ▼0.96 | 1.64 ▼0.16 | 36.08 ▼5.13 |
Dashboard /wp-admin | 2,231 ▲56 | 4.87 ▼0.80 | 105.41 ▲6.06 | 41.98 ▼2.25 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.26 ▲0.26 | 53.08 ▲19.44 | 35.62 ▲2.13 |
Add New Post /wp-admin/post-new.php | 1,546 ▲20 | 23.25 ▼0.08 | 657.82 ▼8.73 | 56.99 ▲5.11 |
Media Library /wp-admin/upload.php | 1,500 ▲100 | 4.39 ▲0.24 | 101.40 ▲1.08 | 42.73 ▼1.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Trait 'WPFraternity\\Disable_Admin_Dashboard\\Traits\\Singleton' not found in wp-content/plugins/disable-admin-dashboard-notices/inc/Assets.php on line 15
- > PHP Fatal error
Trait 'WPFraternity\\Disable_Admin_Dashboard\\Traits\\Singleton' not found in wp-content/plugins/disable-admin-dashboard-notices/inc/Plugin.php on line 15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Screenshots: Please describe screenshot #1 in disable-admin-dashboard-notices/assets to your readme.txt
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
disable-admin-dashboard-notices/disable-admin-dashboard-notices.php 92% from 13 tests
The main file in "Disable Admin Dashboard Notices - Get distraction free WordPress Dashboard to enhance your productivity." v. 0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 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 detected707 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 121 | 336 | 466 |
CSS | 2 | 7 | 20 | 163 |
JavaScript | 2 | 6 | 9 | 59 |
JSON | 1 | 0 | 0 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 37 | |
▷ Static methods | 5 | 13.51% |
▷ Public methods | 31 | 83.78% |
▷ Protected methods | 4 | 10.81% |
▷ Private methods | 2 | 5.41% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin