Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.91ms] Passed 4 tests
This is a short check of server-side resources used by Dashboard Notes
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.38 ▼6.14 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.01 ▼5.32 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 46.99 ▼0.82 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 93.49 ▲4.11 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 35.36 ▲0.64 |
Dashboard Notes /wp-admin/options-general.php?page=dashboard-notes | 3.19 | 30.03 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Dashboard Notes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.19 ▼1.56 | 1.64 ▼0.10 | 39.50 ▼6.13 |
Dashboard /wp-admin | 2,212 ▲24 | 5.85 ▲0.97 | 112.46 ▼1.58 | 42.17 ▼3.20 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.04 ▲0.02 | 38.82 ▲0.51 | 35.15 ▲1.50 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.17 ▼0.05 | 613.49 ▼68.63 | 56.52 ▼10.93 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.28 ▼0.02 | 95.47 ▼3.41 | 41.94 ▼0.89 |
Dashboard Notes /wp-admin/options-general.php?page=dashboard-notes | 813 | 2.06 | 24.71 | 24.62 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=dashboard-notes
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=dashboard-notes
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/dashboard-notes/dashboard-notes.php:41
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: notifications, backend, client, admin, instructions...
dashboard-notes/dashboard-notes.php Passed 13 tests
Analyzing the main PHP file in "Dashboard Notes" version 1.0.3
52 characters long description:
Create dashboard notes/instructions for your client.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin459 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 141 | 162 | 402 |
CSS | 1 | 14 | 9 | 57 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 91.00 |
▷ Minimum class complexity | 91.00 |
▷ Maximum class complexity | 91.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.27MB with 0.18MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
banner-1544x500.png | 77.32KB | 25.61KB | ▼ 66.88% |
screenshot-2.png | 63.31KB | 22.36KB | ▼ 64.68% |
screenshot-1.png | 24.55KB | 9.65KB | ▼ 60.71% |
banner-772x250.png | 68.48KB | 19.26KB | ▼ 71.88% |
screenshot-3.png | 40.66KB | 14.78KB | ▼ 63.65% |