Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.57ms] Passed 4 tests
A check of server-side resources used by Job Manager by JobScore
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.50 ▼12.05 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.30 ▲1.37 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.53 ▲3.87 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.29 ▼6.16 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.81 ▲2.56 |
JobScore Manager /wp-admin/options-general.php?page=wpjs-config | 3.37 | 41.55 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Job Manager by JobScore: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.28 ▼1.09 | 1.72 ▼0.07 | 43.61 ▲0.05 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼1.04 | 106.69 ▼2.63 | 38.42 ▼4.63 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▲0.01 | 35.99 ▼2.47 | 34.26 ▼2.72 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 23.10 ▼0.12 | 669.86 ▲1.14 | 55.58 ▲3.41 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.19 ▼0.04 | 98.70 ▼11.97 | 44.13 ▼0.05 |
JobScore Manager /wp-admin/options-general.php?page=wpjs-config | 2,319 | 2.14 | 40.47 | 29.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/job-manager-by-jobscore/views/widget-src.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-manager-by-jobscore/admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/job-manager-by-jobscore/wp-jobscore.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/job-manager-by-jobscore/views/config.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% 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 to be fixed:
- Tags: You are using too many tags: 13 tag instead of maximum 10
job-manager-by-jobscore/wp-jobscore.php 85% from 13 tests
The entry point to "Job Manager by JobScore" version 2.2 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 143 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("job-manager-by-jobscore.php" instead of "wp-jobscore.php")
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
There were no executable files found in this plugin1,218 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 100 | 9 | 569 |
JavaScript | 3 | 100 | 57 | 514 |
CSS | 1 | 19 | 1 | 135 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 1.20 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 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 | 5 | |
▷ Global constants | 5 | 100.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/apple-touch-icon.png | 5.40KB | 2.82KB | ▼ 47.67% |