Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.14MB] [CPU: ▼0.33ms] Passed 4 tests
This is a short check of server-side resources used by Lord of the Files: Enhanced Upload Security
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 38.72 ▼4.04 |
Dashboard /wp-admin | 3.45 ▲0.14 | 54.19 ▲2.56 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 50.97 ▲3.35 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 93.32 ▼3.19 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 42.50 ▲8.13 |
File Validation Reference /wp-admin/tools.php?page=blob-mimes-reference | 3.35 | 31.60 |
File Settings /wp-admin/options-general.php?page=blob-mimes-settings | 3.35 | 34.44 |
Debug File Validation /wp-admin/tools.php?page=blob-mimes-debug | 3.36 | 33.19 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 57 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
lotf_cleanup |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Lord of the Files: Enhanced Upload Security
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲66 | 14.82 ▲0.44 | 2.10 ▲0.20 | 38.95 ▼4.33 |
Dashboard /wp-admin | 2,230 ▲24 | 5.85 ▲0.92 | 100.28 ▼1.27 | 37.89 ▼6.54 |
Posts /wp-admin/edit.php | 2,115 ▲15 | 1.99 ▼0.00 | 42.82 ▲5.24 | 36.12 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,554 ▲23 | 23.34 ▲0.22 | 695.03 ▲25.65 | 63.86 ▲10.61 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.20 ▼0.05 | 96.11 ▼18.73 | 45.56 ▼5.13 |
File Validation Reference /wp-admin/tools.php?page=blob-mimes-reference | 1,646 | 5.69 | 60.80 | 51.95 |
File Settings /wp-admin/options-general.php?page=blob-mimes-settings | 926 | 2.05 | 23.03 | 29.31 |
Debug File Validation /wp-admin/tools.php?page=blob-mimes-debug | 950 | 2.02 | 25.45 | 36.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'blobfolio\\wp\\bm\\admin\\debug' not found in wp-content/plugins/blob-mimes/templates/debug.php:23
- > PHP Fatal error
Uncaught Error: Class 'blobfolio\\wp\\bm\\svg\\svg_base' not found in wp-content/plugins/blob-mimes/lib/blobfolio/wp/bm/svg/svg_fallback.php:16
- > PHP Fatal error
Uncaught Error: Class 'blobfolio\\wp\\bm\\admin\\page' not found in wp-content/plugins/blob-mimes/lib/blobfolio/wp/bm/admin/settings.php:16
- > PHP Fatal error
Uncaught Error: Class 'blobfolio\\wp\\bm\\admin\\page' not found in wp-content/plugins/blob-mimes/lib/blobfolio/wp/bm/admin/debug.php:21
- > PHP Fatal error
Uncaught Error: Class 'blobfolio\\wp\\bm\\svg\\svg_base' not found in wp-content/plugins/blob-mimes/lib/blobfolio/wp/bm/svg/svg_dom.php:17
- > PHP Fatal error
Uncaught Error: Class 'blobfolio\\wp\\bm\\svg\\svg_dom' not found in wp-content/plugins/blob-mimes/lib/blobfolio/wp/bm/svg.php:25
- > PHP Fatal error
Uncaught Error: Class 'blobfolio\\wp\\bm\\admin\\page' not found in wp-content/plugins/blob-mimes/lib/blobfolio/wp/bm/admin/reference.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
blob-mimes/index.php 92% from 13 tests
Analyzing the main PHP file in "Lord of the Files: Enhanced Upload Security" version 1.3.17
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("blob-mimes.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin13,205 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 541 | 1,310 | 13,091 |
Markdown | 4 | 60 | 0 | 95 |
JavaScript | 5 | 0 | 3 | 14 |
CSS | 3 | 0 | 0 | 3 |
SVG | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of 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.61 |
Average class complexity | 37.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 148.00 |
Average method complexity | 6.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 3 | 25.00% |
▷ Concrete classes | 9 | 75.00% |
▷ Final classes | 4 | 44.44% |
Methods | 84 | |
▷ Static methods | 84 | 100.00% |
▷ Public methods | 49 | 58.33% |
▷ Protected methods | 28 | 33.33% |
▷ Private methods | 7 | 8.33% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 44 | |
▷ Global constants | 7 | 15.91% |
▷ Class constants | 37 | 84.09% |
▷ Public constants | 37 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin