Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.18ms] Passed 4 tests
Server-side resources used by EM Dashboard
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 44.81 ▲1.69 |
Dashboard /wp-admin | 3.52 ▲0.22 | 57.85 ▲7.29 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 53.94 ▼3.91 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 89.45 ▼13.63 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 44.79 ▲7.13 |
EM Dashboard /wp-admin/options-general.php?page=em_dashboard_settings | 3.41 | 39.23 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
EM Dashboard: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲47 | 14.13 ▼0.22 | 2.16 ▲0.40 | 43.78 ▼1.63 |
Dashboard /wp-admin | 2,217 ▲40 | 5.56 ▼0.02 | 94.96 ▲2.66 | 43.26 ▲1.23 |
Posts /wp-admin/edit.php | 2,122 ▲22 | 1.99 ▲0.02 | 35.41 ▼3.69 | 34.70 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,552 ▲21 | 18.60 ▼4.66 | 621.42 ▼67.43 | 64.42 ▼0.13 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.24 ▲0.02 | 96.67 ▲1.77 | 43.48 ▼1.35 |
EM Dashboard /wp-admin/options-general.php?page=em_dashboard_settings | 1,032 | 2.00 | 23.43 | 36.30 |
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
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'EM_Dashboard_Styles' not found in wp-content/plugins/em-dashboard/inc/classes/options.class.php:10
- > PHP Fatal error
Uncaught Error: Class 'EM_Dashboard_Options' not found in wp-content/plugins/em-dashboard/inc/classes/optionspage.class.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/em-dashboard/define.php:20
- > PHP Fatal error
require_once(): Failed opening required 'EM_DASHBOARD_LOCALDIRdefine.php' (include_path='.:/usr/share/php') in wp-content/plugins/em-dashboard/load.class.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/em-dashboard/em-dashboard.php:30
- > PHP Warning
Use of undefined constant EM_DASHBOARD_LOCALDIR - assumed 'EM_DASHBOARD_LOCALDIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/em-dashboard/load.class.php on line 8
- > PHP Warning
require_once(EM_DASHBOARD_LOCALDIRdefine.php): failed to open stream: No such file or directory in wp-content/plugins/em-dashboard/load.class.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'EM_Dashboard_Init' not found in wp-content/plugins/em-dashboard/inc/classes/styles.class.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: admin, easy, multisite, dashboard, layout...
em-dashboard/em-dashboard.php Passed 13 tests
The main PHP script in "EM Dashboard" version 1.1.0 is automatically included on every request by WordPress
74 characters long description:
Redesigned wp-admin screen with easy mode activation to go back to basics.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,441 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 289 | 74 | 1,546 |
PHP | 7 | 240 | 597 | 872 |
JavaScript | 2 | 13 | 48 | 23 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.58 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 114.00 |
Average method complexity | 6.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 93.94% |
▷ Protected methods | 2 | 6.06% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin