Benchmarks
Plugin footprint 83% 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.38MB] [CPU: ▼2.88ms] Passed 4 tests
Server-side resources used by Increase Maximum Upload File Size | Increase Execution Time
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.88 ▲0.41 | 44.14 ▼0.91 |
Dashboard /wp-admin | 4.17 ▲0.82 | 1,266.60 ▲1,201.54 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 48.38 ▲2.82 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 88.32 ▼12.39 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 40.76 ▼1.06 |
Increase Upload Limit /wp-admin/upload.php?page=upload_max_file_size | 3.59 | 43.70 |
Server storage [IO: ▲0.55MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Increase Maximum Upload File Size | Increase Execution Time: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲195 | 13.24 ▼1.45 | 1.77 ▼0.37 | 20.11 ▼21.90 |
Dashboard /wp-admin | 2,369 ▲181 | 4.86 ▼1.01 | 104.42 ▼1.58 | 54.55 ▲13.44 |
Posts /wp-admin/edit.php | 2,128 ▲42 | 1.99 ▼0.18 | 33.94 ▼2.38 | 31.79 ▼3.62 |
Add New Post /wp-admin/post-new.php | 1,549 ▼118 | 23.09 ▲0.66 | 649.39 ▼50.07 | 61.60 ▲12.81 |
Media Library /wp-admin/upload.php | 1,421 ▲30 | 4.32 ▲0.09 | 100.67 ▼3.59 | 45.04 ▲0.48 |
Increase Upload Limit /wp-admin/upload.php?page=upload_max_file_size | 1,212 | 2.15 | 29.55 | 66.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Please take a closer look at the following
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-maximum-upload-file-size/inc/codepopular-promotion.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-maximum-upload-file-size/inc/codepopular-plugin-suggest.php:23
- > PHP Warning
require_once(wp-content/plugins/wp-maximum-upload-file-size/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php): failed to open stream: No such file or directory in wp-content/plugins/wp-maximum-upload-file-size/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-maximum-upload-file-size/inc/class-wmufs-i18n.php:11
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/wp-maximum-upload-file-size/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-maximum-upload-file-size/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-maximum-upload-file-size/admin/class-wmufs-admin.php:188
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugin_data() in wp-content/plugins/wp-maximum-upload-file-size/inc/class-wmufs-helper.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-maximum-upload-file-size/admin/templates/class-wmufs-template.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_max_upload_size() in wp-content/plugins/wp-maximum-upload-file-size/inc/class-wmufs-chunk-files.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url_raw() in wp-content/plugins/wp-maximum-upload-file-size/admin/templates/class-wmufs-sidebar.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: max upload file size, upload_max_filesize, post max size, increase upload limit, increase file size limit...
wp-maximum-upload-file-size/wp-maximum-upload-file-size.php 92% from 13 tests
The main PHP file in "Increase Maximum Upload File Size | Increase Execution Time" ver. 1.1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Requires at least: Required version must match the one declared in readme.txt ("3.0" instead of "4.0")
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
Success! There were no dangerous files found in this plugin4,071 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 817 | 1,330 | 3,106 |
CSS | 2 | 17 | 7 | 283 |
Markdown | 1 | 82 | 0 | 255 |
Sass | 1 | 75 | 0 | 161 |
JSON | 3 | 0 | 0 | 113 |
XML | 1 | 6 | 11 | 95 |
YAML | 1 | 6 | 0 | 32 |
JavaScript | 1 | 10 | 0 | 26 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 29.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 159 | |
▷ Static methods | 37 | 23.27% |
▷ Public methods | 122 | 76.73% |
▷ Protected methods | 6 | 3.77% |
▷ Private methods | 31 | 19.50% |
Functions | 15 | |
▷ Named functions | 12 | 80.00% |
▷ Anonymous functions | 3 | 20.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
3 PNG files occupy 0.26MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/unlimited-theme-addon.png | 22.26KB | 10.71KB | ▼ 51.88% |
assets/images/dostart.png | 55.95KB | 55.92KB | 0.05% |
assets/images/best-elementor-countdown-timer.png | 183.63KB | 61.08KB | ▼ 66.74% |