Benchmarks
Plugin footprint 47% 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: ▲5.47MB] [CPU: ▲32.14ms] 75% from 4 tests
A check of server-side resources used by WordPress Job Board and Recruitment Plugin - JobWP
The following require your attention
- Extra RAM: The extra memory usage must be under 5MB (currently 5.47MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.25 ▲5.78 | 74.36 ▲32.30 |
Dashboard /wp-admin | 9.27 ▲5.96 | 83.36 ▲33.13 |
Posts /wp-admin/edit.php | 9.27 ▲5.91 | 92.82 ▲42.24 |
Add New Post /wp-admin/post-new.php | 10.13 ▲4.24 | 115.09 ▲22.42 |
Media Library /wp-admin/upload.php | 9.27 ▲6.03 | 77.75 ▲40.72 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 9.27 | 66.12 |
Server storage [IO: ▲4.45MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 256 new files
Database: 1 new table, 15 new options
New tables |
---|
wp_jobwp_applied |
New WordPress options |
---|
default_term_jobs_nature |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
fs_active_plugins |
jobs_category_children |
default_term_jobs_category |
jobs_level_children |
default_term_jobs_level |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
Checking browser requirements for WordPress Job Board and Recruitment Plugin - JobWP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,973 ▲212 | 13.70 ▼0.65 | 10.45 ▲8.68 | 31.53 ▼15.67 |
Dashboard /wp-admin | 2,258 ▲84 | 5.80 ▲0.24 | 87.89 ▼0.54 | 41.75 ▼1.28 |
Posts /wp-admin/edit.php | 2,172 ▲72 | 2.32 ▲0.35 | 42.47 ▲2.46 | 38.29 ▼0.83 |
Add New Post /wp-admin/post-new.php | 1,571 ▲45 | 23.17 ▲0.09 | 618.34 ▼42.51 | 33.85 ▼14.23 |
Media Library /wp-admin/upload.php | 1,463 ▲60 | 4.51 ▲0.31 | 100.36 ▼15.10 | 44.71 ▼1.69 |
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius | 1,126 | 2.10 | 30.84 | 28.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% 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
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/jobwp/freemius/includes/class-freemius.php+8515
Undefined property: stdClass::$plugins
- Zombie tables detected upon uninstall: 1 table
- wp_jobwp_applied
- Zombie WordPress options were found after uninstall: 15 options
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- jobs_nature_children
- fs_active_plugins
- jobs_category_children
- widget_recent-comments
- fs_accounts
- default_term_jobs_level
- ...
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)
Even though no errors were found, 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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/jobwp/front/view/single.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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
5 plugin tags: career, job listing, job board, job manager, jobs
jobwp/jobwp.php Passed 13 tests
The entry point to "WordPress Job Board and Recruitment Plugin - JobWP" version 2.3 is a PHP file that has certain tags in its header comment area
85 characters long description:
Display job listings in a career page and allow users to apply directly to your site.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected39,999 lines of code in 185 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 158 | 8,362 | 17,394 | 37,207 |
CSS | 18 | 500 | 44 | 2,198 |
JavaScript | 6 | 60 | 66 | 301 |
PO File | 1 | 122 | 138 | 264 |
XML | 1 | 3 | 0 | 16 |
SVG | 1 | 1 | 0 | 13 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,088)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 73.87 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,088.00 |
Average method complexity | 4.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 10 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,331 | |
▷ Static methods | 198 | 14.88% |
▷ Public methods | 918 | 68.97% |
▷ Protected methods | 36 | 2.70% |
▷ Private methods | 377 | 28.32% |
Functions | 104 | |
▷ Named functions | 104 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 152 | |
▷ Global constants | 105 | 69.08% |
▷ Class constants | 47 | 30.92% |
▷ Public constants | 47 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |