Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼0.94ms] Passed 4 tests
A check of server-side resources used by WP Job Manager Filter Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.70 ▼3.37 |
Dashboard /wp-admin | 3.36 ▲0.06 | 48.11 ▼0.24 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 44.08 ▼0.49 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 91.80 ▲1.86 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.32 ▲0.32 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_wpjmfilter |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Job Manager Filter Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.18 ▼1.40 | 1.90 ▼0.07 | 43.46 ▼1.46 |
Dashboard /wp-admin | 2,210 ▲22 | 4.86 ▼1.05 | 109.79 ▼7.12 | 43.74 ▼4.59 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.04 ▼0.01 | 36.20 ▲0.15 | 35.40 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,546 ▲13 | 18.59 ▼4.54 | 591.93 ▼85.63 | 52.29 ▼0.21 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.31 ▲0.10 | 93.30 ▼8.87 | 40.54 ▼5.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- widget_wpjmfilter
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (18 tag instead of maximum 10)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== wp-job-manager-filter-widget ===
)
wp-job-manager-filter-widget/wpjm-filter-widget.php 85% from 13 tests
The main PHP file in "WP Job Manager Filter Widget" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-job-manager-filter-widget.php" instead of "wpjm-filter-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 plugin240 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 42 | 63 | 199 |
PO File | 1 | 14 | 15 | 41 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 6.80 |
▷ 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 | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 22.99KB | 8.85KB | ▼ 61.49% |