Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.46ms] Passed 4 tests
Analyzing server-side resources used by File Limits Uploads
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.03 | 37.19 ▼6.88 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.42 ▲0.63 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.29 ▼0.67 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.17 ▼14.91 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 39.20 ▲3.57 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by File Limits Uploads
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,928 ▲171 | 13.64 ▼0.66 | 4.87 ▲2.93 | 40.04 ▼4.42 |
Dashboard /wp-admin | 2,223 ▲38 | 5.84 ▲0.87 | 99.56 ▼9.49 | 42.57 ▼1.59 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.00 ▲0.01 | 34.80 ▼1.37 | 31.59 ▼3.07 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 17.72 ▲0.19 | 677.79 ▼9.63 | 57.66 ▲0.33 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.19 ▲0.03 | 94.33 ▼8.49 | 41.61 ▼2.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/file-limits-uploads/public/partials/file-limits-uploads-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'File_Limits_Uploads_Admin' not found in wp-content/plugins/file-limits-uploads/admin/partials/file-limits-uploads-admin-display.php:24
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Add an image for screenshot #1 (Select Maximum Upload File Size And Maximum Execution Time - Backend.)
file-limits-uploads/file-limits-uploads.php Passed 13 tests
This is the main PHP file of "File Limits Uploads" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
70 characters long description:
With this plugin option, you can increase the file upload size easily.
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 detected318 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 127 | 555 | 272 |
CSS | 2 | 0 | 8 | 40 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 2.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 3 | 10.00% |
▷ Public methods | 25 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin