Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.03ms] Passed 4 tests
Server-side resources used by WP Dashboard Notes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.94 ▼6.08 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.25 ▼0.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.74 ▼5.65 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.69 ▼27.90 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.84 ▲2.21 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Dashboard Notes
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲13 | 14.30 ▼0.38 | 1.77 ▼0.20 | 42.57 ▼0.45 |
Dashboard /wp-admin | 2,205 ▲28 | 5.75 ▲0.05 | 84.44 ▼5.61 | 39.77 ▼1.13 |
Posts /wp-admin/edit.php | 2,082 ▼21 | 2.08 ▲0.06 | 41.77 ▲2.18 | 36.96 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,549 ▲4 | 18.64 ▼4.56 | 656.86 ▼9.57 | 58.57 ▼5.79 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.33 ▲0.04 | 101.09 ▼4.00 | 44.39 ▲2.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- 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 shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-dashboard-notes/includes/templates/note.php:19
- > PHP Notice
Undefined variable: note_meta in wp-content/plugins/wp-dashboard-notes/includes/templates/note.php on line 1
- > PHP Notice
Undefined variable: content in wp-content/plugins/wp-dashboard-notes/includes/templates/note.php on line 4
- > PHP Notice
Undefined variable: note_meta in wp-content/plugins/wp-dashboard-notes/includes/templates/note.php on line 13
- > PHP Notice
Undefined variable: note_meta in wp-content/plugins/wp-dashboard-notes/includes/templates/note-list.php on line 1
- > PHP Notice
Undefined variable: note in wp-content/plugins/wp-dashboard-notes/includes/templates/note-list.php on line 9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-dashboard-notes/includes/templates/note-list.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/wp-dashboard-notes/includes/templates/note.php on line 1
- > PHP Notice
Undefined variable: note_meta in wp-content/plugins/wp-dashboard-notes/includes/templates/note.php on line 1
- > PHP Notice
Undefined variable: note_meta in wp-content/plugins/wp-dashboard-notes/includes/templates/note-list.php on line 1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (WordPress dashboard example), #2 (Add note button), #3 (Normal white note)
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
wp-dashboard-notes/wp-dashboard-notes.php Passed 13 tests
"WP Dashboard Notes" version 1.0.10's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
136 characters long description:
Working in a team? Want to make notes? You can do just that with WP Dashboard Notes. Create beautiful notes with a nice user experience.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin1,015 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 182 | 252 | 392 |
Sass | 1 | 18 | 0 | 331 |
JavaScript | 3 | 72 | 43 | 171 |
PO File | 2 | 43 | 70 | 120 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 2 | 10.53% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
3 compressed PNG files occupy 0.04MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 7.69KB | 7.83KB | 0.00% |
screenshot-3.png | 4.84KB | 4.89KB | 0.00% |
screenshot-1.png | 27.95KB | 28.23KB | 0.00% |