Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/send-anywhere-file-transfer/send-anywhere-file-transfer.php+132
Function create_function() is deprecated
Server metrics [RAM: ▼1.92MB] [CPU: ▼60.72ms] Passed 4 tests
A check of server-side resources used by Send Anywhere (File transfer)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.07 ▼1.39 | 5.26 ▼36.74 |
Dashboard /wp-admin | 2.09 ▼1.25 | 7.49 ▼66.83 |
Posts /wp-admin/edit.php | 2.09 ▼1.26 | 5.69 ▼45.48 |
Add New Post /wp-admin/post-new.php | 2.09 ▼3.79 | 5.99 ▼93.84 |
Media Library /wp-admin/upload.php | 2.09 ▼1.13 | 6.02 ▼29.95 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_sa_widget |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Send Anywhere (File transfer)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲44 | 14.35 ▼0.05 | 2.60 ▲0.82 | 39.51 ▼4.93 |
Dashboard /wp-admin | 2,198 ▲18 | 5.66 ▼0.04 | 91.30 ▲1.02 | 42.47 ▼2.45 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.02 ▼0.00 | 40.76 ▲1.89 | 35.68 ▲1.43 |
Add New Post /wp-admin/post-new.php | 1,555 ▲10 | 18.36 ▼4.81 | 639.32 ▼18.77 | 51.77 ▼6.66 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.16 ▼0.07 | 99.27 ▲2.91 | 41.99 ▼1.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/send-anywhere-file-transfer/send-anywhere-file-transfer.php+132
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_sa_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/send-anywhere-file-transfer/send-anywhere-file-transfer.php:12
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Contributors: The plugin contributors field is missing
send-anywhere-file-transfer/send-anywhere-file-transfer.php Passed 13 tests
The primary PHP file in "Send Anywhere (File transfer)" version 1.1.0 is used by WordPress to initiate all plugin functionality
40 characters long description:
The Simplest way to Send files Anywhere.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin188 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 10 | 25 | 99 |
JavaScript | 1 | 13 | 5 | 89 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected