Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.26MB] [CPU: ▼2.83ms] Passed 4 tests
A check of server-side resources used by FuseDesk
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 42.48 ▲3.53 |
Dashboard /wp-admin | 3.56 ▲0.25 | 48.42 ▼1.08 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 46.67 ▼0.86 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.29 | 84.62 ▼5.97 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 36.14 ▼3.42 |
FuseDesk /wp-admin/options-general.php?page=fusedesk | 3.72 | 33.36 |
Server storage [IO: ▲0.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
FuseDesk: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 13.94 ▼0.73 | 8.28 ▲6.57 | 41.95 ▼1.20 |
Dashboard /wp-admin | 2,212 ▲21 | 5.86 ▲0.96 | 102.03 ▼4.98 | 38.76 ▼6.39 |
Posts /wp-admin/edit.php | 2,101 ▲15 | 2.15 ▲0.11 | 36.89 ▲2.07 | 31.82 ▼4.19 |
Add New Post /wp-admin/post-new.php | 6,204 ▲4,685 | 19.81 ▼3.30 | 930.15 ▲334.83 | 40.53 ▼11.54 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▲0.03 | 94.36 ▼10.40 | 41.17 ▼4.57 |
FuseDesk /wp-admin/options-general.php?page=fusedesk | 1,041 | 1.72 | 24.21 | 31.47 |
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 does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusedesk/fusedesk-blocks/fusedesk-blocks.php:100
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/fusedesk/fusedesk.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function fusedesk_verifyscope() in wp-content/plugins/fusedesk/options.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (22 tag instead of maximum 10); only the first 5 tags are used in your directory listing
fusedesk/fusedesk.php 92% from 13 tests
This is the main PHP file of "FuseDesk" version 6.6.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 269 characters long)
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
Good job! No executable or dangerous file extensions detected2,169 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 375 | 343 | 1,760 |
JSON | 3 | 12 | 0 | 284 |
JavaScript | 5 | 16 | 23 | 119 |
Markdown | 1 | 4 | 0 | 4 |
CSS | 3 | 1 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 4 | |
▷ Static methods | 1 | 25.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 56 | |
▷ Named functions | 54 | 96.43% |
▷ Anonymous functions | 2 | 3.57% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin