Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▼0.90MB] [CPU: ▼32.24ms] Passed 4 tests
A check of server-side resources used by Sirvo Job Search
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 42.00 ▼4.32 |
Dashboard /wp-admin | 3.04 ▼0.26 | 27.24 ▼27.48 |
Posts /wp-admin/edit.php | 3.04 ▼0.32 | 28.76 ▼24.78 |
Add New Post /wp-admin/post-new.php | 3.04 ▼2.85 | 28.05 ▼69.47 |
Media Library /wp-admin/upload.php | 3.04 ▼0.19 | 28.12 ▼7.23 |
Sirvo Settings /wp-admin/options-general.php?page=wp-sirvo-settings | 3.04 | 27.21 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sirvo Job Search
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲32 | 14.24 ▼0.38 | 2.05 ▲0.08 | 45.89 ▼1.67 |
Dashboard /wp-admin | 2,196 ▲26 | 5.53 ▼0.10 | 85.30 ▼22.89 | 38.98 ▼3.13 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.98 ▲0.02 | 39.36 ▲0.96 | 35.71 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.20 ▲0.08 | 682.15 ▼0.41 | 55.75 ▼7.92 |
Media Library /wp-admin/upload.php | 1,404 ▲10 | 4.17 ▼0.01 | 98.63 ▼0.88 | 40.15 ▼5.35 |
Sirvo Settings /wp-admin/options-general.php?page=wp-sirvo-settings | 926 | 1.68 | 22.36 | 46.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wp-sirvo/includes/sirvo-settings.php+66
Undefined index: affiliate_id
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-sirvo-settings
- > Notice in wp-content/plugins/wp-sirvo/includes/sirvo-settings.php+157
Undefined index: affiliate_id
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp-sirvo-settings
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WP_Sirvo_Settings::show_login_message() should not be called statically
- > GET request to /wp-admin/options-general.php?page=wp-sirvo-settings
- > Notice in wp-content/plugins/wp-sirvo/includes/sirvo-settings.php+250
Undefined index: careers_page_locations
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 9× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-sirvo/includes/sirvo-settings.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-sirvo/views/input-textarea-field.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-sirvo/resources/style.php:4
- > PHP Fatal error
Uncaught Error: Class 'WP_Sirvo_Settings' not found in wp-content/plugins/wp-sirvo/resources/search_app.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-sirvo/wp-sirvo.php:41
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-sirvo/views/select-field.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wp-sirvo/views/settings-section-description.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-sirvo/views/business-checkbox-field.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wp-sirvo/views/input-field.php:1
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add an image for screenshot #1 (Job Board.)
- Plugin Name: Please specify the plugin name on the first line (
=== wp-sirvo ===
)
wp-sirvo/wp-sirvo.php Passed 13 tests
"Sirvo Job Search" version 1.2.18's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
68 characters long description:
Display your Sirvo job posts directly on your website careers pages.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin6,830 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 88 | 26 | 6,263 |
PHP | 13 | 257 | 97 | 503 |
JavaScript | 1 | 23 | 1 | 64 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 37 | |
▷ Static methods | 36 | 97.30% |
▷ Public methods | 34 | 91.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 8.11% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 6 | 100.00% |
▷ Public constants | 6 | 100.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
4 compressed PNG files occupy 0.01MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/img/checkbox_icons.png | 0.43KB | 0.47KB | 0.00% |
resources/img/search_icon.png | 0.32KB | 0.58KB | 0.00% |
resources/img/delete_icon.png | 0.20KB | 0.29KB | 0.00% |
resources/img/instant_search_logo@2x.png | 7.63KB | 5.29KB | ▼ 30.65% |