Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.05MB] [CPU: ▼185.79ms] Passed 4 tests
A check of server-side resources used by Open hybrid
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.64 ▼0.20 | 13.67 ▼9.17 |
Dashboard /wp-admin | 3.07 ▲0.00 | 30.80 ▼6.90 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 31.45 ▼0.88 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 70.33 ▼726.20 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 23.15 ▲0.62 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Open hybrid
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,687 ▲86 | 15.62 ▼0.38 | 8.89 ▲3.70 | 78.27 ▲4.92 |
Dashboard /wp-admin | 2,946 ▲54 | 6.09 ▼0.09 | 120.33 ▼10.24 | 169.92 ▼2.09 |
Posts /wp-admin/edit.php | 2,726 ▼14 | 3.24 ▲0.01 | 65.77 ▲1.28 | 142.64 ▲0.97 |
Add New Post /wp-admin/post-new.php | 3,820 ▲77 | 18.76 ▼1.04 | 465.05 ▼17.29 | 168.43 ▼1.29 |
Media Library /wp-admin/upload.php | 1,772 ▲20 | 5.51 ▲0.04 | 153.23 ▲4.76 | 200.02 ▲10.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/open-hybrid/open-hybrid-wordpress.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/open-hybrid/backend.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/open-hybrid/frontend.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/open-hybrid/settings.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Contributors: Contributors not specified
open-hybrid/open-hybrid-wordpress.php 85% from 13 tests
The entry point to "Open hybrid" version 0.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 141 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("open-hybrid.php" instead of "open-hybrid-wordpress.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin186 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 45 | 16 | 186 |
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 | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
No PNG images were found in this plugin