Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼142.28ms] Passed 4 tests
Server-side resources used by Manage Upload Limit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 41.66 ▲20.27 |
Dashboard /wp-admin | 3.08 ▲0.02 | 49.01 ▼2.65 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 51.07 ▲10.88 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 82.64 ▼578.48 |
Media Library /wp-admin/upload.php | 3.02 ▲0.01 | 35.47 ▲1.14 |
Upload limit /wp-admin/options-general.php?page=wpst_ul_manage_upload_limit | 2.99 | 30.50 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Manage Upload Limit
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,708 ▲112 | 15.90 ▼0.14 | 11.32 ▲0.86 | 50.75 ▲1.96 |
Dashboard /wp-admin | 2,972 ▲38 | 5.89 ▼0.01 | 156.60 ▲1.92 | 120.09 ▼3.33 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▼0.00 | 71.70 ▲2.58 | 98.48 ▲6.93 |
Add New Post /wp-admin/post-new.php | 1,686 ▲3 | 18.74 ▼0.06 | 401.42 ▲3.43 | 111.80 ▼1.60 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.04 ▲0.01 | 162.88 ▲8.09 | 124.70 ▲5.49 |
Upload limit /wp-admin/options-general.php?page=wpst_ul_manage_upload_limit | 1,052 | 2.09 | 54.89 | 79.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled successfully, without leaving any zombie files or tables
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 no errors were found, this is by no means 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 take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wpsimpletools-upload-limit/wpsimpletools-upload-limit.php
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 Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: max upload size, upload limit, upload size
wpsimpletools-upload-limit/wpsimpletools-upload-limit.php Passed 13 tests
The main PHP file in "Manage Upload Limit" ver. 1.0.4 adds more information about the plugin and also serves as the entry point for this plugin
51 characters long description:
Sets the maximum upload size ammitted in WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin62 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 11 | 62 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
PNG images were not found in this plugin