Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼5.58ms] Passed 4 tests
A check of server-side resources used by Smart WeTransfer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 44.06 ▲2.51 |
Dashboard /wp-admin | 3.37 ▲0.06 | 45.49 ▼8.62 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 52.31 ▲7.46 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 83.06 ▼13.96 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.25 ▼2.24 |
Settings /wp-admin/admin.php?page=wetransfer_settings | 3.26 | 32.39 |
Smart WeTransfer /wp-admin/admin.php?page=wetransfer | 3.26 | 31.20 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wetransfer |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
jal_db_version |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Smart WeTransfer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲81 | 13.94 ▼0.64 | 1.69 ▼0.55 | 40.59 ▼7.37 |
Dashboard /wp-admin | 2,242 ▲54 | 5.21 ▼0.80 | 103.45 ▼14.28 | 37.74 ▼8.60 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 2.33 ▲0.30 | 39.65 ▲1.74 | 35.22 ▲1.84 |
Add New Post /wp-admin/post-new.php | 1,545 ▲26 | 17.88 ▼5.30 | 695.98 ▲25.40 | 63.38 ▼1.74 |
Media Library /wp-admin/upload.php | 1,418 ▲33 | 4.46 ▲0.26 | 98.73 ▼7.86 | 41.43 ▼3.35 |
Settings /wp-admin/admin.php?page=wetransfer_settings | 830 | 1.93 | 25.10 | 25.08 |
Smart WeTransfer /wp-admin/admin.php?page=wetransfer | 823 | 1.97 | 25.20 | 54.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_wetransfer
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- jal_db_version
- widget_theysaidso_widget
- widget_recent-comments
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smart-wetransfer/includes/styles.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smart-wetransfer/includes/scripts.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/smart-wetransfer/includes/style.php:11
- > 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Donate link: Invalid URI ("paypal.me/miishraa")
smart-wetransfer/smart-wetransfer.php 85% from 13 tests
"Smart WeTransfer" version 1.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected335 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 56 | 26 | 276 |
CSS | 3 | 0 | 6 | 35 |
JavaScript | 2 | 10 | 6 | 24 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected