Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure had errors
- > Notice in wp-includes/functions.php+650
unserialize(): Error at offset 43 of 321 bytes
Server metrics [RAM: ▲0.29MB] [CPU: ▼7.90ms] Passed 4 tests
This is a short check of server-side resources used by Recruitment Manager - Jobs Listing and Recruitment Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 45.72 ▼1.20 |
Dashboard /wp-admin | 3.64 ▲0.29 | 52.37 ▼12.31 |
Posts /wp-admin/edit.php | 3.69 ▲0.34 | 50.60 ▼0.38 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 86.77 ▼17.71 |
Media Library /wp-admin/upload.php | 3.49 ▲0.26 | 43.55 ▲9.42 |
Job Applications /wp-admin/edit.php?post_type=cwrm_applications | 3.54 | 40.23 |
Settings /wp-admin/edit.php?post_type=cwrm_jobs&page=cwrm_settings | 3.55 | 35.97 |
Job Fields /wp-admin/edit.php?post_type=cwrm_jobs&page=cwrm_job_fields | 3.54 | 31.87 |
All Jobs /wp-admin/edit.php?post_type=cwrm_jobs | 3.54 | 39.31 |
New Job /wp-admin/post-new.php?post_type=cwrm_jobs | 6.27 | 88.27 |
Server storage [IO: ▲10.21MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 391 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
cwrm_mail_new_application_user_field |
cwrm_job_opt_fields |
db_upgraded |
cwrm_mail_new_application_admin_field |
widget_recent-posts |
cwrm_job_fields |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Recruitment Manager - Jobs Listing and Recruitment Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,935 ▲189 | 13.64 ▼1.03 | 9.47 ▲7.76 | 41.51 ▼3.30 |
Dashboard /wp-admin | 2,249 ▲64 | 5.90 ▼0.01 | 100.87 ▼4.75 | 38.44 ▼8.86 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.05 ▲0.04 | 35.18 ▼1.88 | 34.47 ▼4.10 |
Add New Post /wp-admin/post-new.php | 1,552 ▲32 | 23.11 ▼0.07 | 670.54 ▼2.62 | 56.21 ▼1.94 |
Media Library /wp-admin/upload.php | 1,436 ▲54 | 4.22 ▲0.05 | 126.48 ▲26.62 | 53.49 ▲8.84 |
Job Applications /wp-admin/edit.php?post_type=cwrm_applications | 1,179 | 2.02 | 33.77 | 33.87 |
Settings /wp-admin/edit.php?post_type=cwrm_jobs&page=cwrm_settings | 928 | 1.83 | 26.29 | 40.29 |
Job Fields /wp-admin/edit.php?post_type=cwrm_jobs&page=cwrm_job_fields | 1,032 | 2.07 | 27.18 | 38.56 |
All Jobs /wp-admin/edit.php?post_type=cwrm_jobs | 1,201 | 2.13 | 33.41 | 33.52 |
New Job /wp-admin/post-new.php?post_type=cwrm_jobs | 6,230 | 19.20 | 845.51 | 33.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 10 options in the database
- widget_recent-comments
- cwrm_mail_new_application_user_field
- can_compress_scripts
- cwrm_job_opt_fields
- db_upgraded
- cwrm_mail_new_application_admin_field
- cwrm_job_fields
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/recruitment-manager/wp-recruit-manager.php
- > /wp-content/plugins/recruitment-manager/vendor/sabberworm/php-css-parser/tests/quickdump.php
- 152× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SimpleExcel\\Parser\\BaseParser' not found in wp-content/plugins/recruitment-manager/vendor/faisalman/simple-excel-php/src/SimpleExcel/Parser/JSONParser.php:13
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Renderer\\AbstractRenderer' not found in wp-content/plugins/recruitment-manager/vendor/dompdf/dompdf/src/Renderer.php:25
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Positioner\\AbstractPositioner' not found in wp-content/plugins/recruitment-manager/vendor/dompdf/dompdf/src/Positioner/ListBullet.php:19
- > PHP Fatal error
Uncaught Error: Class 'Inc\\CWRM_Base\\CWRM_BaseController' not found in wp-content/plugins/recruitment-manager/inc/CWRM_Base/CWRM_SettingsController.php:13
- > PHP Fatal error
Uncaught Error: Interface 'Sabberworm\\CSS\\Property\\AtRule' not found in wp-content/plugins/recruitment-manager/vendor/sabberworm/php-css-parser/lib/Sabberworm/CSS/Property/CSSNamespace.php:8
- > PHP Fatal error
Uncaught Error: Class 'FontLib\\BinaryStream' not found in wp-content/plugins/recruitment-manager/vendor/phenx/php-font-lib/src/FontLib/Table/DirectoryEntry.php:19
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\FrameReflower\\AbstractFrameReflower' not found in wp-content/plugins/recruitment-manager/vendor/dompdf/dompdf/src/FrameReflower/ListBullet.php:18
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Positioner\\AbstractPositioner' not found in wp-content/plugins/recruitment-manager/vendor/dompdf/dompdf/src/Positioner/TableCell.php:19
- > PHP Fatal error
Uncaught Error: Class 'SimpleExcel\\Writer\\BaseWriter' not found in wp-content/plugins/recruitment-manager/vendor/faisalman/simple-excel-php/src/SimpleExcel/Writer/XLSXWriter.php:11
- > PHP Fatal error
Uncaught Error: Class 'Dompdf\\Positioner\\AbstractPositioner' not found in wp-content/plugins/recruitment-manager/vendor/dompdf/dompdf/src/Positioner/NullPositioner.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: jobs plugin, jobs, career plugin, recruitment plugin, career...
recruitment-manager/wp-recruit-manager.php 62% from 13 tests
The primary PHP file in "Recruitment Manager - Jobs Listing and Recruitment Plugin" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.7" instead of "4.8")
- Description: Please keep the plugin description shorter than 140 characters (currently 200 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Requires PHP: The required version number did not match the one declared in readme.txt ("7.0" instead of "5.6")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("recruitment-manager.php" instead of "wp-recruit-manager.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected41,045 lines of code in 300 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 220 | 7,622 | 15,607 | 34,737 |
JavaScript | 7 | 279 | 329 | 3,732 |
Markdown | 6 | 273 | 0 | 957 |
CSS | 48 | 137 | 60 | 874 |
JSON | 8 | 0 | 0 | 439 |
XML | 5 | 3 | 2 | 182 |
YAML | 3 | 12 | 2 | 62 |
HTML | 2 | 0 | 0 | 54 |
SVG | 1 | 0 | 0 | 8 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 652)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 29.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 765.00 |
Average method complexity | 4.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 652.00 |
Code structure | ||
---|---|---|
Namespaces | 37 | |
Interfaces | 6 | |
Traits | 0 | |
Classes | 188 | |
▷ Abstract classes | 14 | 7.45% |
▷ Concrete classes | 174 | 92.55% |
▷ Final classes | 0 | 0.00% |
Methods | 1,891 | |
▷ Static methods | 104 | 5.50% |
▷ Public methods | 1,671 | 88.37% |
▷ Protected methods | 147 | 7.77% |
▷ Private methods | 73 | 3.86% |
Functions | 70 | |
▷ Named functions | 56 | 80.00% |
▷ Anonymous functions | 14 | 20.00% |
Constants | 168 | |
▷ Global constants | 8 | 4.76% |
▷ Class constants | 160 | 95.24% |
▷ Public constants | 160 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/not-found.png | 3.14KB | 2.22KB | ▼ 29.19% |
vendor/dompdf/dompdf/lib/res/broken_image.png | 0.60KB | 0.47KB | ▼ 22.33% |