Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.15MB] [CPU: ▼0.85ms] Passed 4 tests
Analyzing server-side resources used by Isibia Dashboard Messages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 49.61 ▲7.25 |
Dashboard /wp-admin | 3.46 ▲0.16 | 49.23 ▼3.30 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 52.70 ▲3.79 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 84.47 ▼8.36 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 38.94 ▲4.47 |
Dashboard Messages /wp-admin/edit.php?post_type=isibia_dashmess | 3.43 | 42.00 |
Add new message /wp-admin/post-new.php?post_type=isibia_dashmess | 3.31 | 34.82 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Isibia Dashboard Messages
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲141 | 15.37 ▲1.00 | 1.97 ▲0.25 | 44.76 ▲0.94 |
Dashboard /wp-admin | 2,273 ▲85 | 6.69 ▲1.73 | 124.58 ▲13.34 | 41.36 ▼1.44 |
Posts /wp-admin/edit.php | 2,310 ▲221 | 3.41 ▲1.37 | 54.51 ▲17.19 | 49.88 ▲16.93 |
Add New Post /wp-admin/post-new.php | 1,565 ▲51 | 18.24 ▲0.65 | 613.07 ▼69.78 | 35.64 ▼29.51 |
Media Library /wp-admin/upload.php | 1,608 ▲220 | 5.08 ▲0.85 | 109.46 ▲11.25 | 42.81 ▲0.23 |
Dashboard Messages /wp-admin/edit.php?post_type=isibia_dashmess | 1,282 | 3.23 | 52.50 | 46.38 |
Add new message /wp-admin/post-new.php?post_type=isibia_dashmess | 2,297 | 7.82 | 175.27 | 75.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=isibia_dashmess
- > Notice in wp-content/plugins/isibia-dashboard-messages/src/admin/models/classes/DashboardMessagePost.php+46
Undefined index: isibia-dashmess-nonce
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function IsibiaDashboardMessages\\Core\\add_action() in wp-content/plugins/isibia-dashboard-messages/src/Plugin.php:16
- > 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
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: messages
isibia-dashboard-messages/isibia-dashboard-messages.php Passed 13 tests
"Isibia Dashboard Messages" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
60 characters long description:
Free Isibia plugin. Create messages for control panel users.
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
Good job! No executable or dangerous file extensions detected1,238 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 217 | 416 | 1,102 |
CSS | 2 | 1 | 5 | 68 |
JavaScript | 1 | 9 | 6 | 63 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 7.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 64 | |
▷ Static methods | 33 | 51.56% |
▷ Public methods | 61 | 95.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 4.69% |
Functions | 4 | |
▷ Named functions | 1 | 25.00% |
▷ Anonymous functions | 3 | 75.00% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/css/images/ui-icons_555555_256x240.png | 6.82KB | 4.17KB | ▼ 38.82% |
src/css/images/ui-icons_444444_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
src/css/images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
src/css/images/ui-icons_ffffff_256x240.png | 6.15KB | 4.17KB | ▼ 32.13% |
src/css/images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |