Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/stormtribe-job-seeker/stdev-job-seeker.php+275
Function create_function() is deprecated
Server metrics [RAM: ▼1.76MB] [CPU: ▼190.79ms] Passed 4 tests
Server-side resources used by Stormtribe Job Seeker
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.87 ▼0.96 | 5.58 ▼27.99 |
Dashboard /wp-admin | 1.89 ▼1.17 | 6.01 ▼38.61 |
Posts /wp-admin/edit.php | 1.89 ▼1.22 | 5.46 ▼39.61 |
Add New Post /wp-admin/post-new.php | 1.89 ▼3.54 | 6.08 ▼656.96 |
Media Library /wp-admin/upload.php | 1.89 ▼1.11 | 5.83 ▼25.82 |
Settings /wp-admin/admin.php?page=stdev_job_seeker_menu_settings | 1.89 | 5.16 |
Add new job /wp-admin/post-new.php?post_type=jobs | 1.89 | 5.68 |
All jobs /wp-admin/edit.php?post_type=jobs | 1.89 | 5.70 |
Areas /wp-admin/edit-tags.php?taxonomy=area&post_type=jobs | 1.89 | 4.96 |
Careers /wp-admin/edit-tags.php?taxonomy=career&post_type=jobs | 1.89 | 4.95 |
Information /wp-admin/admin.php?page=stdev_job_seeker_menu_main | 1.89 | 5.07 |
Server storage [IO: ▲0.10MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 2 new options
New WordPress options |
---|
widget_sjs_scroller_widget |
stdev_job_seeker_blog_settings |
Browser metrics Passed 4 tests
A check of browser resources used by Stormtribe Job Seeker
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,790 ▲194 | 15.89 ▼0.12 | 9.93 ▲1.21 | 46.90 ▼2.83 |
Dashboard /wp-admin | 3,043 ▲109 | 5.92 ▼0.05 | 142.99 ▼7.22 | 123.53 ▲13.92 |
Posts /wp-admin/edit.php | 2,820 ▲81 | 2.59 ▼0.12 | 65.84 ▼0.92 | 86.80 ▼8.47 |
Add New Post /wp-admin/post-new.php | 1,668 ▲87 | 21.37 ▲1.23 | 304.07 ▼89.79 | 106.65 ▼2.51 |
Media Library /wp-admin/upload.php | 1,831 ▲21 | 5.00 ▼0.06 | 138.94 ▼16.70 | 136.75 ▲22.30 |
Settings /wp-admin/admin.php?page=stdev_job_seeker_menu_settings | 1,256 | 2.12 | 56.83 | 76.31 |
Add new job /wp-admin/post-new.php?post_type=jobs | 3,576 | 9.17 | 228.23 | 165.22 |
All jobs /wp-admin/edit.php?post_type=jobs | 1,551 | 2.64 | 63.80 | 69.40 |
Areas /wp-admin/edit-tags.php?taxonomy=area&post_type=jobs | 1,819 | 2.42 | 61.55 | 79.73 |
Careers /wp-admin/edit-tags.php?taxonomy=career&post_type=jobs | 1,819 | 2.41 | 62.91 | 76.87 |
Information /wp-admin/admin.php?page=stdev_job_seeker_menu_main | 1,300 | 2.06 | 55.65 | 69.52 |
Uninstaller [IO: ▲0.02MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/stormtribe-job-seeker/stdev-job-seeker.php+275
Function create_function() is deprecated
- Zombie WordPress options were found after uninstall: 1 option
- widget_sjs_scroller_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=stdev_job_seeker_menu_main
- > Deprecated in wp-content/plugins/stormtribe-job-seeker/stdev-job-seeker.php+275
Function create_function() is deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=stdev_job_seeker_menu_settings
- > Warning in wp-content/plugins/stormtribe-job-seeker/admin/admin.php+517
count(): Parameter must be an array or an object that implements Countable
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/stormtribe-job-seeker/my_job_seeker.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/stormtribe-job-seeker/stdev-job-seeker.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_url() in wp-content/plugins/stormtribe-job-seeker/admin/readme.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/stormtribe-job-seeker/admin/admin.php:3
- > 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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
stormtribe-job-seeker/stdev-job-seeker.php 92% from 13 tests
The main PHP file in "Stormtribe Job Seeker" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("stormtribe-job-seeker.php" instead of "stdev-job-seeker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin1,582 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 163 | 115 | 1,293 |
PO File | 1 | 253 | 446 | 264 |
CSS | 1 | 6 | 1 | 25 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 4.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 8 | 32.00% |
▷ Public methods | 16 | 64.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 36.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin_menu_icon.png | 0.59KB | 0.60KB | 0.00% |
assets/stma_logo.png | 12.38KB | 5.94KB | ▼ 52.06% |