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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲1.74ms] Passed 4 tests
This is a short check of server-side resources used by SenseiOS Careers
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.65 ▼0.17 |
Dashboard /wp-admin | 3.35 ▲0.04 | 51.81 ▲1.55 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 58.20 ▲2.49 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 111.86 ▲15.65 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.16 ▲3.09 |
All Careers /wp-admin/edit.php?post_type=career | 3.33 | 43.09 |
Locations /wp-admin/edit-tags.php?taxonomy=sensei_locations&post_type=career | 3.27 | 37.29 |
Add New Career /wp-admin/post-new.php?post_type=career | 3.37 | 51.85 |
Import Careers /wp-admin/tools.php?page=sensei_import_menu | 3.21 | 38.21 |
SenseiOS Careers /wp-admin/options-general.php?page=sensei_settings_menu | 3.24 | 38.24 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=career | 3.27 | 42.86 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
category_children |
Browser metrics Passed 4 tests
SenseiOS Careers: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,871 ▲82 | 13.64 ▼1.14 | 1.97 ▲0.24 | 41.59 ▼2.60 |
Dashboard /wp-admin | 2,249 ▲46 | 5.87 ▲0.04 | 106.74 ▲2.71 | 41.00 ▼0.62 |
Posts /wp-admin/edit.php | 2,135 ▲43 | 1.99 ▼0.05 | 39.98 ▼2.87 | 36.43 ▼2.35 |
Add New Post /wp-admin/post-new.php | 1,574 ▲40 | 23.35 ▲0.07 | 615.15 ▼16.96 | 53.92 ▼0.09 |
Media Library /wp-admin/upload.php | 1,425 ▲40 | 4.21 ▼0.01 | 96.98 ▼5.77 | 45.98 ▲1.39 |
All Careers /wp-admin/edit.php?post_type=career | 1,151 | 1.95 | 33.14 | 31.51 |
Locations /wp-admin/edit-tags.php?taxonomy=sensei_locations&post_type=career | 1,274 | 2.14 | 27.11 | 29.97 |
Add New Career /wp-admin/post-new.php?post_type=career | 2,496 | 7.82 | 181.17 | 72.74 |
Import Careers /wp-admin/tools.php?page=sensei_import_menu | 852 | 2.14 | 28.64 | 30.03 |
SenseiOS Careers /wp-admin/options-general.php?page=sensei_settings_menu | 874 | 2.04 | 28.07 | 34.36 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=career | 1,489 | 2.14 | 27.03 | 38.49 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- can_compress_scripts
- category_children
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=career
- > Notice in wp-content/plugins/senseios-careers/senseios.php+214
Undefined index: JobDescriptionID
- 6 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=career
- > Notice in wp-content/plugins/senseios-careers/senseios.php+219
Trying to access array offset on value of type null
- > GET request to /wp-admin/post-new.php?post_type=career
- > Notice in wp-content/plugins/senseios-careers/senseios.php+215
Undefined index: IsHiring
- > GET request to /wp-admin/post-new.php?post_type=career
- > Notice in wp-content/plugins/senseios-careers/senseios.php+216
Undefined index: JobCity
- > GET request to /wp-admin/post-new.php?post_type=career
- > Notice in wp-content/plugins/senseios-careers/senseios.php+217
Undefined index: JobTypeName
- > GET request to /wp-admin/post-new.php?post_type=career
- > Notice in wp-content/plugins/senseios-careers/senseios.php+218
Undefined index: JobTypeCategoryName
- > GET request to /wp-admin/post-new.php?post_type=career
- > Notice in wp-content/plugins/senseios-careers/senseios.php+219
Undefined index: LocationName
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=sensei_import_menu
- > Notice in wp-content/plugins/senseios-careers/senseios-job-importer.php+285
Trying to get property 'added' of non-object
- 12 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=sensei_import_menu
- > Warning in wp-content/plugins/senseios-careers/senseios-job-importer.php+330
count(): Parameter must be an array or an object that implements Countable
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=sensei_import_menu
- > Notice in wp-content/plugins/senseios-careers/senseios-job-importer.php+294
Trying to get property 'updated' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=sensei_import_menu
- > Notice in wp-content/plugins/senseios-careers/senseios-job-importer.php+303
Trying to get property 'ignored' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=sensei_import_menu
- > Notice in wp-content/plugins/senseios-careers/senseios-job-importer.php+312
Trying to get property 'noChange' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=sensei_import_menu
- > Notice in wp-content/plugins/senseios-careers/senseios-job-importer.php+321
Trying to get property 'deleted' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=sensei_import_menu
- > Notice in wp-content/plugins/senseios-careers/senseios-job-importer.php+330
Trying to get property 'error' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/senseios-careers/senseios.php
- > /wp-content/plugins/senseios-careers/senseios-job-importer.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: sensei, careers, labs, candidate360
senseios-careers/senseios.php 92% from 13 tests
This is the main PHP file of "SenseiOS Careers" version 1.2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("senseios-careers.php" instead of "senseios.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected735 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 113 | 111 | 581 |
CSS | 2 | 15 | 0 | 95 |
JavaScript | 1 | 12 | 11 | 59 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 14.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 4.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 29.41% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 70.59% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin