Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.48ms] Passed 4 tests
This is a short check of server-side resources used by Big File Uploads - Increase Maximum File Upload Size
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 36.18 ▼2.30 |
Dashboard /wp-admin | 3.34 ▲0.04 | 44.06 ▼1.11 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 41.08 ▼8.06 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 80.19 ▼2.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 44.87 ▲11.14 |
Big File Uploads /wp-admin/options-general.php?page=big_file_uploads | 3.37 | 47.75 |
Server storage [IO: ▲3.96MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Big File Uploads - Increase Maximum File Upload Size
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.39 ▼0.08 | 1.65 ▲0.01 | 44.23 ▲3.29 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▼0.02 | 82.97 ▼4.20 | 38.51 ▼0.00 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 1.98 ▲0.03 | 35.14 ▼6.21 | 33.38 ▼9.96 |
Add New Post /wp-admin/post-new.php | 1,691 ▲156 | 21.00 ▼2.04 | 658.12 ▼64.12 | 47.35 ▼21.17 |
Media Library /wp-admin/upload.php | 1,462 ▲59 | 4.33 ▲0.11 | 112.34 ▲9.42 | 66.12 ▲20.98 |
Big File Uploads /wp-admin/options-general.php?page=big_file_uploads | 1,649 | 4.09 | 87.09 | 93.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/tuxedo-big-file-uploads/uninstall.php+34
rmdir(wp-content/bfu-temp): No such file or directory
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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 fix the following items
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/tuxedo-big-file-uploads/templates/scan-results.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/tuxedo-big-file-uploads/templates/scan-start.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/tuxedo-big-file-uploads/templates/modal-subscribe.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/tuxedo-big-file-uploads/templates/settings-filetypes.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/tuxedo-big-file-uploads/templates/modal-scan.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/tuxedo-big-file-uploads/templates/footer.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/tuxedo-big-file-uploads/templates/modal-upgrade.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/tuxedo-big-file-uploads/templates/settings.php:2
- > 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 errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 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
10 plugin tags: upload limit, file upload, post max size, max upload file size, files uploader...
tuxedo-big-file-uploads/tuxedo_big_file_uploads.php 77% from 13 tests
Analyzing the main PHP file in "Big File Uploads - Increase Maximum File Upload Size" version 2.1.2
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tuxedo-big-file-uploads.php" instead of "tuxedo_big_file_uploads.php")
- Description: Keep the plugin description shorter than 140 characters (currently 211 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin24,184 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 3,064 | 45 | 13,225 |
JavaScript | 7 | 2,062 | 1,701 | 7,934 |
PHP | 12 | 263 | 785 | 1,574 |
HTML | 1 | 68 | 0 | 986 |
SVG | 3 | 0 | 1 | 465 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 69.67 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 161.00 |
Average method complexity | 4.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 2 | 3.57% |
▷ Public methods | 39 | 69.64% |
▷ Protected methods | 14 | 25.00% |
▷ Private methods | 3 | 5.36% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/bfu-logo-sm.png | 5.02KB | 5.31KB | 0.00% |