Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼4.05ms] Passed 4 tests
A check of server-side resources used by WpGenius Job Listing
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 36.26 ▼3.03 |
Dashboard /wp-admin | 3.45 ▲0.14 | 46.56 ▼5.40 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 45.26 ▼3.23 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.23 | 92.02 ▲4.32 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 32.98 ▼4.55 |
Applications /wp-admin/edit.php?post_type=job_application | 3.42 | 36.59 |
Settings /wp-admin/edit.php?post_type=job_listing&page=wpgenious-job-listing | 3.39 | 30.02 |
Job Listing /wp-admin/edit.php?post_type=job_listing | 3.42 | 29.90 |
New Job /wp-admin/post-new.php?post_type=job_listing | 6.10 | 78.30 |
Server storage [IO: ▲1.65MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 72 new files
Database: no new tables, 11 new options
New WordPress options |
---|
can_compress_scripts |
wpgenious_job_listing_register_default_settings |
widget_recent-comments |
widget_wp-genius-similar-jobs |
widget_recent-posts |
widget_theysaidso_widget |
wpgenious-job-listing |
db_upgraded |
widget_wp-genius-latest-jobs |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WpGenius Job Listing
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲120 | 13.83 ▼0.39 | 9.32 ▲7.39 | 42.71 ▼1.86 |
Dashboard /wp-admin | 2,218 ▲38 | 5.68 ▲0.06 | 86.15 ▼15.07 | 36.07 ▼9.84 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.33 ▲0.33 | 45.24 ▲8.14 | 37.84 ▲1.28 |
Add New Post /wp-admin/post-new.php | 1,562 ▲31 | 22.86 ▼0.18 | 649.11 ▲15.34 | 35.87 ▼20.23 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.26 ▲0.03 | 97.70 ▼6.50 | 42.13 ▼2.35 |
Contact Us /wp-admin/edit.php?post_type=job_listing&page=# | 28 | 0.42 | 0.07 | 5.22 |
Applications /wp-admin/edit.php?post_type=job_application | 1,169 | 2.26 | 42.75 | 29.79 |
Settings /wp-admin/edit.php?post_type=job_listing&page=wpgenious-job-listing | 1,009 | 1.89 | 25.51 | 30.84 |
Job Listing /wp-admin/edit.php?post_type=job_listing | 1,178 | 2.18 | 30.85 | 27.26 |
New Job /wp-admin/post-new.php?post_type=job_listing | 6,342 | 21.79 | 917.20 | 38.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 11 options in the database
- widget_recent-comments
- db_upgraded
- wpgenious_job_listing_register_default_settings
- widget_recent-posts
- wpgenious-job-listing
- theysaidso_admin_options
- widget_wp-genius-similar-jobs
- widget_wp-genius-latest-jobs
- can_compress_scripts
- wpgenious-job-listing_flush_rewrite_rules
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 19× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
require_once(WPGENIOUS_JOB_LISTING_INC_DIRclass-wpgenious-widgets.php): failed to open stream: No such file or directory in wp-content/plugins/wpgenious-job-listing/src/includes/widgets/wpgenious-similar-jobs.php on line 3
- > PHP Warning
require_once(WPGENIOUS_JOB_LISTING_PUBLIC_DIRclass/class-wpgenious-job-listing-notification.php): failed to open stream: No such file or directory in wp-content/plugins/wpgenious-job-listing/src/public/class/class-wpgenious-job-listing-application.php on line 18
- > PHP Fatal error
require_once(): Failed opening required 'WPGENIOUS_JOB_LISTING_INC_DIRclass-wpgenious-widgets.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpgenious-job-listing/src/includes/class-wpgenious-job-listing.php on line 31
- > PHP Fatal error
require_once(): Failed opening required 'WPGENIOUS_JOB_LISTING_PUBLIC_DIRclass/class-wpgenious-job-listing-notification.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpgenious-job-listing/src/public/class/class-wpgenious-job-listing-application.php on line 18
- > PHP Warning
Use of undefined constant WPGENIOUS_JOB_LISTING_INC_DIR - assumed 'WPGENIOUS_JOB_LISTING_INC_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpgenious-job-listing/src/includes/widgets/wpgenious-similar-jobs.php on line 3
- > PHP Warning
Use of undefined constant WPGENIOUS_JOB_LISTING_INC_DIR - assumed 'WPGENIOUS_JOB_LISTING_INC_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpgenious-job-listing/src/includes/class-wpgenious-job-listing.php on line 31
- > PHP Warning
Use of undefined constant WPGENIOUS_JOB_LISTING_INC_DIR - assumed 'WPGENIOUS_JOB_LISTING_INC_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpgenious-job-listing/src/includes/class-wpgenious-job-listing-activator.php on line 24
- > PHP Warning
Use of undefined constant WPGENIOUS_JOB_LISTING_INC_DIR - assumed 'WPGENIOUS_JOB_LISTING_INC_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpgenious-job-listing/src/includes/widgets/wpgenious-latest-jobs.php on line 3
- > PHP Fatal error
require_once(): Failed opening required 'WPGENIOUS_JOB_LISTING_INC_DIRclass-wpgenious-job-listing-tools.php' (include_path='.:/usr/share/php') in wp-content/plugins/wpgenious-job-listing/src/includes/class-wpgenious-job-listing-activator.php on line 24
- > PHP Warning
Use of undefined constant WPGENIOUS_JOB_LISTING_PUBLIC_DIR - assumed 'WPGENIOUS_JOB_LISTING_PUBLIC_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpgenious-job-listing/src/public/class/class-wpgenious-job-listing-application.php on line 18
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/edit.php?post_type=job_listing&page=#
- > Network (severe)
wp-admin/edit.php?post_type=job_listing&page=# - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% 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
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in wpgenious-job-listing/assets to your readme.txt
wpgenious-job-listing/wpgenious-job-listing.php Passed 13 tests
"WpGenius Job Listing" version 1.0.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
139 characters long description:
Wpgenious job listing it’s a simple and powerful wordpress plugin useful for adding job listing functionality to your job career website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin8,988 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 576 | 1,145 | 3,468 |
CSS | 4 | 122 | 4 | 2,970 |
JSON | 2 | 0 | 0 | 838 |
PO File | 2 | 369 | 453 | 792 |
SVG | 1 | 0 | 0 | 686 |
JavaScript | 3 | 40 | 28 | 234 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 17.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 17 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 17 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 124 | |
▷ Static methods | 30 | 24.19% |
▷ Public methods | 108 | 87.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 12.90% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
Constants | 8 | |
▷ Global constants | 7 | 87.50% |
▷ Class constants | 1 | 12.50% |
▷ Public constants | 1 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/logo.png | 5.10KB | 1.30KB | ▼ 74.58% |