Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.89MB] [CPU: ▲7.70ms] Passed 4 tests
This is a short check of server-side resources used by OTYS Plugin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.27 ▲0.81 | 44.63 ▲5.47 |
Dashboard /wp-admin | 4.22 ▲0.92 | 52.47 ▲5.50 |
Posts /wp-admin/edit.php | 4.33 ▲0.97 | 56.07 ▲11.14 |
Add New Post /wp-admin/post-new.php | 6.81 ▲0.93 | 100.11 ▲8.70 |
Media Library /wp-admin/upload.php | 4.15 ▲0.92 | 47.29 ▲13.07 |
Instructions /wp-admin/admin.php?page=otys_instructions | 4.11 | 40.28 |
Settings 1 /wp-admin/admin.php?page=otys_settings | 4.14 | 45.61 |
API Logs /wp-admin/admin.php?page=otys_logs | 4.15 | 42.89 |
Cache /wp-admin/admin.php?page=otys_cache | 4.17 | 48.12 |
Server storage [IO: ▲6.66MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 498 new files
Database: 1 new table, 16 new options
New tables |
---|
wp_otys_log |
New WordPress options |
---|
theysaidso_admin_options |
otys_option_created_standard_documents |
can_compress_scripts |
otys_option_website |
widget_recent-comments |
otys_option_is_production_website |
otys_option_vacancies_per_page |
widget_recent-posts |
widget_theysaidso_widget |
otys_option_vacancies_options_sorting |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for OTYS Plugin
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲150 | 14.62 ▲0.05 | 1.76 ▲0.01 | 37.92 ▼6.42 |
Dashboard /wp-admin | 2,271 ▲90 | 6.37 ▲0.78 | 96.84 ▼5.52 | 61.74 ▲18.28 |
Posts /wp-admin/edit.php | 2,332 ▲232 | 3.26 ▲1.32 | 53.71 ▲11.40 | 51.09 ▲13.03 |
Add New Post /wp-admin/post-new.php | 1,581 ▲42 | 23.16 ▼0.05 | 755.82 ▲104.13 | 36.60 ▼21.74 |
Media Library /wp-admin/upload.php | 1,623 ▲226 | 5.19 ▲1.00 | 109.86 ▲11.25 | 88.91 ▲46.92 |
Instructions /wp-admin/admin.php?page=otys_instructions | 1,672 | 13.61 | 184.92 | 59.90 |
Settings 1 /wp-admin/admin.php?page=otys_settings | 1,332 | 5.14 | 71.06 | 79.78 |
API Logs /wp-admin/admin.php?page=otys_logs | 1,057 | 3.02 | 39.99 | 54.27 |
Cache /wp-admin/admin.php?page=otys_cache | 1,096 | 3.07 | 38.68 | 30.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- otys_plugin_version
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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 fix the following
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/otys-jobs-apply/app/views/vacancies/google-for-jobs.php
- > /wp-content/plugins/otys-jobs-apply/otys-jobs-apply.php
- > /wp-content/plugins/otys-jobs-apply/app/views/admin/admin-instructions/admin-instructions.php
- > /wp-content/plugins/otys-jobs-apply/index.php
- > /wp-content/plugins/otys-jobs-apply/app/views/admin/errors/error-default.php
- > /wp-content/plugins/otys-jobs-apply/app/views/vacancies/vacancies-selected-filtes.php
- 109× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Otys\\OtysPlugin\\Models\\BaseModel' not found in wp-content/plugins/otys-jobs-apply/app/Models/Pagination.php:5
- > PHP Fatal error
Uncaught Error: Class 'Otys\\OtysPlugin\\Models\\BaseModel' not found in wp-content/plugins/otys-jobs-apply/app/Models/MailModel.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function is_wp_error() in wp-content/plugins/otys-jobs-apply/app/views/admin/errors/error-load-template.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/otys-jobs-apply/app/views/admin/admin-routes-settings/admin-routes-input.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/otys-jobs-apply/app/views/vacancies/apply/vacancies-confirm-email.php:12
- > PHP Fatal error
Uncaught Error: Class 'Otys\\OtysPlugin\\Includes\\Core\\Base' not found in wp-content/plugins/otys-jobs-apply/app/Includes/Core/Data.php:5
- > PHP Fatal error
Uncaught Error: Class 'Otys\\OtysPlugin\\Controllers\\Shortcodes\\ShortcodeBaseController' not found in wp-content/plugins/otys-jobs-apply/app/Controllers/Shortcodes/VacanciesShortlistController.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/otys-jobs-apply/app/views/vacancies/preview-mode.php:18
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/otys-jobs-apply/app/views/include-parts/rest-forms/field-multifile.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'Otys\\OtysPlugin\\Controllers\\Shortcodes\\ShortcodeBaseController' not found in wp-content/plugins/otys-jobs-apply/app/Controllers/Shortcodes/VacanciesGeoSearchController.php:16
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- License uri: Please fix this invalid url: "[http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)"
otys-jobs-apply/otys-jobs-apply.php 92% from 13 tests
"OTYS Plugin" version 2.0.22's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.1" instead of "6.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected72,168 lines of code in 430 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 179 | 8,579 | 2,095 | 46,319 |
PHP | 125 | 2,412 | 3,936 | 11,099 |
PO File | 5 | 1,603 | 2,567 | 4,127 |
JSON | 11 | 0 | 0 | 3,952 |
TypeScript | 52 | 668 | 4,037 | 2,646 |
Sass | 20 | 129 | 1 | 1,803 |
CSS | 21 | 3 | 63 | 629 |
Markdown | 4 | 317 | 0 | 628 |
LESS | 7 | 14 | 36 | 415 |
JSX | 2 | 37 | 13 | 298 |
Svelte | 2 | 32 | 0 | 240 |
SVG | 2 | 0 | 0 | 12 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 19.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 3.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 70 | |
▷ Abstract classes | 7 | 10.00% |
▷ Concrete classes | 63 | 90.00% |
▷ Final classes | 14 | 22.22% |
Methods | 398 | |
▷ Static methods | 256 | 64.32% |
▷ Public methods | 387 | 97.24% |
▷ Protected methods | 1 | 0.25% |
▷ Private methods | 10 | 2.51% |
Functions | 81 | |
▷ Named functions | 1 | 1.23% |
▷ Anonymous functions | 80 | 98.77% |
Constants | 17 | |
▷ Global constants | 14 | 82.35% |
▷ Class constants | 3 | 17.65% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/vacancies/vacancy-detail-banner-ratio.png | 0.09KB | 0.09KB | 0.00% |