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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.28ms] Passed 4 tests
Analyzing server-side resources used by Dashboard Sticky Notes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.59 ▼0.39 |
Dashboard /wp-admin | 3.33 ▲0.03 | 53.95 ▲9.81 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.97 ▼2.34 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 86.03 ▼9.26 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.72 ▲2.88 |
All Sticky Notes /wp-admin/edit.php?post_type=dsn | 3.29 | 35.05 |
Add New /wp-admin/post-new.php?post_type=dsn | 3.36 | 59.28 |
Server storage [IO: ▲0.30MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Dashboard Sticky Notes
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲88 | 13.30 ▼1.08 | 1.80 ▲0.08 | 43.42 ▼0.06 |
Dashboard /wp-admin | 2,237 ▲46 | 4.89 ▼0.95 | 112.56 ▲8.74 | 41.21 ▼0.26 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 2.05 ▲0.02 | 33.84 ▼6.24 | 34.44 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 17.43 ▼0.85 | 663.04 ▲44.70 | 54.32 ▼17.78 |
Media Library /wp-admin/upload.php | 1,422 ▲37 | 4.24 ▼0.04 | 95.38 ▼9.33 | 43.54 ▲0.70 |
All Sticky Notes /wp-admin/edit.php?post_type=dsn | 1,092 | 1.92 | 30.09 | 29.08 |
Add New /wp-admin/post-new.php?post_type=dsn | 2,359 | 7.60 | 173.23 | 65.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
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 no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dashboard-sticky-notes/dashboard-sticky-notes.php:33
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: note, sticky, memo, sticky notes, notes...
dashboard-sticky-notes/dashboard-sticky-notes.php 85% from 13 tests
Analyzing the main PHP file in "Dashboard Sticky Notes" version 1.1.2
It is important to fix the following:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("/")
- Domain Path: Prefix the domain path with a forward slash character ("//")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin327 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 51 | 25 | 194 |
PO File | 2 | 1,401 | 2,763 | 133 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 4.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.17MB with 0.11MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 80.40KB | 28.26KB | ▼ 64.85% |
screenshot-2.png | 91.78KB | 32.49KB | ▼ 64.60% |