Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▲8.15ms] Passed 4 tests
A check of server-side resources used by JobPass
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 43.92 ▲4.29 |
Dashboard /wp-admin | 3.44 ▲0.13 | 53.53 ▲9.89 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 58.88 ▲14.08 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 91.79 ▲7.39 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 41.53 ▲11.02 |
Entités /wp-admin/edit-tags.php?taxonomy=entity&post_type=joboffers | 3.17 | 29.61 |
Ajouter une offre d'emploi /wp-admin/post-new.php?post_type=joboffers | 6.08 | 88.64 |
Jobpass /wp-admin/admin.php?page=jobpass | 3.33 | 40.88 |
Toutes les offres d'emploi /wp-admin/edit.php?post_type=joboffers | 3.38 | 41.47 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
JobPass: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲114 | 13.88 ▼0.50 | 2.97 ▲1.36 | 42.58 ▲2.16 |
Dashboard /wp-admin | 2,251 ▲63 | 5.07 ▲0.20 | 114.23 ▲4.93 | 79.51 ▲37.91 |
Posts /wp-admin/edit.php | 2,151 ▲62 | 2.32 ▲0.29 | 38.29 ▲3.09 | 36.53 ▲1.51 |
Add New Post /wp-admin/post-new.php | 1,561 ▲28 | 17.61 ▼5.48 | 727.37 ▲135.56 | 34.40 ▼18.43 |
Media Library /wp-admin/upload.php | 1,439 ▲51 | 4.53 ▲0.32 | 101.85 ▼0.66 | 71.78 ▲27.82 |
Entités /wp-admin/edit-tags.php?taxonomy=entity&post_type=joboffers | 28 | 0.44 | 0.07 | 3.81 |
Ajouter une offre d'emploi /wp-admin/post-new.php?post_type=joboffers | 1,654 | 16.81 | 897.41 | 32.59 |
Jobpass /wp-admin/admin.php?page=jobpass | 1,606 | 4.53 | 175.54 | 47.77 |
Toutes les offres d'emploi /wp-admin/edit.php?post_type=joboffers | 1,109 | 2.47 | 35.58 | 28.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 25% 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)
Good news, no errors were detected
SRP 0% 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 items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/jobpass/inc/admin.php
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/jobpass/public/single-jobpass-offer.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/jobpass/inc/metajoboffers-fields.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/jobpass/public/archives-joboffers.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/jobpass/inc/job_infos_form.php:18
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/edit-tags.php?taxonomy=entity&post_type=joboffers
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=entity&post_type=joboffers - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: job manager, jobs, career, hr, job offers...
jobpass/jobpass.php 92% from 13 tests
This is the main PHP file of "JobPass" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 287 characters long)
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
Good job! No executable or dangerous file extensions detected1,902 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 84 | 44 | 866 |
CSS | 2 | 48 | 1 | 619 |
JavaScript | 2 | 1 | 11 | 322 |
SVG | 3 | 0 | 1 | 93 |
Markdown | 1 | 1 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected