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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.81MB] [CPU: ▲0.79ms] Passed 4 tests
Server-side resources used by Desk-Net
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.24 ▲0.78 | 44.08 ▲1.67 |
Dashboard /wp-admin | 4.14 ▲0.80 | 54.60 ▼5.75 |
Posts /wp-admin/edit.php | 4.20 ▲0.84 | 56.71 ▲10.07 |
Add New Post /wp-admin/post-new.php | 6.71 ▲0.82 | 101.28 ▲1.50 |
Media Library /wp-admin/upload.php | 4.07 ▲0.84 | 40.75 ▲5.72 |
Status Matching /wp-admin/admin.php?page=wp_desk_net_status_matching | 4.03 | 38.50 |
Slug Syncing /wp-admin/admin.php?page=wp_desk_net_slug_syncing | 4.05 | 40.83 |
Content Settings /wp-admin/admin.php?page=wp_desk_net_content_matching | 4.04 | 36.72 |
WordPress Credentials /wp-admin/admin.php?page=wp-desk-net | 4.03 | 36.52 |
Category Matching /wp-admin/admin.php?page=wp_desk_net_category_matching | 4.03 | 35.31 |
Desk-Net Credentials /wp-admin/admin.php?page=wp_desk_net_credential | 4.03 | 35.74 |
Custom Fields Matching /wp-admin/admin.php?page=wp_desk_net_custom_fields_matching | 4.03 | 36.20 |
Desk-Net ID in URL /wp-admin/admin.php?page=wp_desk_net_permalinks | 4.03 | 35.30 |
Task Matching /wp-admin/admin.php?page=wp_desk_net_task_matching | 4.03 | 35.54 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 29 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_desk_net_tokens |
New WordPress options |
---|
wp_desk_net_api_key |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
wp_desk_net_api_secret |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Desk-Net
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲98 | 14.35 ▼0.36 | 1.56 ▼0.22 | 39.13 ▼5.39 |
Dashboard /wp-admin | 2,250 ▲75 | 5.59 ▲0.01 | 95.26 ▼3.24 | 43.63 ▲5.80 |
Posts /wp-admin/edit.php | 2,155 ▲55 | 2.01 ▲0.04 | 40.26 ▲1.46 | 34.90 ▲2.72 |
Add New Post /wp-admin/post-new.php | 1,584 ▲58 | 22.88 ▼0.33 | 675.46 ▲12.40 | 35.73 ▼22.77 |
Media Library /wp-admin/upload.php | 1,455 ▲55 | 4.42 ▲0.25 | 94.84 ▼4.37 | 40.97 ▼2.02 |
Status Matching /wp-admin/admin.php?page=wp_desk_net_status_matching | 812 | 2.14 | 26.34 | 24.51 |
Slug Syncing /wp-admin/admin.php?page=wp_desk_net_slug_syncing | 900 | 1.98 | 26.74 | 37.56 |
Content Settings /wp-admin/admin.php?page=wp_desk_net_content_matching | 959 | 2.01 | 24.55 | 32.14 |
WordPress Credentials /wp-admin/admin.php?page=wp-desk-net | 901 | 1.65 | 24.79 | 27.43 |
Category Matching /wp-admin/admin.php?page=wp_desk_net_category_matching | 815 | 2.02 | 25.15 | 25.01 |
Desk-Net Credentials /wp-admin/admin.php?page=wp_desk_net_credential | 843 | 2.02 | 26.81 | 27.20 |
Custom Fields Matching /wp-admin/admin.php?page=wp_desk_net_custom_fields_matching | 812 | 2.02 | 24.72 | 24.39 |
Desk-Net ID in URL /wp-admin/admin.php?page=wp_desk_net_permalinks | 834 | 2.05 | 28.15 | 26.68 |
Task Matching /wp-admin/admin.php?page=wp_desk_net_task_matching | 815 | 2.01 | 25.48 | 24.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function pages\\plugin_dir_path() in wp-content/plugins/desk-net/include/pages/class-desk-net-pages.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/desk-net/include/pages/task-matching/class-task-matching-page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function desk_net_credentials_page\\plugin_dir_path() in wp-content/plugins/desk-net/include/pages/desk-net-credentials/class-desk-net-credentials-page.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/desk-net/include/pages/custom-fields/class-custom-fields-matching-page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/desk-net/include/class-desk-net-request-methods.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/desk-net/include/class-desk-net-delete-methods.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/desk-net/include/pages/status-matching/class-status-matching-page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/desk-net/include/class-desk-net-update-methods.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/desk-net/include/pages/slug-syncing/class-slug-syncing-page.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/desk-net/desk-net.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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
8 plugin tags: desknet, calendar, desk, story, desk net...
desk-net/desk-net.php Passed 13 tests
The main PHP file in "Desk-Net" ver. 1.4.15 adds more information about the plugin and also serves as the entry point for this plugin
35 characters long description:
Desk-Net integration with WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin4,796 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,034 | 1,710 | 4,423 |
CSS | 2 | 50 | 3 | 234 |
JavaScript | 2 | 20 | 6 | 136 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 30.52 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 234.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 202 | |
▷ Static methods | 23 | 11.39% |
▷ Public methods | 180 | 89.11% |
▷ Protected methods | 1 | 0.50% |
▷ Private methods | 21 | 10.40% |
Functions | 10 | |
▷ Named functions | 5 | 50.00% |
▷ Anonymous functions | 5 | 50.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected