Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼141.92ms] Passed 4 tests
A check of server-side resources used by The Good Jobs ListenHire Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.90 ▲0.06 | 36.48 ▲0.16 |
Dashboard /wp-admin | 3.13 ▲0.08 | 50.22 ▲5.31 |
Posts /wp-admin/edit.php | 3.18 ▲0.07 | 40.77 ▼3.96 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.05 | 92.83 ▼566.34 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 35.62 ▲2.45 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_listenhire_widget |
Browser metrics Passed 4 tests
The Good Jobs ListenHire Widget: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,699 ▲103 | 15.88 ▼0.01 | 7.73 ▲0.31 | 54.02 ▼3.27 |
Dashboard /wp-admin | 2,993 ▲59 | 5.86 ▼0.28 | 143.67 ▼2.33 | 123.22 ▲4.40 |
Posts /wp-admin/edit.php | 2,759 ▲20 | 2.70 ▲0.01 | 69.23 ▼2.55 | 90.21 ▼1.26 |
Add New Post /wp-admin/post-new.php | 1,696 ▲115 | 18.77 ▼1.41 | 388.26 ▼18.53 | 117.46 ▲3.86 |
Media Library /wp-admin/upload.php | 1,827 ▲79 | 5.04 ▲0.04 | 161.15 ▲13.27 | 118.52 ▼7.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- widget_listenhire_widget
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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/the-good-jobs-listenhire-widget/listenhire-widget.php:14
- > PHP Fatal error
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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The ListenHire Widget `/assets/screenshot-1.png`), #2 (When an individual badge has been clicked `/assets/screenshot-2.png`)
the-good-jobs-listenhire-widget/listenhire-widget.php 92% from 13 tests
"The Good Jobs ListenHire Widget" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("the-good-jobs-listenhire-widget.php" instead of "listenhire-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin333 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 69 | 46 | 333 |
PHP code Passed 2 tests
Analyzing 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.28 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.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
2 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 16.22KB | 5.20KB | ▼ 67.92% |
assets/screenshot-2.png | 70.49KB | 27.28KB | ▼ 61.29% |