Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.)
Server metrics [RAM: ▲0.13MB] [CPU: ▼5.51ms] Passed 4 tests
Analyzing server-side resources used by Tamago-DB Job board
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 43.23 ▲3.79 |
Dashboard /wp-admin | 3.47 ▲0.12 | 51.71 ▼7.01 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 52.02 ▼0.30 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 82.05 ▼14.61 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 35.65 ▼0.10 |
TDB Job board /wp-admin/admin.php?page=jobsearch | 5.76 | 111.00 |
Apply history /wp-admin/admin.php?page=jobsearchsubmenu | 3.40 | 37.54 |
Server storage [IO: ▲3.89MB] [DB: ▲0.03MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 491 new files
Database: 20 new tables, 7 new options
New tables |
---|
wp_js_api |
wp_js_company |
wp_js_experiment |
wp_js_skill |
wp_js_migration |
wp_js_applyDetail |
wp_js_langUsed |
wp_js_lastUpdt |
wp_js_visa |
wp_js_apply |
... |
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_tdb_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tamago-DB Job board
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲169 | 13.50 ▼0.79 | 10.40 ▲8.87 | 45.25 ▲1.00 |
Dashboard /wp-admin | 2,218 ▲38 | 5.60 ▲0.03 | 86.02 ▲1.11 | 38.51 ▼5.89 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.05 ▲0.03 | 35.71 ▼2.53 | 33.63 ▼2.33 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 23.04 ▼0.26 | 659.70 ▼15.11 | 58.04 ▼5.57 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.22 ▲0.04 | 93.96 ▼9.63 | 42.67 ▼4.07 |
TDB Job board /wp-admin/admin.php?page=jobsearch | 4,589 | 5.91 | 113.23 | 29.34 |
Apply history /wp-admin/admin.php?page=jobsearchsubmenu | 815 | 2.22 | 24.39 | 23.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'tdb_jb_on_uninstall' not found or invalid function name
- Zombie tables detected upon uninstall: 20 tables
- wp_js_param
- wp_js_api
- wp_js_langUsed
- wp_js_category
- wp_js_experiment
- wp_js_applyDetail
- wp_js_visa
- wp_js_migration
- wp_js_version
- wp_js_education
- ...
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_tdb_widget
- widget_theysaidso_widget
- widget_recent-posts
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
- 92× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Smarty_Internal_Method_RegisterFilter' not found in wp-content/plugins/jobsearch/helper/smarty/libs/sysplugins/smarty_internal_method_unregisterfilter.php:12
- > PHP Fatal error
Uncaught Error: Class 'Smarty_Internal_CompileBase' not found in wp-content/plugins/jobsearch/helper/smarty/libs/sysplugins/smarty_internal_compile_while.php:17
- > PHP Fatal error
Uncaught Error: Class 'Smarty_CacheResource' not found in wp-content/plugins/jobsearch/helper/smarty/libs/sysplugins/smarty_internal_cacheresource_file.php:18
- > PHP Fatal error
Uncaught Error: Class 'Smarty_Internal_Data' not found in wp-content/plugins/jobsearch/helper/smarty/libs/sysplugins/smarty_internal_templatebase.php:49
- > PHP Fatal error
Uncaught Error: Class 'Smarty_Internal_CompileBase' not found in wp-content/plugins/jobsearch/helper/smarty/libs/sysplugins/smarty_internal_compile_private_print_expression.php:17
- > PHP Fatal error
Uncaught Error: Class 'Smarty_Internal_Method_CompileAllTemplates' not found in wp-content/plugins/jobsearch/helper/smarty/libs/sysplugins/smarty_internal_method_compileallconfig.php:12
- > PHP Fatal error
Uncaught Error: Class 'Smarty_Resource' not found in wp-content/plugins/jobsearch/helper/smarty/libs/sysplugins/smarty_internal_resource_string.php:19
- > PHP Fatal error
Uncaught Error: Class 'Smarty_Resource' not found in wp-content/plugins/jobsearch/helper/smarty/libs/sysplugins/smarty_internal_resource_file.php:18
- > PHP Fatal error
Uncaught Error: Class 'Smarty_Resource_Custom' not found in wp-content/plugins/jobsearch/helper/smarty/demo/plugins/resource.mysqls.php:24
- > PHP Fatal error
Uncaught Error: Class 'Smarty_Resource' not found in wp-content/plugins/jobsearch/helper/smarty/libs/sysplugins/smarty_internal_resource_registered.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: recruit, job, job-search, recruiting, tamago...
jobsearch/jobsearch.php Passed 13 tests
The main file in "Tamago-DB Job board" v. 2.2.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
47 characters long description:
Job board integrated with the ATS/CRM Tamago-DB
Code Analysis 97% from 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 detected73,085 lines of code in 417 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 242 | 3,043 | 12,771 | 33,366 |
JSON | 126 | 0 | 0 | 29,252 |
CSS | 10 | 300 | 125 | 3,154 |
Smarty | 30 | 214 | 19 | 2,508 |
PO File | 3 | 981 | 1,097 | 2,438 |
JavaScript | 3 | 453 | 226 | 2,315 |
Markdown | 2 | 24 | 0 | 51 |
INI | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
It is recommended to fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 122)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 22.53 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 394.00 |
Average method complexity | 4.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 122.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 202 | |
▷ Abstract classes | 13 | 6.44% |
▷ Concrete classes | 189 | 93.56% |
▷ Final classes | 0 | 0.00% |
Methods | 1,232 | |
▷ Static methods | 30 | 2.44% |
▷ Public methods | 1,114 | 90.42% |
▷ Protected methods | 49 | 3.98% |
▷ Private methods | 69 | 5.60% |
Functions | 74 | |
▷ Named functions | 72 | 97.30% |
▷ Anonymous functions | 2 | 2.70% |
Constants | 549 | |
▷ Global constants | 396 | 72.13% |
▷ Class constants | 153 | 27.87% |
▷ Public constants | 153 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.32MB with 0.17MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 42.03KB | 16.39KB | ▼ 61.01% |
assets/screenshot-3.png | 127.67KB | 44.21KB | ▼ 65.37% |
assets/screenshot-2.png | 148.02KB | 45.19KB | ▼ 69.47% |
assets/icon-128x128.png | 5.52KB | 4.55KB | ▼ 17.62% |