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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼2.79ms] Passed 4 tests
This is a short check of server-side resources used by Regions for WP Job Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 42.22 ▲4.60 |
Dashboard /wp-admin | 3.45 ▲0.15 | 44.23 ▼4.67 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 43.74 ▲0.60 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 81.35 ▼11.06 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.26 ▲3.96 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Regions for WP Job Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.30 | 1.73 ▲0.14 | 40.04 ▲2.18 |
Dashboard /wp-admin | 2,203 ▲11 | 5.86 ▲0.80 | 96.98 ▼12.67 | 39.58 ▼0.39 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.01 | 36.62 ▼0.89 | 31.12 ▼2.21 |
Add New Post /wp-admin/post-new.php | 1,520 ▲6 | 23.31 ▲5.79 | 670.27 ▼14.30 | 53.08 ▼2.52 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.21 ▼0.06 | 109.22 ▲9.62 | 46.46 ▲3.05 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Astoundify_Job_Manager_Regions' not found in wp-content/plugins/wp-job-manager-locations/includes/class-template.php:3
- > PHP Fatal error
Uncaught Error: Class 'Astoundify_Job_Manager_Regions' not found in wp-content/plugins/wp-job-manager-locations/includes/class-taxonomy.php:3
- > PHP Fatal error
Uncaught Error: Class 'Jobify_Widget' not found in wp-content/plugins/wp-job-manager-locations/includes/widgets/class-widget-region-list.php:6
- > 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 Passed 29 tests
readme.txt Passed 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
3 plugin tags: job listing, job region, job
wp-job-manager-locations/wp-job-manager-locations.php Passed 13 tests
The main PHP file in "Regions for WP Job Manager" ver. 1.18.3 adds more information about the plugin and also serves as the entry point for this plugin
87 characters long description:
Create predefined regions/locations that job submissions can associate themselves with.
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
Everything looks great! No dangerous files found in this plugin897 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 171 | 131 | 588 |
JavaScript | 2 | 41 | 2 | 162 |
PO File | 3 | 53 | 63 | 147 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 15.40 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 35 | 97.22% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.78% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin