Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.99ms] Passed 4 tests
Analyzing server-side resources used by Themx Maximum Upload File Size | Increase Maximum Upload File Size
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 36.08 ▼3.13 |
Dashboard /wp-admin | 3.35 ▲0.00 | 50.35 ▼13.57 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 47.89 ▼1.15 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 85.45 ▼18.11 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 38.30 ▲1.42 |
Increase Maximum Upload Limit /wp-admin/upload.php?page=themx_maximum_upload_file_size | 3.26 | 37.93 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Themx Maximum Upload File Size | Increase Maximum Upload File Size
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲39 | 14.28 ▼0.27 | 2.19 ▲0.50 | 47.35 ▲6.19 |
Dashboard /wp-admin | 2,209 ▲32 | 5.64 ▲0.07 | 83.34 ▼11.73 | 39.83 ▼5.67 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.01 ▲0.03 | 36.40 ▼7.42 | 33.61 ▼4.32 |
Add New Post /wp-admin/post-new.php | 1,545 ▲17 | 18.12 ▼4.95 | 645.56 ▼31.48 | 73.64 ▲8.71 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.16 ▲0.02 | 102.47 ▼13.12 | 43.27 ▼2.44 |
Increase Maximum Upload Limit /wp-admin/upload.php?page=themx_maximum_upload_file_size | 956 | 1.99 | 23.40 | 73.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugin_data() in wp-content/plugins/themx-maximum-upload-file-size/admin/tmufs-helper.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/themx-maximum-upload-file-size/admin/templates/class-tmufs-template.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/themx-maximum-upload-file-size/admin/class-tmufs-admin.php:202
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/upload.php?page=themx_maximum_upload_file_size
- > Network (severe)
wp-content/plugins/themx-maximum-upload-file-size/assets/js/admin.js?ver=1.0.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: upload file size, increase maximum execution time, upload_max_filesize, increase upload limit, max upload file size...
themx-maximum-upload-file-size/themx-maximum-upload-file-size.php 92% from 13 tests
"Themx Maximum Upload File Size | Increase Maximum Upload File Size" version 1.0.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected277 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 66 | 134 | 276 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review 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.29 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 17 | |
▷ Static methods | 12 | 70.59% |
▷ Public methods | 16 | 94.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.88% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
There are no PNG files in this plugin