Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.58ms] Passed 4 tests
This is a short check of server-side resources used by Fonk - Slack Notifications for Devs
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 46.31 ▲0.46 |
Dashboard /wp-admin | 3.41 ▲0.10 | 49.22 ▼8.32 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 53.11 ▲0.48 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 88.22 ▼14.94 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 42.40 ▲2.85 |
Slack Notifications /wp-admin/options-general.php?page=fonk-slack-notification-settings | 3.30 | 34.36 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
fonk_slack_notification_enabled_setting |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Fonk - Slack Notifications for Devs
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲90 | 13.53 ▼1.03 | 9.50 ▲7.44 | 42.32 ▲0.13 |
Dashboard /wp-admin | 2,199 ▲22 | 5.65 ▼0.02 | 91.77 ▼2.31 | 37.90 ▼7.93 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.03 | 39.82 ▲5.34 | 35.58 ▼1.56 |
Add New Post /wp-admin/post-new.php | 1,529 ▼11 | 17.56 ▼5.83 | 719.51 ▲59.04 | 53.10 ▼1.64 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.25 ▲0.05 | 99.57 ▼5.92 | 42.00 ▼6.45 |
Slack Notifications /wp-admin/options-general.php?page=fonk-slack-notification-settings | 899 | 2.19 | 24.77 | 36.81 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- fonk_slack_notification_enabled_setting
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% 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 0% 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/fonk-slack-notifications/public/partials/fonk-slack-notification-public-display.php
- > /wp-content/plugins/fonk-slack-notifications/admin/partials/fonk-slack-notification-admin-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/fonk-slack-notifications/admin/partials/fonk-slack-notification-admin-settings-display.php:23
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 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
4 plugin tags: fonk, developers, slack, notifications
fonk-slack-notifications/fonk-slack-notification.php 85% from 13 tests
This is the main PHP file of "Fonk - Slack Notifications for Devs" version 1.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("fonk-slack-notifications.php" instead of "fonk-slack-notification.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin601 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 153 | 662 | 433 |
JavaScript | 2 | 27 | 77 | 146 |
CSS | 2 | 6 | 9 | 22 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 4.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 27 | 84.38% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 15.62% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin