Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼7.02ms] Passed 4 tests
Server-side resources used by Blighty Explorer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 40.24 ▼3.74 |
Dashboard /wp-admin | 3.51 ▲0.17 | 46.22 ▼8.25 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 49.79 ▲5.37 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 81.92 ▼21.45 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 41.93 ▲5.48 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 105 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Blighty Explorer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,900 ▲129 | 13.44 ▼1.02 | 9.30 ▲7.33 | 43.49 ▼2.77 |
Dashboard /wp-admin | 2,210 ▲33 | 5.67 ▲0.02 | 84.35 ▼3.96 | 77.42 ▲34.45 |
Posts /wp-admin/edit.php | 2,121 ▲18 | 1.98 ▲0.01 | 40.61 ▲3.18 | 35.40 ▲0.65 |
Add New Post /wp-admin/post-new.php | 1,693 ▲167 | 22.17 ▼1.03 | 662.40 ▲39.91 | 75.48 ▲10.80 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.16 ▼0.02 | 109.92 ▲6.60 | 89.05 ▲47.67 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% 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 0% 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 fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/blighty-explorer/blighty-explorer.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/blighty-explorer/admin-settings.php:96
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/blighty-explorer/blank.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
blighty-explorer/blighty-explorer.php Passed 13 tests
The main file in "Blighty Explorer" v. 2.2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
63 characters long description:
Provides an easy integrateable layer between a folder hierarchy
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected2,368 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 455 | 345 | 2,098 |
CSS | 2 | 26 | 0 | 144 |
PO File | 1 | 17 | 19 | 47 |
Markdown | 1 | 14 | 0 | 41 |
JavaScript | 1 | 4 | 0 | 38 |
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.39 |
Average class complexity | 36.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 3.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 11 | 14.10% |
▷ Public methods | 63 | 80.77% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 19.23% |
Functions | 22 | |
▷ Named functions | 20 | 90.91% |
▷ Anonymous functions | 2 | 9.09% |
Constants | 16 | |
▷ Global constants | 6 | 37.50% |
▷ Class constants | 10 | 62.50% |
▷ Public constants | 10 | 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
87 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/page_link.png | 0.81KB | 0.96KB | 0.00% |
icons/page_white_cup.png | 0.62KB | 0.62KB | 0.47% |
icons/page_white_medal.png | 0.69KB | 0.71KB | 0.00% |
icons/page_white_coldfusion.png | 0.58KB | 0.61KB | 0.00% |
icons/page_white_cd.png | 0.65KB | 0.70KB | 0.00% |