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.01MB] [CPU: ▼7.84ms] Passed 4 tests
A check of server-side resources used by Oheso Version Report
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 42.77 ▲0.79 |
Dashboard /wp-admin | 3.32 ▲0.01 | 50.87 ▼2.36 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.89 ▼8.24 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.61 ▼18.08 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 37.33 ▼2.69 |
Version Report /wp-admin/options-general.php?page=versionreport | 3.24 | 32.61 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Oheso Version Report
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.20 ▼0.09 | 1.88 ▲0.21 | 44.20 ▲4.86 |
Dashboard /wp-admin | 2,202 ▲22 | 5.64 ▼0.01 | 90.75 ▲1.44 | 41.38 ▼2.38 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▲0.02 | 36.64 ▼5.21 | 34.51 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.24 ▲5.03 | 671.27 ▼1.01 | 72.91 ▼8.25 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.21 ▲0.02 | 105.02 ▲3.34 | 49.48 ▲5.46 |
Version Report /wp-admin/options-general.php?page=versionreport | 789 | 2.03 | 25.56 | 22.55 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/oheso-version-report/theme/oheso-version-report_template.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function oheso\\is_admin() in wp-content/plugins/oheso-version-report/oheso-version-report.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/oheso-version-report/template.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/oheso-version-report/uninstall.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: themes, report, version, plugins
oheso-version-report/oheso-version-report.php Passed 13 tests
The main file in "Oheso Version Report" v. 0.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
76 characters long description:
Display update guidance, version of plug-in and date of update collectively.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected471 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 62 | 35 | 445 |
CSS | 1 | 2 | 0 | 26 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 3.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 20.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 100.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
1 PNG file occupies 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot.png | 115.97KB | 44.51KB | ▼ 61.62% |