Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/company-vacancies/public/class-wvcl-public.php+81
syntax error, unexpected '->' (T_OBJECT_OPERATOR)
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.57ms] Passed 4 tests
This is a short check of server-side resources used by Company vacancies
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.95 ▲0.07 |
Dashboard /wp-admin | 3.31 ▼0.04 | 53.10 ▼8.62 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.00 ▼4.88 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.14 ▼8.07 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.22 ▼0.71 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Company vacancies
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲39 | 14.37 ▼0.14 | 1.94 ▲0.29 | 44.42 ▼2.37 |
Dashboard /wp-admin | 2,198 ▲21 | 5.57 ▲0.04 | 83.21 ▼11.88 | 37.39 ▼1.28 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.95 ▼0.04 | 33.06 ▼3.19 | 36.41 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.27 ▲0.09 | 627.22 ▼44.88 | 51.95 ▼7.29 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.23 ▼0.02 | 96.45 ▼2.78 | 42.28 ▼0.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected '->' (T_OBJECT_OPERATOR) in wp-content/plugins/company-vacancies/public/class-wvcl-public.php on line 81
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: vacancy, headhunter, jobs
company-vacancies/wvcl.php 92% from 13 tests
The main file in "Company vacancies" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("company-vacancies.php" instead of "wvcl.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin892 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 321 | 693 | 822 |
CSS | 2 | 13 | 8 | 64 |
JavaScript | 2 | 4 | 54 | 6 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 5.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 2 | 3.28% |
▷ Public methods | 55 | 90.16% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 9.84% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 60.31KB | 35.19KB | ▼ 41.65% |
assets/screenshot-2.png | 60.50KB | 28.27KB | ▼ 53.28% |